org.geotools.metadata.iso.constraint
Class SecurityConstraintsImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.constraint.ConstraintsImpl
          extended byorg.geotools.metadata.iso.constraint.SecurityConstraintsImpl
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.metadata.constraint.Constraints, org.opengis.metadata.constraint.SecurityConstraints, java.io.Serializable

public class SecurityConstraintsImpl
extends ConstraintsImpl
implements org.opengis.metadata.constraint.SecurityConstraints

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

Since:
2.1
Version:
$Id: SecurityConstraintsImpl.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
SecurityConstraintsImpl()
          Creates an initially empty security constraints.
SecurityConstraintsImpl(org.opengis.metadata.constraint.Classification classification)
          Creates a security constraints initialized with the specified classification.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this security constraints with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 org.opengis.metadata.constraint.Classification getClassification()
          Returns the name of the handling restrictions on the resource.
 org.opengis.util.InternationalString getClassificationSystem()
          Returns the name of the classification system.
 org.opengis.util.InternationalString getHandlingDescription()
          Returns the additional information about the restrictions on handling the resource.
 org.opengis.util.InternationalString getUserNote()
          Returns the explanation of the application of the legal constraints or other restrictions and legal prerequisites for obtaining and using the resource.
 int hashCode()
          Returns a hash code value for this constraints.
 void setClassification(org.opengis.metadata.constraint.Classification newValue)
          Set the name of the handling restrictions on the resource.
 void setClassificatonSystem(org.opengis.util.InternationalString newValue)
          Set the name of the classification system.
 void setHandlingDescription(org.opengis.util.InternationalString newValue)
          Set the additional information about the restrictions on handling the resource.
 void setUserNote(org.opengis.util.InternationalString newValue)
          Set the explanation of the application of the legal constraints or other restrictions and legal prerequisites for obtaining and using the resource.
 java.lang.String toString()
          Returns a string representation of this constraints.
 
Methods inherited from class org.geotools.metadata.iso.constraint.ConstraintsImpl
getUseLimitation, setUseLimitation
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.metadata.constraint.Constraints
getUseLimitation
 

Constructor Detail

SecurityConstraintsImpl

public SecurityConstraintsImpl()
Creates an initially empty security constraints.


SecurityConstraintsImpl

public SecurityConstraintsImpl(org.opengis.metadata.constraint.Classification classification)
Creates a security constraints initialized with the specified classification.

Method Detail

getClassification

public org.opengis.metadata.constraint.Classification getClassification()
Returns the name of the handling restrictions on the resource.

Specified by:
getClassification in interface org.opengis.metadata.constraint.SecurityConstraints

setClassification

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


getUserNote

public org.opengis.util.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 org.opengis.metadata.constraint.SecurityConstraints

setUserNote

public void setUserNote(org.opengis.util.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 org.opengis.util.InternationalString getClassificationSystem()
Returns the name of the classification system.

Specified by:
getClassificationSystem in interface org.opengis.metadata.constraint.SecurityConstraints

setClassificatonSystem

public void setClassificatonSystem(org.opengis.util.InternationalString newValue)
Set the name of the classification system.


getHandlingDescription

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

Specified by:
getHandlingDescription in interface org.opengis.metadata.constraint.SecurityConstraints

setHandlingDescription

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


freeze

protected void freeze()
Declare this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class ConstraintsImpl

equals

public boolean equals(java.lang.Object object)
Compare this security constraints with the specified object for equality.

Overrides:
equals in class ConstraintsImpl

hashCode

public int hashCode()
Returns a hash code value for this constraints.

Overrides:
hashCode in class ConstraintsImpl

toString

public java.lang.String toString()
Returns a string representation of this constraints.

Overrides:
toString in class ConstraintsImpl


Copyright © GeoTools. All Rights Reserved.