Enum RelatedIdentifier.Relation
- java.lang.Object
-
- java.lang.Enum<RelatedIdentifier.Relation>
-
- org.gcube.data.publishing.ckan2zenodo.model.zenodo.RelatedIdentifier.Relation
-
- All Implemented Interfaces:
Serializable,Comparable<RelatedIdentifier.Relation>
- Enclosing class:
- RelatedIdentifier
public static enum RelatedIdentifier.Relation extends Enum<RelatedIdentifier.Relation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description citescompileshasPartisAlternateIdentifierisCitedByisCompiledByisIdenticalToisNewVersionOfisPartOfisPreviousVersionOfisSupplementedByisSupplementTo
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RelatedIdentifier.RelationvalueOf(String name)Returns the enum constant of this type with the specified name.static RelatedIdentifier.Relation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
isCitedBy
public static final RelatedIdentifier.Relation isCitedBy
-
cites
public static final RelatedIdentifier.Relation cites
-
isSupplementTo
public static final RelatedIdentifier.Relation isSupplementTo
-
isSupplementedBy
public static final RelatedIdentifier.Relation isSupplementedBy
-
isNewVersionOf
public static final RelatedIdentifier.Relation isNewVersionOf
-
isPreviousVersionOf
public static final RelatedIdentifier.Relation isPreviousVersionOf
-
isPartOf
public static final RelatedIdentifier.Relation isPartOf
-
hasPart
public static final RelatedIdentifier.Relation hasPart
-
compiles
public static final RelatedIdentifier.Relation compiles
-
isCompiledBy
public static final RelatedIdentifier.Relation isCompiledBy
-
isIdenticalTo
public static final RelatedIdentifier.Relation isIdenticalTo
-
isAlternateIdentifier
public static final RelatedIdentifier.Relation isAlternateIdentifier
-
-
Method Detail
-
values
public static RelatedIdentifier.Relation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RelatedIdentifier.Relation c : RelatedIdentifier.Relation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelatedIdentifier.Relation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-