Class LegalConstraints

All Implemented Interfaces:
Serializable, Emptiable, LenientComparable, IdentifiedObject, org.opengis.metadata.constraint.Constraints, org.opengis.metadata.constraint.LegalConstraints

public class LegalConstraints extends DefaultLegalConstraints
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:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For serialization purpose.
      See Also:
    • citations

      private Collection<org.opengis.metadata.citation.Citation> 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, or null if none.
  • Method Details

    • getCitations

      public Collection<org.opengis.metadata.citation.Citation> getCitations()
      Returns the documents that specifies the nature of the constraints.
      Returns:
      citations to the current documents.
    • setCitations

      public void setCitations(Collection<? extends org.opengis.metadata.citation.Citation> newValues)
      Sets the documents that specifies the nature of the constraints.
      Parameters:
      newValues - citation to the new documents.