Class OperationType
- All Implemented Interfaces:
Serializable, Comparable<OperationType>
@UML(identifier="MI_OperationTypeCode",
specification=ISO_19115_2)
public final class OperationType
extends CodeList<OperationType>
Code indicating whether the data contained in this packet is real (originates from live-fly
or other non-simulated operational sources), simulated (originates from target simulator sources),
or synthesized (a mix of real and simulated data).
- Since:
- 2.3
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class CodeList
CodeList.FilterModifier and TypeClassDescriptionstatic interfaceUsed byCodeList.valueOf(Class, Filter)to select codes matching an arbitrary criterion. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OperationTypeOriginates from live-fly or other non-simulated operational source.static final OperationTypeOriginates from target simulator sources.static final OperationTypeMix of real and simulated data. -
Method Summary
Modifier and TypeMethodDescriptionfamily()Returns the list of enumerations of the same kind as this enum.static OperationTypeReturns the operation type that matches the given string, or returns a new one if none match it.static OperationType[]values()Returns the list ofOperationTypes.Methods inherited from class CodeList
compareTo, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOfModifier and TypeMethodDescriptionfinal intcompareTo(OperationType other) Compares this code with the specified object for order.Returns the identifier declared in theUMLannotation, ornullif none.final Stringname()Returns the programmatic name of this code list constant.String[]names()Returns all the names of this code.final intordinal()Returns the ordinal of this code constant.protected ObjectResolves the code list to an unique instance after deserialization.Returns a string representation of this code list.static <T extends CodeList<T>>
TReturns the code of the given type that matches the given name, or returns a new one if none match it.static <T extends CodeList<T>>
TvalueOf(Class<T> codeType, CodeList.Filter filter) Returns the code of the given type that matches the given criterion, or returns a new one if none match it.
-
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 ofOperationTypes.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind as this enum.- Specified by:
familyin classCodeList<OperationType>- Returns:
- The codes of the same kind as this code.
-
valueOf
Returns the operation type 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.
-