Package org.opengis.metadata.acquisition
Class Context
- java.lang.Object
-
- org.opengis.util.CodeList<Context>
-
- org.opengis.metadata.acquisition.Context
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Context>
@UML(identifier="MI_ContextCode", specification=ISO_19115_2) public final class Context extends CodeList<Context>
Designation of criterion for defining the context of the scanning process event.- 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 Context
ACQUISITION
Event related to a specific collection.static Context
PASS
Event related to a sequence of collections.private static long
serialVersionUID
Serial number for compatibility with different versions.private static java.util.List<Context>
VALUES
List of all enumerations of this type.static Context
WAY_POINT
Event related to a navigational manoeuvre.
-
Constructor Summary
Constructors Modifier Constructor Description private
Context(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 Context[]
family()
Returns the list of enumerations of the same kind than this enum.static Context
valueOf(java.lang.String code)
Returns the context that matches the given string, or returns a new one if none match it.static Context[]
values()
Returns the list ofContext
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<Context> VALUES
List of all enumerations of this type. Must be declared before any enum declaration.
-
ACQUISITION
@UML(identifier="acquisition", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Context ACQUISITION
Event related to a specific collection.
-
PASS
@UML(identifier="pass", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Context PASS
Event related to a sequence of collections.
-
WAY_POINT
@UML(identifier="wayPoint", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Context WAY_POINT
Event related to a navigational manoeuvre.
-
-
Constructor Detail
-
Context
private Context(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 Context[] values()
Returns the list ofContext
s.- Returns:
- The list of codes declared in the current JVM.
-
family
public Context[] family()
Returns the list of enumerations of the same kind than this enum.
-
valueOf
public static Context valueOf(java.lang.String code)
Returns the context 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.
-
-