Class AssociationType
- java.lang.Object
-
- org.opengis.util.CodeList<AssociationType>
-
- org.opengis.metadata.identification.AssociationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AssociationType>
@UML(identifier="DS_AssociationTypeCode", specification=ISO_19115) public final class AssociationType extends CodeList<AssociationType>
Justification for the correlation of two datasets.- Since:
- 2.1
- 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 AssociationType
CROSS_REFERENCE
Reference from one dataset to another.static AssociationType
LARGER_WORD_CITATION
Reference to a master dataset of which this one is a part.static AssociationType
PART_OF_SEAMLESS_DATABASE
Part of same structured set of data held in a computer.private static long
serialVersionUID
Serial number for compatibility with different versions.static AssociationType
SOURCE
Mapping and charting information from which the dataset content originates.static AssociationType
STEREO_MATE
Part of a set of imagery that when used together, provides three-dimensional images.private static java.util.List<AssociationType>
VALUES
List of all enumerations of this type.
-
Constructor Summary
Constructors Modifier Constructor Description private
AssociationType(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 AssociationType[]
family()
Returns the list of enumerations of the same kind than this enum.static AssociationType
valueOf(java.lang.String code)
Returns the association type that matches the given string, or returns a new one if none match it.static AssociationType[]
values()
Returns the list ofAssociationType
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<AssociationType> VALUES
List of all enumerations of this type. Must be declared before any enum declaration.
-
CROSS_REFERENCE
@UML(identifier="crossReference", obligation=CONDITIONAL, specification=ISO_19115) public static final AssociationType CROSS_REFERENCE
Reference from one dataset to another.
-
LARGER_WORD_CITATION
@UML(identifier="largerWorkCitation", obligation=CONDITIONAL, specification=ISO_19115) public static final AssociationType LARGER_WORD_CITATION
Reference to a master dataset of which this one is a part.
-
PART_OF_SEAMLESS_DATABASE
@UML(identifier="partOfSeamlessDatabase", obligation=CONDITIONAL, specification=ISO_19115) public static final AssociationType PART_OF_SEAMLESS_DATABASE
Part of same structured set of data held in a computer.
-
SOURCE
@UML(identifier="source", obligation=CONDITIONAL, specification=ISO_19115) public static final AssociationType SOURCE
Mapping and charting information from which the dataset content originates.
-
STEREO_MATE
@UML(identifier="stereoMate", obligation=CONDITIONAL, specification=ISO_19115) public static final AssociationType STEREO_MATE
Part of a set of imagery that when used together, provides three-dimensional images.
-
-
Constructor Detail
-
AssociationType
private AssociationType(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 AssociationType[] values()
Returns the list ofAssociationType
s.- Returns:
- The list of codes declared in the current JVM.
-
family
public AssociationType[] family()
Returns the list of enumerations of the same kind than this enum.- Specified by:
family
in classCodeList<AssociationType>
- Returns:
- The codes of the same kind than this code.
-
valueOf
public static AssociationType valueOf(java.lang.String code)
Returns the association type 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.
-
-