org.opengis.metadata.constraint
Class Classification

Object
  extended by CodeList<Classification>
      extended by Classification
All Implemented Interfaces:
Serializable, Comparable<Classification>

@UML(identifier="MD_ClassificationCode",
     specification=ISO_19115)
public final class Classification
extends CodeList<Classification>

Name of the handling restrictions on the dataset.

Since:
GeoAPI 2.0
Author:
Martin Desruisseaux (IRD)
See Also:
Serialized Form

Field Summary
static Classification CONFIDENTIAL
          Available for someone who can be entrusted with information.
static Classification RESTRICTED
          Not for general disclosure.
static Classification SECRET
          Kept or meant to be kept private, unknown, or hidden from all but a select group of people.
static Classification TOP_SECRET
          Of the highest secrecy.
static Classification UNCLASSIFIED
          Available for general disclosure.
 
Method Summary
 Classification[] family()
          Returns the list of enumerations of the same kind than this enum.
static Classification valueOf(String code)
          Returns the classification that matches the given string, or returns a new one if none match it.
static Classification[] values()
          Returns the list of Classifications.
 
Methods inherited from class CodeList
compareTo, equals, identifier, matches, name, ordinal, readResolve, toString, valueOf
 
Methods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNCLASSIFIED

@UML(identifier="unclassified",
     obligation=CONDITIONAL,
     specification=ISO_19115)
public static final Classification UNCLASSIFIED
Available for general disclosure.


RESTRICTED

@UML(identifier="restricted",
     obligation=CONDITIONAL,
     specification=ISO_19115)
public static final Classification RESTRICTED
Not for general disclosure.


CONFIDENTIAL

@UML(identifier="confidential",
     obligation=CONDITIONAL,
     specification=ISO_19115)
public static final Classification CONFIDENTIAL
Available for someone who can be entrusted with information.


SECRET

@UML(identifier="secret",
     obligation=CONDITIONAL,
     specification=ISO_19115)
public static final Classification SECRET
Kept or meant to be kept private, unknown, or hidden from all but a select group of people.


TOP_SECRET

@UML(identifier="topsecret",
     obligation=CONDITIONAL,
     specification=ISO_19115)
public static final Classification TOP_SECRET
Of the highest secrecy.

Method Detail

values

public static Classification[] values()
Returns the list of Classifications.

Returns:
The list of codes declared in the current JVM.

family

public Classification[] family()
Returns the list of enumerations of the same kind than this enum.

Specified by:
family in class CodeList<Classification>
Returns:
The codes of the same kind than this code.

valueOf

public static Classification valueOf(String code)
Returns the classification that matches the given string, or returns a new one if none match it.

Parameters:
code - The name of the code to fetch or to create.
Returns:
A code matching the given name.


Copyright © 1996-2014 Geotools. All Rights Reserved.