- All Implemented Interfaces:
Serializable
,Comparable<Classification>
,ControlledVocabulary
@UML(identifier="MD_ClassificationCode",
specification=ISO_19115)
public final class Classification
extends CodeList<Classification>
Name of the handling restrictions on the dataset.
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Classification
Available for someone who can be entrusted with information.static final Classification
Unclassified information that is to be used only for official purposes determinate by the designating body.static final Classification
Dissemination limited by designating body.static final Classification
Compromise of the information could cause damage.static final Classification
Not for general disclosure.static final Classification
Kept or meant to be kept private, unknown, or hidden from all but a select group of people.static final Classification
Although unclassified, requires strict controls over its distribution.static final Classification
Of the highest secrecy.static final Classification
Available for general disclosure. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of codes of the same kind as this code list element.static Classification
Returns the classification that matches the given string, or returns a new one if none match it.static Classification[]
values()
Returns the list ofClassification
s.Methods inherited from class org.opengis.util.CodeList
compareTo, identifier, name, ordinal, readResolve, toString, valueOf, valueOf, valueOf, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.util.ControlledVocabulary
names
-
Field Details
-
UNCLASSIFIED
@UML(identifier="unclassified", obligation=CONDITIONAL, specification=ISO_19115) public static final Classification UNCLASSIFIEDAvailable for general disclosure. -
RESTRICTED
@UML(identifier="restricted", obligation=CONDITIONAL, specification=ISO_19115) public static final Classification RESTRICTEDNot for general disclosure. -
CONFIDENTIAL
@UML(identifier="confidential", obligation=CONDITIONAL, specification=ISO_19115) public static final Classification CONFIDENTIALAvailable for someone who can be entrusted with information. -
SECRET
@UML(identifier="secret", obligation=CONDITIONAL, specification=ISO_19115) public static final Classification SECRETKept 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_SECRETOf the highest secrecy. -
SENSITIVE_BUT_UNCLASSIFIED
@UML(identifier="sensitiveButUnclassified", obligation=CONDITIONAL, specification=ISO_19115) public static final Classification SENSITIVE_BUT_UNCLASSIFIEDAlthough unclassified, requires strict controls over its distribution.- Since:
- 3.1
-
FOR_OFFICIAL_USE_ONLY
@UML(identifier="forOfficialUseOnly", obligation=CONDITIONAL, specification=ISO_19115) public static final Classification FOR_OFFICIAL_USE_ONLYUnclassified information that is to be used only for official purposes determinate by the designating body.- Since:
- 3.1
-
PROTECTED
@UML(identifier="protected", obligation=CONDITIONAL, specification=ISO_19115) public static final Classification PROTECTEDCompromise of the information could cause damage.- Since:
- 3.1
-
LIMITED_DISTRIBUTION
@UML(identifier="limitedDistribution", obligation=CONDITIONAL, specification=ISO_19115) public static final Classification LIMITED_DISTRIBUTIONDissemination limited by designating body.- Since:
- 3.1
-
-
Method Details
-
values
Returns the list ofClassification
s.- Returns:
- the list of codes declared in the current JVM.
-
family
Returns the list of codes of the same kind as this code list element. Invoking this method is equivalent to invokingvalues()
, except that this method can be invoked on an instance of the parentCodeList
class.- Specified by:
family
in interfaceControlledVocabulary
- Specified by:
family
in classCodeList<Classification>
- Returns:
- all code values for this code list.
-
valueOf
Returns the classification that matches the given string, or returns a new one if none match it. This methods returns the first instance (in declaration order) for which the name is equals, ignoring case, to the given name. If no existing instance is found, then a new one is created for the given name.- Parameters:
code
- the name of the code to fetch or to create.- Returns:
- a code matching the given name.
-