Package org.opengis.metadata.acquisition
Class Sequence
-
- All Implemented Interfaces:
Serializable,Comparable<Sequence>,ControlledVocabulary
@UML(identifier="MI_SequenceCode", specification=ISO_19115_2) public final class Sequence extends CodeList<Sequence>
Temporal relation of activation.- Since:
- 2.3
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class CodeList
CodeList.Filter
-
-
Method Summary
Modifier and Type Method Description Sequence[]family()Returns the list of codes of the same kind than this code list element.static SequencevalueOf(String code)Returns the sequence that matches the given string, or returns a new one if none match it.static Sequence[]values()Returns the list ofSequences.
-
-
-
Field Detail
-
START
@UML(identifier="start", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Sequence START
Beginning of a collection.
-
END
@UML(identifier="end", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Sequence END
End of a collection.
-
INSTANTANEOUS
@UML(identifier="instantaneous", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Sequence INSTANTANEOUS
Collection without a significant duration
-
-
Method Detail
-
values
public static Sequence[] values()
Returns the list ofSequences.- Returns:
- the list of codes declared in the current JVM.
-
family
public Sequence[] family()
Returns the list of codes of the same kind than this code list element. Invoking this method is equivalent to invokingvalues(), except that this method can be invoked on an instance of the parentCodeListclass.
-
valueOf
public static Sequence valueOf(String code)
Returns the sequence that matches the given string, or returns a new one if none match it. More specifically, this methods returns the first instance for whichname().equals(code)returnstrue. 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.
-
-