public enum OriginalSourceType extends java.lang.Enum<OriginalSourceType> implements IEnumTerm<OriginalSourceType>, java.io.Serializable
original source
.Enum Constant and Description |
---|
Aggregation
Data aggregation is a specification of and describes the
data transformation process that primarily includes data aggregation processes
but may also include data imports and transformations.
|
Import
Database Import is a specialization of .
|
Lineage
Data Lineage describes the data life cycle of electronically available data.
|
NomenclaturalReference
Nomenclatural reference as used for
taxon names and
type designations. |
Other
Other is the type to be used if none of the other types is applicable. |
PrimaryMediaSource
Primary Media Source describes the original source for any media file.
|
PrimaryTaxonomicSource
Primary Taxonomic Source describes the sources a taxonomist uses to gather certain information.
|
Transformation
Data Transformation is a specialization of and describes a data
transformation process that happens primarily on the given dataset but may also
include external data.
|
Unknown
Unknown provenance is the type to be used if no information is available about the type
of activity that happened.
|
Modifier and Type | Method and Description |
---|---|
static OriginalSourceType |
getByKey(java.lang.String key) |
static OriginalSourceType |
getByUuid(java.util.UUID uuid) |
java.util.Set<OriginalSourceType> |
getGeneralizationOf()
Returns all defined terms this term is a direct generalization for.
|
java.util.Set<OriginalSourceType> |
getGeneralizationOf(boolean recursive)
Returns all defined terms this term is a generalization for.
|
java.lang.String |
getKey()
Returns the key for the enumeration.
|
OriginalSourceType |
getKindOf()
Returns the defined term this term is a kind of.
|
java.lang.String |
getMessage()
Returns a human readable label preferably for the default language.
|
java.lang.String |
getMessage(Language language)
Returns a human readable label preferably for the given language.
|
java.util.UUID |
getUuid() |
boolean |
isKindOf(OriginalSourceType ancestor)
Computes if
this term is kind of the ancestor term. |
static OriginalSourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OriginalSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OriginalSourceType Unknown
public static final OriginalSourceType PrimaryTaxonomicSource
http://www.w3.org/TR/2013/REC-prov-o-20130430/#PrimarySource
)public static final OriginalSourceType Lineage
http://de.wikipedia.org/wiki/Data-Lineage
)public static final OriginalSourceType Import
public static final OriginalSourceType Transformation
public static final OriginalSourceType Aggregation
public static final OriginalSourceType PrimaryMediaSource
http://www.w3.org/TR/2013/REC-prov-o-20130430/#PrimarySource
)public static final OriginalSourceType NomenclaturalReference
taxon names
and
type designations.
E.g. a media may be copy of figure in book. The book itself will then be the primary media source.public static final OriginalSourceType Other
Other
is the type to be used if none of the other types is applicable.public static OriginalSourceType[] values()
for (OriginalSourceType c : OriginalSourceType.values()) System.out.println(c);
public static OriginalSourceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getKey()
IKeyTerm
public java.lang.String getMessage()
IKeyTerm
getMessage
in interface IKeyTerm
public java.lang.String getMessage(Language language)
IKeyTerm
getMessage
in interface IKeyTerm
public java.util.UUID getUuid()
getUuid
in interface ISimpleTerm<OriginalSourceType>
public OriginalSourceType getKindOf()
ISimpleTerm
this
termgetKindOf
in interface ISimpleTerm<OriginalSourceType>
public java.util.Set<OriginalSourceType> getGeneralizationOf()
ISimpleTerm
this
term.getGeneralizationOf
in interface ISimpleTerm<OriginalSourceType>
public boolean isKindOf(OriginalSourceType ancestor)
ISimpleTerm
this
term is kind of the ancestor
term.
So the ancestor
term is direct or indirect (recursive) generalization
of this
term.isKindOf
in interface ISimpleTerm<OriginalSourceType>
ancestor
- the potential ancestor termISimpleTerm.getKindOf()
,
ISimpleTerm.getGeneralizationOf()
public java.util.Set<OriginalSourceType> getGeneralizationOf(boolean recursive)
ISimpleTerm
this
term.
If parameter recursive
is false
only the
direct descendants will be returned. If it is true
the direct descendants and there recursive descendants (all descendants)
will be returned.getGeneralizationOf
in interface ISimpleTerm<OriginalSourceType>
public static OriginalSourceType getByKey(java.lang.String key)
public static OriginalSourceType getByUuid(java.util.UUID uuid)
Copyright © 2007-2020 EDIT. All Rights Reserved.