Enum IdentifierFacet.IdentificationType
- java.lang.Object
-
- java.lang.Enum<IdentifierFacet.IdentificationType>
-
- org.gcube.resourcemanagement.model.reference.entities.facets.IdentifierFacet.IdentificationType
-
- All Implemented Interfaces:
Serializable,Comparable<IdentifierFacet.IdentificationType>
- Enclosing interface:
- IdentifierFacet
public static enum IdentifierFacet.IdentificationType extends Enum<IdentifierFacet.IdentificationType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IdentifierFacet.IdentificationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static IdentifierFacet.IdentificationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
URI
public static final IdentifierFacet.IdentificationType URI
-
DOI
public static final IdentifierFacet.IdentificationType DOI
-
IRI
public static final IdentifierFacet.IdentificationType IRI
-
URL
public static final IdentifierFacet.IdentificationType URL
-
URN
public static final IdentifierFacet.IdentificationType URN
-
UUID
public static final IdentifierFacet.IdentificationType UUID
-
STRING
public static final IdentifierFacet.IdentificationType STRING
-
-
Method Detail
-
values
public static IdentifierFacet.IdentificationType[] 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 (IdentifierFacet.IdentificationType c : IdentifierFacet.IdentificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IdentifierFacet.IdentificationType 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
-
-