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>
Enumeration of possible identification types
-
-
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
Uniform Resource Identifier
-
DOI
public static final IdentifierFacet.IdentificationType DOI
Digital Object Identifier
-
IRI
public static final IdentifierFacet.IdentificationType IRI
Internationalized Resource Identifier
-
URL
public static final IdentifierFacet.IdentificationType URL
Uniform Resource Locator
-
URN
public static final IdentifierFacet.IdentificationType URN
Uniform Resource Name
-
UUID
public static final IdentifierFacet.IdentificationType UUID
Universally Unique Identifier
-
STRING
public static final IdentifierFacet.IdentificationType STRING
String identifier
-
-
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
-
-