Package org.opengis.metadata.citation
Class OnLineFunction
- java.lang.Object
-
- org.opengis.util.CodeList<OnLineFunction>
-
- org.opengis.metadata.citation.OnLineFunction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OnLineFunction>
@UML(identifier="CI_OnLineFunctionCode", specification=ISO_19115) public final class OnLineFunction extends CodeList<OnLineFunction>
Class of information to which the referencing entity applies.- Since:
- 2.0
- 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 OnLineFunction
DOWNLOAD
Online instructions for transferring data from one storage device or system to another.static OnLineFunction
INFORMATION
Online information about the resource.static OnLineFunction
OFFLINE_ACCESS
Online instructions for requesting the resource from the provider.static OnLineFunction
ORDER
Online order process for obtaining the resource.static OnLineFunction
SEARCH
Online search interface for seeking out information about the resource.private static long
serialVersionUID
Serial number for compatibility with different versions.private static java.util.List<OnLineFunction>
VALUES
List of all enumerations of this type.
-
Constructor Summary
Constructors Modifier Constructor Description private
OnLineFunction(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 OnLineFunction[]
family()
Returns the list of enumerations of the same kind than this enum.static OnLineFunction
valueOf(java.lang.String code)
Returns the on line function that matches the given string, or returns a new one if none match it.static OnLineFunction[]
values()
Returns the list ofOnLineFunction
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<OnLineFunction> VALUES
List of all enumerations of this type. Must be declared before any enum declaration.
-
DOWNLOAD
@UML(identifier="download", obligation=CONDITIONAL, specification=ISO_19115) public static final OnLineFunction DOWNLOAD
Online instructions for transferring data from one storage device or system to another.
-
INFORMATION
@UML(identifier="information", obligation=CONDITIONAL, specification=ISO_19115) public static final OnLineFunction INFORMATION
Online information about the resource.
-
OFFLINE_ACCESS
@UML(identifier="offlineAccess", obligation=CONDITIONAL, specification=ISO_19115) public static final OnLineFunction OFFLINE_ACCESS
Online instructions for requesting the resource from the provider.
-
ORDER
@UML(identifier="order", obligation=CONDITIONAL, specification=ISO_19115) public static final OnLineFunction ORDER
Online order process for obtaining the resource.
-
SEARCH
@UML(identifier="search", obligation=CONDITIONAL, specification=ISO_19115) public static final OnLineFunction SEARCH
Online search interface for seeking out information about the resource.
-
-
Constructor Detail
-
OnLineFunction
private OnLineFunction(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 OnLineFunction[] values()
Returns the list ofOnLineFunction
s.- Returns:
- The list of codes declared in the current JVM.
-
family
public OnLineFunction[] family()
Returns the list of enumerations of the same kind than this enum.- Specified by:
family
in classCodeList<OnLineFunction>
- Returns:
- The codes of the same kind than this code.
-
valueOf
public static OnLineFunction valueOf(java.lang.String code)
Returns the on line function 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.
-
-