Package org.opengis.metadata.content
Class TransferFunctionType
- java.lang.Object
-
- org.opengis.util.CodeList<TransferFunctionType>
-
- org.opengis.metadata.content.TransferFunctionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
-
Field Summary
Fields Modifier and Type Field Description static TransferFunctionType
EXPONENTIAL
Function used for transformation is exponential.static TransferFunctionType
LINEAR
Function used for transformation is first order polynomial.static TransferFunctionType
LOGARITHMIC
Function used for transformation is logarithmicprivate static long
serialVersionUID
Serial number for compatibility with different versions.private static java.util.List<TransferFunctionType>
VALUES
List of all enumerations of this type.
-
Constructor Summary
Constructors Modifier Constructor Description private
TransferFunctionType(java.lang.String name)
Constructs an enum with the given name.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferFunctionType[]
family()
Returns the list of enumerations of the same kind than this enum.static TransferFunctionType
valueOf(java.lang.String code)
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 Detail
-
serialVersionUID
private static final long serialVersionUID
Serial number for compatibility with different versions.- See Also:
- Constant Field Values
-
VALUES
private static final java.util.List<TransferFunctionType> 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 LINEAR
Function used for transformation is first order polynomial.
-
LOGARITHMIC
@UML(identifier="logarithmic", obligation=CONDITIONAL, specification=ISO_19115_2) public static final TransferFunctionType LOGARITHMIC
Function used for transformation is logarithmic
-
EXPONENTIAL
@UML(identifier="exponential", obligation=CONDITIONAL, specification=ISO_19115_2) public static final TransferFunctionType EXPONENTIAL
Function used for transformation is exponential.
-
-
Constructor Detail
-
TransferFunctionType
private TransferFunctionType(java.lang.String name)
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 Detail
-
values
public static TransferFunctionType[] values()
Returns the list ofTransferFunctionType
s.- Returns:
- The list of codes declared in the current JVM.
-
family
public TransferFunctionType[] 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
public static TransferFunctionType valueOf(java.lang.String code)
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.
-
-