org.opengis.metadata.content
Class TransferFunctionType

Show UML class diagram
Object
  extended by CodeList<TransferFunctionType>
      extended by 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
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class CodeList
CodeList.Filter
 
Field Summary
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 logarithmic
 
Method Summary
 TransferFunctionType[] family()
          Returns the list of codes of the same kind than this code list element.
static TransferFunctionType valueOf(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 of TransferFunctionTypes.
 
Methods inherited from class CodeList
compareTo, equals, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOf
 
Methods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Method Detail

values

public static TransferFunctionType[] values()
Returns the list of TransferFunctionTypes.

Returns:
The list of codes declared in the current JVM.

family

public TransferFunctionType[] family()
Returns the list of codes of the same kind than this code list element. Invoking this method is equivalent to invoking values(), except that this method can be invoked on an instance of the parent CodeList class.

Specified by:
family in class CodeList<TransferFunctionType>
Returns:
The codes of the same kind than this code.

valueOf

public static TransferFunctionType valueOf(String code)
Returns the transfer function type that matches the given string, or returns a new one if none match it. More specifically, this methods returns the first instance for which name().equals(code) returns true. 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.


Copyright © 1994-2013 Open Geospatial Consortium. All Rights Reserved.