org.geotools.metadata.iso.constraint
Class SecurityConstraintsImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by ConstraintsImpl
                  extended by SecurityConstraintsImpl
All Implemented Interfaces:
Serializable, Cloneable, Constraints, SecurityConstraints

public class SecurityConstraintsImpl
extends ConstraintsImpl
implements SecurityConstraints

Handling restrictions imposed on the resource for national security or similar security concerns.

Since:
2.1
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
SecurityConstraintsImpl()
          Creates an initially empty security constraints.
SecurityConstraintsImpl(Classification classification)
          Creates a security constraints initialized with the specified classification.
SecurityConstraintsImpl(SecurityConstraints source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 Classification getClassification()
          Returns the name of the handling restrictions on the resource.
 InternationalString getClassificationSystem()
          Returns the name of the classification system.
 InternationalString getHandlingDescription()
          Returns the additional information about the restrictions on handling the resource.
 InternationalString getUserNote()
          Returns the explanation of the application of the legal constraints or other restrictions and legal prerequisites for obtaining and using the resource.
 void setClassification(Classification newValue)
          Set the name of the handling restrictions on the resource.
 void setClassificationSystem(InternationalString newValue)
          Set the name of the classification system.
 void setHandlingDescription(InternationalString newValue)
          Set the additional information about the restrictions on handling the resource.
 void setUserNote(InternationalString newValue)
          Set the explanation of the application of the legal constraints or other restrictions and legal prerequisites for obtaining and using the resource.
 
Methods inherited from class ConstraintsImpl
getUseLimitation, setUseLimitation
 
Methods inherited from class MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface Constraints
getUseLimitation
 

Constructor Detail

SecurityConstraintsImpl

public SecurityConstraintsImpl()
Creates an initially empty security constraints.


SecurityConstraintsImpl

public SecurityConstraintsImpl(SecurityConstraints source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

SecurityConstraintsImpl

public SecurityConstraintsImpl(Classification classification)
Creates a security constraints initialized with the specified classification.

Method Detail

getClassification

public Classification getClassification()
Returns the name of the handling restrictions on the resource.

Specified by:
getClassification in interface SecurityConstraints
Returns:
Name of the handling restrictions on the resource.

setClassification

public void setClassification(Classification newValue)
Set the name of the handling restrictions on the resource.


getUserNote

public InternationalString getUserNote()
Returns the explanation of the application of the legal constraints or other restrictions and legal prerequisites for obtaining and using the resource.

Specified by:
getUserNote in interface SecurityConstraints
Returns:
Explanation of the application of the legal constraints, or null.

setUserNote

public void setUserNote(InternationalString newValue)
Set the explanation of the application of the legal constraints or other restrictions and legal prerequisites for obtaining and using the resource.


getClassificationSystem

public InternationalString getClassificationSystem()
Returns the name of the classification system.

Specified by:
getClassificationSystem in interface SecurityConstraints
Returns:
Name of the classification system, or null.

setClassificationSystem

public void setClassificationSystem(InternationalString newValue)
Set the name of the classification system.


getHandlingDescription

public InternationalString getHandlingDescription()
Returns the additional information about the restrictions on handling the resource.

Specified by:
getHandlingDescription in interface SecurityConstraints
Returns:
Additional information about the restrictions, or null.

setHandlingDescription

public void setHandlingDescription(InternationalString newValue)
Set the additional information about the restrictions on handling the resource.



Copyright © 1996-2014 Geotools. All Rights Reserved.