- All Implemented Interfaces:
Serializable
,Comparable<Context>
,ControlledVocabulary
@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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class CodeList
CodeList.Filter
-
Field Summary
-
Method Summary
-
Field Details
-
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.
-
-
Method Details
-
values
Returns the list ofContext
s.- Returns:
- the list of codes declared in the current JVM.
-
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 parentCodeList
class. -
valueOf
Returns the context 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.
-