- All Implemented Interfaces:
Serializable
,Comparable<TransferFunctionType>
,ControlledVocabulary
@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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
Modifier 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 logarithmic -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of codes of the same kind as this code list element.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.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
-
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.
-
-
Method Details
-
values
Returns the list ofTransferFunctionType
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<TransferFunctionType>
- Returns:
- all code values for this code list.
-
valueOf
Returns the transfer function 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.
-