# Uses of Interface
org.opengis.metadata.constraint.Constraints

Packages that use Constraints
Package
Description
org.apache.sis.metadata.iso
Root package for ISO 19115 metadata about resources (data or services).
org.apache.sis.metadata.iso.constraint
Information about legal and security constraints placed on data.
org.apache.sis.metadata.iso.identification
Information to uniquely identify the data or service.
org.opengis.metadata
Root package for metadata.
org.opengis.metadata.constraint
Constraints information (includes legal and security).
org.opengis.metadata.identification
Identification information (includes data and service identification).

- ## Uses of Constraints in org.apache.sis.metadata.iso

  Methods in org.apache.sis.metadata.iso that return types with arguments of type Constraints
  Modifier and Type
  Method
  Description
  `Collection<Constraints>`
  DefaultMetadata.`getMetadataConstraints()`
  Returns restrictions on the access and use of metadata.
  Method parameters in org.apache.sis.metadata.iso with type arguments of type Constraints
  Modifier and Type
  Method
  Description
  `void`
  DefaultMetadata.`setMetadataConstraints(Collection<? extends Constraints> newValues)`
  Sets restrictions on the access and use of metadata.

- ## Uses of Constraints in org.apache.sis.metadata.iso.constraint

  Classes in org.apache.sis.metadata.iso.constraint that implement Constraints
  Modifier and Type
  Class
  Description
  `class`
  `DefaultConstraints`
  Restrictions on the access and use of a resource or metadata.
  `class`
  `DefaultLegalConstraints`
  Restrictions and legal prerequisites for accessing and using the resource.
  `class`
  `DefaultSecurityConstraints`
  Handling restrictions imposed on the resource for national security or similar security concerns.
  Methods in org.apache.sis.metadata.iso.constraint with parameters of type Constraints
  Modifier and Type
  Method
  Description
  `static DefaultConstraints`
  DefaultConstraints.`castOrCopy(Constraints object)`
  Returns a SIS metadata implementation with the values of the given arbitrary implementation.
  Constructors in org.apache.sis.metadata.iso.constraint with parameters of type Constraints
  Modifier
  Constructor
  Description
  ``
  `DefaultConstraints(Constraints object)`
  Constructs a new instance initialized with the values from the specified metadata object.

- ## Uses of Constraints in org.apache.sis.metadata.iso.identification

  Methods in org.apache.sis.metadata.iso.identification that return types with arguments of type Constraints
  Modifier and Type
  Method
  Description
  `Collection<Constraints>`
  DefaultBrowseGraphic.`getImageConstraints()`
  Returns the restrictions on access and / or use of browse graphic.
  `Collection<Constraints>`
  AbstractIdentification.`getResourceConstraints()`
  Provides information about constraints which apply to the resource(s).
  Method parameters in org.apache.sis.metadata.iso.identification with type arguments of type Constraints
  Modifier and Type
  Method
  Description
  `void`
  DefaultBrowseGraphic.`setImageConstraints(Collection<? extends Constraints> newValues)`
  Sets the restrictions on access and / or use of browse graphic.
  `void`
  AbstractIdentification.`setResourceConstraints(Collection<? extends Constraints> newValues)`
  Sets information about constraints which apply to the resource(s).

- ## Uses of Constraints in org.opengis.metadata

  Methods in org.opengis.metadata that return types with arguments of type Constraints
  Modifier and Type
  Method
  Description
  `Collection<? extends Constraints>`
  Metadata.`getMetadataConstraints()`
  Provides restrictions on the access and use of metadata.

- ## Uses of Constraints in org.opengis.metadata.constraint

  Subinterfaces of Constraints in org.opengis.metadata.constraint
  Modifier and Type
  Interface
  Description
  `interface`
  `LegalConstraints`
  Restrictions and legal prerequisites for accessing and using the resource.
  `interface`
  `SecurityConstraints`
  Handling restrictions imposed on the resource for national security or similar security concerns.

- ## Uses of Constraints in org.opengis.metadata.identification

  Methods in org.opengis.metadata.identification that return types with arguments of type Constraints
  Modifier and Type
  Method
  Description
  `Collection<? extends Constraints>`
  Identification.`getResourceConstraints()`
  Provides information about constraints which apply to the resource(s).