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 org.apache.sis.metadata.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 long
For serialization purpose.Fields inherited from class org.apache.sis.metadata.iso.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.void
setCitations
(Collection<? extends org.opengis.metadata.citation.Citation> newValues) Sets the documents that specifies the nature of the constraints.Methods inherited from class org.apache.sis.metadata.iso.constraint.DefaultLegalConstraints
castOrCopy, getAccessConstraints, getOtherConstraints, getUseConstraints, setAccessConstraints, setOtherConstraints, setUseConstraints
Methods inherited from class org.apache.sis.metadata.iso.constraint.DefaultConstraints
castOrCopy, getConstraintApplicationScope, getGraphics, getReferences, getReleasability, getResponsibleParties, getUseLimitations, setConstraintApplicationScope, setGraphics, setReferences, setReleasability, setResponsibleParties, setUseLimitations
Methods inherited from class org.apache.sis.metadata.iso.ISOMetadata
getIdentifier, getIdentifierMap, getIdentifiers, getStandard, 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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, ornull
if 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.
-