Package org.opengis.metadata.acquisition
Class Sequence
- All Implemented Interfaces:
Serializable
,Comparable<Sequence>
@UML(identifier="MI_SequenceCode",
specification=ISO_19115_2)
public final class Sequence
extends CodeList<Sequence>
Temporal relation of activation.
- 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 Sequence
End of a collection.static final Sequence
Collection without a significant durationprivate static final long
Serial number for compatibility with different versions.static final Sequence
Beginning of a collection.List of all enumerations of this type. -
Constructor Summary
Constructors -
Method Summary
-
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. -
START
@UML(identifier="start", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Sequence STARTBeginning of a collection. -
END
@UML(identifier="end", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Sequence ENDEnd of a collection. -
INSTANTANEOUS
@UML(identifier="instantaneous", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Sequence INSTANTANEOUSCollection without a significant duration
-
-
Constructor Details
-
Sequence
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 ofSequence
s.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind than this enum. -
valueOf
Returns the sequence 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.
-