Class Constraints
java.lang.Object
org.apache.sis.metadata.AbstractMetadata
org.apache.sis.metadata.ModifiableMetadata
org.apache.sis.metadata.iso.ISOMetadata
org.apache.sis.metadata.iso.constraint.DefaultConstraints
org.apache.sis.internal.profile.fra.Constraints
- All Implemented Interfaces:
Serializable
,Emptiable
,LenientComparable
,IdentifiedObject
,org.opengis.metadata.constraint.Constraints
AFNOR extension to ISO
Constraints
.
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.Constraints
(org.opengis.metadata.constraint.Constraints 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.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
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor serialization purpose.- See Also:
-
citations
The documents that specifies the nature of the constraints.
-
-
Constructor Details
-
Constraints
public Constraints()Constructs an initially empty constraints. -
Constraints
public Constraints(org.opengis.metadata.constraint.Constraints 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.
-