Class LegalConstraints
- All Implemented Interfaces:
Serializable, Emptiable, LenientComparable, IdentifiedObject, org.opengis.metadata.constraint.Constraints, org.opengis.metadata.constraint.LegalConstraints
AFNOR extension to ISO
LegalConstraints.
This extension adds a getCitations() property citing the documents that specify the constraints.
In the 2013 revision of ISO 19115, this property is available as DefaultConstraints.getReferences().
The following schema fragment specifies the expected content contained within this class.
- Since:
- 0.4
- Version:
- 0.4
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ModifiableMetadata
ModifiableMetadata.State -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Collection<org.opengis.metadata.citation.Citation> The documents that specifies the nature of the constraints.private static final longFor serialization purpose.Fields inherited from class ISOMetadata
identifiers -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an initially empty constraints.LegalConstraints(org.opengis.metadata.constraint.LegalConstraints object) Constructs an instance initialized to a copy of the given object. -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.opengis.metadata.citation.Citation> Returns the documents that specifies the nature of the constraints.voidsetCitations(Collection<? extends org.opengis.metadata.citation.Citation> newValues) Sets the documents that specifies the nature of the constraints.Methods inherited from class DefaultLegalConstraints
castOrCopy, getAccessConstraints, getOtherConstraints, getUseConstraints, setAccessConstraints, setOtherConstraints, setUseConstraintsMethods inherited from class DefaultConstraints
castOrCopy, getConstraintApplicationScope, getGraphics, getReferences, getReleasability, getResponsibleParties, getUseLimitations, setConstraintApplicationScope, setGraphics, setReferences, setReleasability, setResponsibleParties, setUseLimitationsMethods inherited from class ISOMetadata
getIdentifier, getIdentifierMap, getIdentifiers, getStandard, setIdentifier, transitionToMethods inherited from class ModifiableMetadata
checkWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSetMethods inherited from class AbstractMetadata
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringMethods inherited from interface org.opengis.metadata.constraint.Constraints
getUseLimitations
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor serialization purpose.- See Also:
-
citations
The documents that specifies the nature of the constraints.
-
-
Constructor Details
-
LegalConstraints
public LegalConstraints()Constructs an initially empty constraints. -
LegalConstraints
public LegalConstraints(org.opengis.metadata.constraint.LegalConstraints object) Constructs an instance initialized to a copy of the given object. This constructor does not copy the FRA-specific properties.- Parameters:
object- the metadata to copy values from, ornullif none.
-
-
Method Details
-
getCitations
Returns the documents that specifies the nature of the constraints.- Returns:
- citations to the current documents.
-
setCitations
Sets the documents that specifies the nature of the constraints.- Parameters:
newValues- citation to the new documents.
-