# Uses of Class
org.opengis.metadata.constraint.Restriction

Packages that use Restriction
Package
Description
org.apache.sis.metadata.iso.constraint
Information about legal and security constraints placed on data.
org.opengis.metadata.constraint
Constraints information (includes legal and security).

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

  Methods in org.apache.sis.metadata.iso.constraint that return types with arguments of type Restriction
  Modifier and Type
  Method
  Description
  `Collection<Restriction>`
  DefaultLegalConstraints.`getAccessConstraints()`
  Returns the access constraints applied to assure the protection of privacy or intellectual property, and any special restrictions or limitations on obtaining the resource.
  `Collection<Restriction>`
  DefaultReleasability.`getDisseminationConstraints()`
  Components in determining releasability.
  `Collection<Restriction>`
  DefaultLegalConstraints.`getUseConstraints()`
  Returns the constraints applied to assure the protection of privacy or intellectual property, and any special restrictions or limitations or warnings on using the resource.
  Method parameters in org.apache.sis.metadata.iso.constraint with type arguments of type Restriction
  Modifier and Type
  Method
  Description
  `void`
  DefaultLegalConstraints.`setAccessConstraints(Collection<? extends Restriction> newValues)`
  Sets the access constraints applied to assure the protection of privacy or intellectual property, and any special restrictions or limitations on obtaining the resource.
  `void`
  DefaultReleasability.`setDisseminationConstraints(Collection<? extends Restriction> newValues)`
  Sets the components in determining releasability.
  `void`
  DefaultLegalConstraints.`setUseConstraints(Collection<? extends Restriction> newValues)`
  Sets the constraints applied to assure the protection of privacy or intellectual property, and any special restrictions or limitations or warnings on using the resource.

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

  Subclasses with type arguments of type Restriction in org.opengis.metadata.constraint
  Modifier and Type
  Class
  Description
  `final class`
  `Restriction`
  Limitation(s) placed upon the access or use of the data.
  Fields in org.opengis.metadata.constraint declared as Restriction
  Modifier and Type
  Field
  Description
  `static final Restriction`
  Restriction.`COPYRIGHT`
  Exclusive right to the publication, production, or sale of the rights to a literary, dramatic, musical, or artistic work, or to the use of a commercial print or label, granted by law for a specified period of time to an author, composer, artist, distributor.
  `static final Restriction`
  Restriction.`INTELLECTUAL_PROPERTY_RIGHTS`
  Rights to financial benefit from and control of distribution of non-tangible property that is a result of creativity.
  `static final Restriction`
  Restriction.`LICENSE`
  Formal permission to do something.
  `static final Restriction`
  Restriction.`OTHER_RESTRICTIONS`
  Limitation not listed.
  `static final Restriction`
  Restriction.`PATENT`
  Government has granted exclusive right to make, sell, use or license an invention or discovery.
  `static final Restriction`
  Restriction.`PATENT_PENDING`
  Produced or sold information awaiting a patent.
  `static final Restriction`
  Restriction.`RESTRICTED`
  Withheld from general circulation or disclosure.
  `static final Restriction`
  Restriction.`TRADEMARK`
  A name, symbol, or other device identifying a product, officially registered and legally restricted to the use of the owner or manufacturer.
  Methods in org.opengis.metadata.constraint that return Restriction
  Modifier and Type
  Method
  Description
  `Restriction[]`
  Restriction.`family()`
  Returns the list of enumerations of the same kind as this enum.
  `static Restriction`
  Restriction.`valueOf(String code)`
  Returns the restriction that matches the given string, or returns a new one if none match it.
  `static Restriction[]`
  Restriction.`values()`
  Returns the list of `Restriction`s.
  Methods in org.opengis.metadata.constraint that return types with arguments of type Restriction
  Modifier and Type
  Method
  Description
  `Collection<Restriction>`
  LegalConstraints.`getAccessConstraints()`
  Access constraints applied to assure the protection of privacy or intellectual property, and any special restrictions or limitations on obtaining the resource.
  `Collection<Restriction>`
  LegalConstraints.`getUseConstraints()`
  Constraints applied to assure the protection of privacy or intellectual property, and any special restrictions or limitations or warnings on using the resource.