Package org.opengis.metadata.acquisition
Class ObjectiveType
- All Implemented Interfaces:
Serializable
,Comparable<ObjectiveType>
@UML(identifier="MI_ObjectiveTypeCode",
specification=ISO_19115_2)
public final class ObjectiveType
extends CodeList<ObjectiveType>
Temporal persistence of collection objective.
- Since:
- 2.3
- Version:
- 3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ObjectiveType
Single instance of collection.static final ObjectiveType
Multiple instances of collection.private static final long
Serial number for compatibility with different versions.static final ObjectiveType
Collection over specified domain.private static final List
<ObjectiveType> List of all enumerations of this type. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ObjectiveType
(String name) Constructs an enum with the given name. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of enumerations of the same kind than this enum.static ObjectiveType
Returns the objective type that matches the given string, or returns a new one if none match it.static ObjectiveType[]
values()
Returns the list ofObjectiveType
s.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for compatibility with different versions.- See Also:
-
VALUES
List of all enumerations of this type. Must be declared before any enum declaration. -
INSTANTANEOUS_COLLECTION
@UML(identifier="instantaneousCollection", obligation=CONDITIONAL, specification=ISO_19115_2) public static final ObjectiveType INSTANTANEOUS_COLLECTIONSingle instance of collection. -
PERSISTENT_VIEW
@UML(identifier="persistentView", obligation=CONDITIONAL, specification=ISO_19115_2) public static final ObjectiveType PERSISTENT_VIEWMultiple instances of collection. -
SURVEY
@UML(identifier="survey", obligation=CONDITIONAL, specification=ISO_19115_2) public static final ObjectiveType SURVEYCollection over specified domain.
-
-
Constructor Details
-
ObjectiveType
Constructs an enum with the given name. The new enum is automatically added to the list returned byvalues()
.- Parameters:
name
- The enum name. This name must not be in use by an other enum of this type.
-
-
Method Details
-
values
Returns the list ofObjectiveType
s.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind than this enum.- Specified by:
family
in classCodeList<ObjectiveType>
- Returns:
- The codes of the same kind than this code.
-
valueOf
Returns the objective type that matches the given string, or returns a new one if none match it.- Parameters:
code
- The name of the code to fetch or to create.- Returns:
- A code matching the given name.
-