- All Implemented Interfaces:
Serializable
,Comparable<ObjectiveType>
,ControlledVocabulary
@UML(identifier="MI_ObjectiveTypeCode",
specification=ISO_19115_2)
public final class ObjectiveType
extends CodeList<ObjectiveType>
Temporal persistence of collection objective.
- Since:
- 2.3
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ObjectiveType
Single instance of collection.static final ObjectiveType
Multiple instances of collection.static final ObjectiveType
Collection over specified domain. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of codes of the same kind as this code list element.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.Methods inherited from class org.opengis.util.CodeList
compareTo, identifier, name, ordinal, readResolve, toString, valueOf, valueOf, valueOf, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.util.ControlledVocabulary
names
-
Field Details
-
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.
-
-
Method Details
-
values
Returns the list ofObjectiveType
s.- Returns:
- the list of codes declared in the current JVM.
-
family
Returns the list of codes of the same kind as this code list element. Invoking this method is equivalent to invokingvalues()
, except that this method can be invoked on an instance of the parentCodeList
class.- Specified by:
family
in interfaceControlledVocabulary
- Specified by:
family
in classCodeList<ObjectiveType>
- Returns:
- all code values for this code list.
-
valueOf
Returns the objective type that matches the given string, or returns a new one if none match it. This methods returns the first instance (in declaration order) for which the name is equals, ignoring case, to the given name. If no existing instance is found, then a new one is created for the given name.- Parameters:
code
- the name of the code to fetch or to create.- Returns:
- a code matching the given name.
-