Package org.opengis.metadata.acquisition
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
- 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 OperationType
Originates from live-fly or other non-simulated operational source.private static final long
Serial number for compatibility with different versions.static final OperationType
Originates from target simulator sources.static final OperationType
Mix of real and simulated data.private static final List
<OperationType> List of all enumerations of this type. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
OperationType
(String name) Constructs an enum with the given name. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of enumerations of the same kind than this enum.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.
-
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. -
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.
-
-
Constructor Details
-
OperationType
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 ofOperationType
s.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind than this enum.- Specified by:
family
in classCodeList<OperationType>
- Returns:
- The codes of the same kind than 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.
-