- All Implemented Interfaces:
Serializable,Comparable<ValueStructure>,ControlledVocabulary
@UML(identifier="DQM_ValueStructure",
specification=ISO_19157)
public final class ValueStructure
extends CodeList<ValueStructure>
Structure for reporting a complex data quality result.
- Since:
- 3.1
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ValueStructureFinite, unordered collection of related items that may be repeated.static final ValueStructureFeature that acts as a function to return values from its range for any direct position within its spatial, temporal or spatiotemporal domain.static final ValueStructureRectangular array of numbers.static final ValueStructureFinite, ordered collection of related items that may be repeated.static final ValueStructureUnordered collection of related items with no repetition.static final ValueStructureAn arrangement of data in which each item may be identified by means of arguments or keys. -
Method Summary
Modifier and TypeMethodDescriptionfamily()Returns the list of codes of the same kind as this code list element.Returns the Java type corresponding to this code list value.static Optional<ValueStructure> Returns the structure corresponding to the given class.static ValueStructureReturns the structure that matches the given string, or returns a new one if none match it.static ValueStructure[]values()Returns the list ofValueStructures.Methods inherited from class org.opengis.util.CodeList
compareTo, identifier, name, ordinal, readResolve, toString, valueOf, valueOf, valueOf, valuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opengis.util.ControlledVocabulary
names
-
Field Details
-
BAG
@UML(identifier="bag", obligation=CONDITIONAL, specification=ISO_19157) public static final ValueStructure BAGFinite, unordered collection of related items that may be repeated. The corresponding Java type isCollection. -
SET
@UML(identifier="set", obligation=CONDITIONAL, specification=ISO_19157) public static final ValueStructure SETUnordered collection of related items with no repetition. The corresponding Java type isSet. -
SEQUENCE
@UML(identifier="sequence", obligation=CONDITIONAL, specification=ISO_19157) public static final ValueStructure SEQUENCEFinite, ordered collection of related items that may be repeated. The corresponding Java type isList. -
TABLE
@UML(identifier="table", obligation=CONDITIONAL, specification=ISO_19157) public static final ValueStructure TABLEAn arrangement of data in which each item may be identified by means of arguments or keys. The corresponding Java type isMap. -
MATRIX
@UML(identifier="matrix", obligation=CONDITIONAL, specification=ISO_19157) public static final ValueStructure MATRIXRectangular array of numbers. The corresponding Java type isMatrix. -
COVERAGE
@UML(identifier="coverage", obligation=CONDITIONAL, specification=ISO_19157) public static final ValueStructure COVERAGEFeature that acts as a function to return values from its range for any direct position within its spatial, temporal or spatiotemporal domain.
-
-
Method Details
-
values
Returns the list ofValueStructures.- Returns:
- the list of codes declared in the current JVM.
-
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 parentCodeListclass.- Specified by:
familyin interfaceControlledVocabulary- Specified by:
familyin classCodeList<ValueStructure>- Returns:
- all code values for this code list.
-
valueOf
Returns the structure 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.type- Java type corresponding to the value, ornullif unspecified. This is used only if a new code list element is created.- Returns:
- a code matching the given name.
-
valueOf
Returns the structure corresponding to the given class. The mapping between Java type andValueStructurecode list is as below:Mapping from Java type to ValueStructureJava or GeoAPI type Code list value CollectionBAGSetSETListSEQUENCEMapTABLEMatrixMATRIX- Parameters:
type- the Java type for which to get a structure, ornullif unknown.- Returns:
- structure for the given type, or an empty value if there is no value for the given type.
-
toJavaType
Returns the Java type corresponding to this code list value. The Java type is documented in each code list value.- Returns:
- the Java type for this code list value.
Departure from OGC/ISO standard for closer integration with the Java environment
Added for integration with the Java language.
-