Class DefaultDescriptiveResult
java.lang.Object
org.apache.sis.metadata.AbstractMetadata
org.apache.sis.metadata.ModifiableMetadata
org.apache.sis.metadata.iso.ISOMetadata
org.apache.sis.metadata.iso.quality.ISOMetadata
org.apache.sis.metadata.iso.quality.AbstractResult
org.apache.sis.metadata.iso.quality.DefaultDescriptiveResult
- All Implemented Interfaces:
Serializable
,Emptiable
,LenientComparable
,IdentifiedObject
,org.opengis.metadata.quality.Result
@UML(identifier="DQ_DescriptiveResult",
specification=UNSPECIFIED)
public class DefaultDescriptiveResult
extends AbstractResult
Data quality descriptive result.
The following properties are mandatory in a well-formed metadata according ISO 19157:
DQ_DescriptiveResult
└─statement……………
textual expression of the descriptive result.Limitations
- Instances of this class are not synchronized for multi-threading. Synchronization, if needed, is caller's responsibility.
- Serialized objects of this class are not guaranteed to be compatible with future Apache SIS releases.
Serialization support is appropriate for short term storage or RMI between applications running the
same version of Apache SIS. For long term storage, use
XML
instead.
- Since:
- 1.3
- Version:
- 1.3
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.metadata.ModifiableMetadata
ModifiableMetadata.State
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
Serial number for inter-operability with different versions.private org.opengis.util.InternationalString
Textual expression of the descriptive result.Fields inherited from class org.apache.sis.metadata.iso.ISOMetadata
identifiers
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an initially empty descriptive result.Creates a conformance result initialized to the given values.Constructs a new instance initialized with the values from the specified metadata object. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.util.InternationalString
Returns the textual expression of the descriptive result.void
setStatement
(org.opengis.util.InternationalString newValue) Sets the textual expression of the descriptive result.Methods inherited from class org.apache.sis.metadata.iso.quality.AbstractResult
castOrCopy, getDateTime, getResultScope, setDateTime, setResultScope
Methods inherited from class org.apache.sis.metadata.iso.quality.ISOMetadata
getStandard
Methods inherited from class org.apache.sis.metadata.iso.ISOMetadata
getIdentifier, getIdentifierMap, getIdentifiers, setIdentifier, transitionTo
Methods inherited from class org.apache.sis.metadata.ModifiableMetadata
checkWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSet
Methods inherited from class org.apache.sis.metadata.AbstractMetadata
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for inter-operability with different versions.- See Also:
-
statement
private org.opengis.util.InternationalString statementTextual expression of the descriptive result.
-
-
Constructor Details
-
DefaultDescriptiveResult
public DefaultDescriptiveResult()Constructs an initially empty descriptive result. -
DefaultDescriptiveResult
Creates a conformance result initialized to the given values.- Parameters:
text
- statement against which data is being evaluated, ornull
.
-
DefaultDescriptiveResult
Constructs a new instance initialized with the values from the specified metadata object. This is a shallow copy constructor, because the other metadata contained in the given object are not recursively copied.- Parameters:
object
- the metadata to copy values from, ornull
if none.
-
-
Method Details
-
getStatement
@UML(identifier="statement", obligation=MANDATORY, specification=UNSPECIFIED) public org.opengis.util.InternationalString getStatement()Returns the textual expression of the descriptive result.- Returns:
- textual expression of the result.
-
setStatement
public void setStatement(org.opengis.util.InternationalString newValue) Sets the textual expression of the descriptive result.- Parameters:
newValue
- the new expression.
-