Package org.opengis.metadata.citation
Class OnLineFunction
- All Implemented Interfaces:
Serializable
,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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OnLineFunction
Online instructions for transferring data from one storage device or system to another.static final OnLineFunction
Online information about the resource.static final OnLineFunction
Online instructions for requesting the resource from the provider.static final OnLineFunction
Online order process for obtaining the resource.static final OnLineFunction
Online search interface for seeking out information about the resource.private static final long
Serial number for compatibility with different versions.private static final List
<OnLineFunction> List of all enumerations of this type. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
OnLineFunction
(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 OnLineFunction
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 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. -
DOWNLOAD
@UML(identifier="download", obligation=CONDITIONAL, specification=ISO_19115) public static final OnLineFunction DOWNLOADOnline 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 INFORMATIONOnline information about the resource. -
OFFLINE_ACCESS
@UML(identifier="offlineAccess", obligation=CONDITIONAL, specification=ISO_19115) public static final OnLineFunction OFFLINE_ACCESSOnline instructions for requesting the resource from the provider. -
ORDER
@UML(identifier="order", obligation=CONDITIONAL, specification=ISO_19115) public static final OnLineFunction ORDEROnline order process for obtaining the resource. -
SEARCH
@UML(identifier="search", obligation=CONDITIONAL, specification=ISO_19115) public static final OnLineFunction SEARCHOnline search interface for seeking out information about the resource.
-
-
Constructor Details
-
OnLineFunction
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 ofOnLineFunction
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<OnLineFunction>
- Returns:
- The codes of the same kind than this code.
-
valueOf
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.
-