Package org.opengis.metadata.acquisition
Class Context
- All Implemented Interfaces:
Serializable
,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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Context
Event related to a specific collection.static final Context
Event related to a sequence of collections.private static final long
Serial number for compatibility with different versions.List of all enumerations of this type.static final Context
Event related to a navigational manoeuvre. -
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. -
ACQUISITION
@UML(identifier="acquisition", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Context ACQUISITIONEvent related to a specific collection. -
PASS
@UML(identifier="pass", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Context PASSEvent related to a sequence of collections. -
WAY_POINT
@UML(identifier="wayPoint", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Context WAY_POINTEvent related to a navigational manoeuvre.
-
-
Constructor Details
-
Context
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 ofContext
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 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.
-