Package org.opengis.metadata.acquisition
Class ObjectiveType
- java.lang.Object
-
- org.opengis.util.CodeList<ObjectiveType>
-
- org.opengis.metadata.acquisition.ObjectiveType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
-
Field Summary
Fields Modifier and Type Field Description static ObjectiveType
INSTANTANEOUS_COLLECTION
Single instance of collection.static ObjectiveType
PERSISTENT_VIEW
Multiple instances of collection.private static long
serialVersionUID
Serial number for compatibility with different versions.static ObjectiveType
SURVEY
Collection over specified domain.private static java.util.List<ObjectiveType>
VALUES
List of all enumerations of this type.
-
Constructor Summary
Constructors Modifier Constructor Description private
ObjectiveType(java.lang.String name)
Constructs an enum with the given name.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectiveType[]
family()
Returns the list of enumerations of the same kind than this enum.static ObjectiveType
valueOf(java.lang.String code)
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 Detail
-
serialVersionUID
private static final long serialVersionUID
Serial number for compatibility with different versions.- See Also:
- Constant Field Values
-
VALUES
private static final java.util.List<ObjectiveType> 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_COLLECTION
Single instance of collection.
-
PERSISTENT_VIEW
@UML(identifier="persistentView", obligation=CONDITIONAL, specification=ISO_19115_2) public static final ObjectiveType PERSISTENT_VIEW
Multiple instances of collection.
-
SURVEY
@UML(identifier="survey", obligation=CONDITIONAL, specification=ISO_19115_2) public static final ObjectiveType SURVEY
Collection over specified domain.
-
-
Constructor Detail
-
ObjectiveType
private ObjectiveType(java.lang.String name)
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 Detail
-
values
public static ObjectiveType[] values()
Returns the list ofObjectiveType
s.- Returns:
- The list of codes declared in the current JVM.
-
family
public ObjectiveType[] 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
public static ObjectiveType valueOf(java.lang.String code)
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.
-
-