Package org.opengis.metadata.content
Class TransferFunctionType
- All Implemented Interfaces:
Serializable
,Comparable<TransferFunctionType>
@UML(identifier="MI_TransferFunctionTypeCode",
specification=ISO_19115_2)
public final class TransferFunctionType
extends CodeList<TransferFunctionType>
Transform function to be used when scaling a physical value for a given element.
- 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 TransferFunctionType
Function used for transformation is exponential.static final TransferFunctionType
Function used for transformation is first order polynomial.static final TransferFunctionType
Function used for transformation is logarithmicprivate static final long
Serial number for compatibility with different versions.private static final List
<TransferFunctionType> List of all enumerations of this type. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
TransferFunctionType
(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 TransferFunctionType
Returns the transfer function type that matches the given string, or returns a new one if none match it.static TransferFunctionType[]
values()
Returns the list ofTransferFunctionType
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. -
LINEAR
@UML(identifier="linear", obligation=CONDITIONAL, specification=ISO_19115_2) public static final TransferFunctionType LINEARFunction used for transformation is first order polynomial. -
LOGARITHMIC
@UML(identifier="logarithmic", obligation=CONDITIONAL, specification=ISO_19115_2) public static final TransferFunctionType LOGARITHMICFunction used for transformation is logarithmic -
EXPONENTIAL
@UML(identifier="exponential", obligation=CONDITIONAL, specification=ISO_19115_2) public static final TransferFunctionType EXPONENTIALFunction used for transformation is exponential.
-
-
Constructor Details
-
TransferFunctionType
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 ofTransferFunctionType
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<TransferFunctionType>
- Returns:
- The codes of the same kind than this code.
-
valueOf
Returns the transfer function 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.
-