## org.opengis.metadata.constraint
Class Restriction

    Object
      CodeList<Restriction>
          Restriction

All Implemented Interfaces:
  Serializable, Comparable<Restriction>

    @UML(identifier="MD_RestrictionCode",
         specification=ISO_19115)
    public final class Restriction

extends CodeList<Restriction>

Limitation(s) placed upon the access or use of the data.

Since:
  GeoAPI 2.0
See Also:
  Serialized Form

Field Summary
`static 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 Restriction` `INTELLECTUAL_PROPERTY_RIGHTS` Rights to financial benefit from and control of distribution of non-tangible property that is a result of creativity.
`static Restriction` `LICENSE` Formal permission to do something.
`static Restriction` `OTHER_RESTRICTIONS` Limitation not listed.
`static Restriction` `PATENT` Government has granted exclusive right to make, sell, use or license an invention or discovery.
`static Restriction` `PATENT_PENDING` Produced or sold information awaiting a patent.
`static Restriction` `RESTRICTED` Withheld from general circulation or disclosure.
`static Restriction` `TRADEMARK` A name, symbol, or other device identifying a product, officially registered and legally restricted to the use of the owner or manufacturer.

Method Summary
`CodeList[]` `family()` Returns the list of enumerations of the same kind than this enum.
`static Restriction` `valueOf(String code)` Returns the Restriction that matches the given string, or returns a new one if none match it.
`static Restriction[]` `values()` Returns the list of `Restriction`s.

Methods inherited from class CodeList
`compareTo, name, ordinal, readResolve, toString`

Methods inherited from class Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### COPYRIGHT

    @UML(identifier="copyright",
         obligation=CONDITIONAL,
         specification=ISO_19115)
    public static final 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.

### PATENT

    @UML(identifier="patent",
         obligation=CONDITIONAL,
         specification=ISO_19115)
    public static final Restriction PATENT

  Government has granted exclusive right to make, sell, use or license an invention or discovery.

### PATENT_PENDING

    @UML(identifier="patentPending",
         obligation=CONDITIONAL,
         specification=ISO_19115)
    public static final Restriction PATENT_PENDING

  Produced or sold information awaiting a patent.

### TRADEMARK

    @UML(identifier="trademark",
         obligation=CONDITIONAL,
         specification=ISO_19115)
    public static final Restriction TRADEMARK

  A name, symbol, or other device identifying a product, officially registered and legally restricted to the use of the owner or manufacturer.

### LICENSE

    @UML(identifier="license",
         obligation=CONDITIONAL,
         specification=ISO_19115)
    public static final Restriction LICENSE

  Formal permission to do something.

### INTELLECTUAL_PROPERTY_RIGHTS

    @UML(identifier="intellectualPropertyRights",
         obligation=CONDITIONAL,
         specification=ISO_19115)
    public static final Restriction INTELLECTUAL_PROPERTY_RIGHTS

  Rights to financial benefit from and control of distribution of non-tangible property that is a result of creativity.

### RESTRICTED

    @UML(identifier="restricted",
         obligation=CONDITIONAL,
         specification=ISO_19115)
    public static final Restriction RESTRICTED

  Withheld from general circulation or disclosure.

### OTHER_RESTRICTIONS

    @UML(identifier="otherRestictions",
         obligation=CONDITIONAL,
         specification=ISO_19115)
    public static final Restriction OTHER_RESTRICTIONS

  Limitation not listed.

Method Detail

### values

    public static Restriction[] values()

  Returns the list of `Restriction`s.

### family

    public CodeList[] family()

  Returns the list of enumerations of the same kind than this enum.

  Specified by:
    `family` in class `CodeList<Restriction>`

### valueOf

    public static Restriction valueOf(String code)

  Returns the Restriction that matches the given string, or returns a new one if none match it.

Copyright © 1994-2008 Open Geospatial Consortium. All Rights Reserved.