Package de.digitalcollections.iiif.model
Enum ModelUtilities.Completeness
- java.lang.Object
-
- java.lang.Enum<ModelUtilities.Completeness>
-
- de.digitalcollections.iiif.model.ModelUtilities.Completeness
-
- All Implemented Interfaces:
Serializable,Comparable<ModelUtilities.Completeness>
- Enclosing class:
- ModelUtilities
public static enum ModelUtilities.Completeness extends Enum<ModelUtilities.Completeness>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLEXEMPTYID_AND_TYPEID_AND_TYPE_AND_LABELID_ONLY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModelUtilities.CompletenessvalueOf(String name)Returns the enum constant of this type with the specified name.static ModelUtilities.Completeness[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMPTY
public static final ModelUtilities.Completeness EMPTY
-
ID_ONLY
public static final ModelUtilities.Completeness ID_ONLY
-
ID_AND_TYPE
public static final ModelUtilities.Completeness ID_AND_TYPE
-
ID_AND_TYPE_AND_LABEL
public static final ModelUtilities.Completeness ID_AND_TYPE_AND_LABEL
-
COMPLEX
public static final ModelUtilities.Completeness COMPLEX
-
-
Method Detail
-
values
public static ModelUtilities.Completeness[] 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 (ModelUtilities.Completeness c : ModelUtilities.Completeness.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModelUtilities.Completeness 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
-
-