- All Implemented Interfaces:
Serializable
,Comparable<OperationType>
,ControlledVocabulary
@UML(identifier="MI_OperationTypeCode",
specification=ISO_19115_2)
public final class OperationType
extends CodeList<OperationType>
Code indicating whether the data contained in a packet is real, simulated or synthesized.
Real data originates from live-fly or other non-simulated operational sources.
Simulated data originates from target simulator sources.
Synthesized data is a mix of real and simulated data.
- Since:
- 2.3
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final OperationType
Originates from live-fly or other non-simulated operational source.static final OperationType
Originates from target simulator sources.static final OperationType
Mix of real and simulated data. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of codes of the same kind as this code list element.static OperationType
Returns the operation type that matches the given string, or returns a new one if none match it.static OperationType[]
values()
Returns the list ofOperationType
s.Methods inherited from class org.opengis.util.CodeList
compareTo, identifier, name, ordinal, readResolve, toString, valueOf, valueOf, valueOf, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.util.ControlledVocabulary
names
-
Field Details
-
REAL
@UML(identifier="real", obligation=CONDITIONAL, specification=ISO_19115_2) public static final OperationType REALOriginates from live-fly or other non-simulated operational source. -
SIMULATED
@UML(identifier="simulated", obligation=CONDITIONAL, specification=ISO_19115_2) public static final OperationType SIMULATEDOriginates from target simulator sources. -
SYNTHESIZED
@UML(identifier="synthesized", obligation=CONDITIONAL, specification=ISO_19115_2) public static final OperationType SYNTHESIZEDMix of real and simulated data.
-
-
Method Details
-
values
Returns the list ofOperationType
s.- Returns:
- the list of codes declared in the current JVM.
-
family
Returns the list of codes of the same kind as 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.- Specified by:
family
in interfaceControlledVocabulary
- Specified by:
family
in classCodeList<OperationType>
- Returns:
- all code values for this code list.
-
valueOf
Returns the operation type that matches the given string, or returns a new one if none match it. This methods returns the first instance (in declaration order) for which the name is equals, ignoring case, to the given name. 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.
-