Package org.opengis.metadata.acquisition
Class Sequence
- java.lang.Object
-
- org.opengis.util.CodeList<Sequence>
-
- org.opengis.metadata.acquisition.Sequence
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.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:
- 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 Sequence
END
End of a collection.static Sequence
INSTANTANEOUS
Collection without a significant durationprivate static long
serialVersionUID
Serial number for compatibility with different versions.static Sequence
START
Beginning of a collection.private static java.util.List<Sequence>
VALUES
List of all enumerations of this type.
-
Constructor Summary
Constructors Modifier Constructor Description private
Sequence(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 Sequence[]
family()
Returns the list of enumerations of the same kind than this enum.static Sequence
valueOf(java.lang.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 ofSequence
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<Sequence> 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 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
-
-
Constructor Detail
-
Sequence
private Sequence(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 Sequence[] values()
Returns the list ofSequence
s.- Returns:
- The list of codes declared in the current JVM.
-
family
public Sequence[] family()
Returns the list of enumerations of the same kind than this enum.
-
valueOf
public static Sequence valueOf(java.lang.String code)
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.
-
-