- All Implemented Interfaces:
Serializable
,Comparable<Datatype>
,ControlledVocabulary
@UML(identifier="MD_DatatypeCode",
specification=ISO_19115)
public final class Datatype
extends CodeList<Datatype>
Datatype of element or entity.
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Datatype
Class that cannot be directly instantiated.static final Datatype
Class that is composed of classes it is connected to by an aggregate relationship.static final Datatype
Semantic relationship between two classes that involves connections among their instances.static final Datatype
Free text field.static final Datatype
Descriptor of a set of objects that share the same attributes, operations, methods, relationships, and behavior.static final Datatype
Flexible enumeration useful for expressing a long list of values, can be extended.static final Datatype
Permissible value for a codelist or enumeration.static final Datatype
Class with few or no operations whose primary purpose is to hold the abstract state of another class for transmittal, storage, encoding or persistent storage.static final Datatype
Data type whose instances form a list of named literal values, not extendable.static final Datatype
Numerical field.static final Datatype
Named set of operations that characterize the behavior of an element.static final Datatype
Class whose instances are classes.static final Datatype
Subclass that may be substituted for its superclass.static final Datatype
Class used for specification of a domain of instances (objects), together with the operations applicable to the objects.static final Datatype
Class describing a selection of one of the specified types. -
Method Summary
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
-
CLASS
@UML(identifier="class", obligation=CONDITIONAL, specification=ISO_19115) public static final Datatype CLASSDescriptor of a set of objects that share the same attributes, operations, methods, relationships, and behavior. -
CODE_LIST
@UML(identifier="codelist", obligation=CONDITIONAL, specification=ISO_19115) public static final Datatype CODE_LISTFlexible enumeration useful for expressing a long list of values, can be extended. -
ENUMERATION
@UML(identifier="enumeration", obligation=CONDITIONAL, specification=ISO_19115) public static final Datatype ENUMERATIONData type whose instances form a list of named literal values, not extendable. -
CODE_LIST_ELEMENT
@UML(identifier="codelistElement", obligation=CONDITIONAL, specification=ISO_19115) public static final Datatype CODE_LIST_ELEMENTPermissible value for a codelist or enumeration. -
ABSTRACT_CLASS
@UML(identifier="abstractClass", obligation=CONDITIONAL, specification=ISO_19115) public static final Datatype ABSTRACT_CLASSClass that cannot be directly instantiated. -
AGGREGATE_CLASS
@UML(identifier="aggregateClass", obligation=CONDITIONAL, specification=ISO_19115) public static final Datatype AGGREGATE_CLASSClass that is composed of classes it is connected to by an aggregate relationship. -
SPECIFIED_CLASS
@UML(identifier="specifiedClass", obligation=CONDITIONAL, specification=ISO_19115) public static final Datatype SPECIFIED_CLASSSubclass that may be substituted for its superclass. -
DATATYPE_CLASS
@UML(identifier="datatypeClass", obligation=CONDITIONAL, specification=ISO_19115) public static final Datatype DATATYPE_CLASSClass with few or no operations whose primary purpose is to hold the abstract state of another class for transmittal, storage, encoding or persistent storage. -
INTERFACE_CLASS
@UML(identifier="interfaceClass", obligation=CONDITIONAL, specification=ISO_19115) public static final Datatype INTERFACE_CLASSNamed set of operations that characterize the behavior of an element. -
UNION_CLASS
@UML(identifier="unionClass", obligation=CONDITIONAL, specification=ISO_19115) public static final Datatype UNION_CLASSClass describing a selection of one of the specified types. -
META_CLASS
@UML(identifier="metaClass", obligation=CONDITIONAL, specification=ISO_19115) public static final Datatype META_CLASSClass whose instances are classes. -
TYPE_CLASS
@UML(identifier="typeClass", obligation=CONDITIONAL, specification=ISO_19115) public static final Datatype TYPE_CLASSClass used for specification of a domain of instances (objects), together with the operations applicable to the objects. A type may have attributes and associations. -
CHARACTER_STRING
@UML(identifier="characterString", obligation=CONDITIONAL, specification=ISO_19115) public static final Datatype CHARACTER_STRINGFree text field. -
INTEGER
@UML(identifier="integer", obligation=CONDITIONAL, specification=ISO_19115) public static final Datatype INTEGERNumerical field. -
ASSOCIATION
@UML(identifier="association", obligation=CONDITIONAL, specification=ISO_19115) public static final Datatype ASSOCIATIONSemantic relationship between two classes that involves connections among their instances.
-
-
Method Details
-
values
-
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. -
valueOf
Returns the datatype 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.
-