public class DefaultSecurityConstraints extends DefaultConstraints implements SecurityConstraints
Limitations:
XML
instead.Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultSecurityConstraints()
Creates an initially empty security constraints.
|
DefaultSecurityConstraints(CharSequence useLimitation)
Constructs a new constraints with the given use limitation.
|
DefaultSecurityConstraints(Classification classification)
Creates a security constraints initialized with the specified classification.
|
DefaultSecurityConstraints(SecurityConstraints object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultSecurityConstraints |
castOrCopy(SecurityConstraints object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
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)
Sets the name of the handling restrictions on the resource.
|
void |
setClassificationSystem(InternationalString newValue)
Sets the name of the classification system.
|
void |
setHandlingDescription(InternationalString newValue)
Sets the additional information about the restrictions on handling the resource.
|
void |
setUserNote(InternationalString newValue)
Sets the explanation of the application of the legal constraints or other restrictions and legal
prerequisites for obtaining and using the resource.
|
castOrCopy, getConstraintApplicationScope, getGraphics, getReferences, getReleasability, getResponsibleParties, getUseLimitations, setConstraintApplicationScope, setGraphics, setReferences, setReleasability, setResponsibleParties, setUseLimitations
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
getUseLimitations
public DefaultSecurityConstraints()
public DefaultSecurityConstraints(CharSequence useLimitation)
useLimitation
- The use limitation, or null
if none.public DefaultSecurityConstraints(Classification classification)
classification
- The name of the handling restrictions on the resource, or null
.public DefaultSecurityConstraints(SecurityConstraints object)
object
- The metadata to copy values from, or null
if none.castOrCopy(SecurityConstraints)
public static DefaultSecurityConstraints castOrCopy(SecurityConstraints object)
null
, then this method returns null
.DefaultSecurityConstraints
, then it is returned unchanged.DefaultSecurityConstraints
instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object
- The object to get as a SIS implementation, or null
if none.null
if the argument was null.public Classification getClassification()
getClassification
in interface SecurityConstraints
null
.public void setClassification(Classification newValue)
newValue
- The new classification.public InternationalString getUserNote()
getUserNote
in interface SecurityConstraints
null
.public void setUserNote(InternationalString newValue)
newValue
- The new user note.public InternationalString getClassificationSystem()
getClassificationSystem
in interface SecurityConstraints
null
.public void setClassificationSystem(InternationalString newValue)
newValue
- The new classification system.public InternationalString getHandlingDescription()
getHandlingDescription
in interface SecurityConstraints
null
.public void setHandlingDescription(InternationalString newValue)
newValue
- The new handling description.Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.