public class DefaultSecurityConstraints extends DefaultConstraints implements SecurityConstraints
MD_SecurityConstraints
└─classification………… Name of the handling restrictions on the resource.Limitations:
XML instead.Defined in the sis-metadata module
identifiers| 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, setUseLimitationsfreeze, getIdentifierMap, getIdentifiers, getStandardcheckWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSetasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringgetUseLimitationspublic 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 SecurityConstraintsnull.public void setClassification(Classification newValue)
newValue - the new classification.public InternationalString getUserNote()
getUserNote in interface SecurityConstraintsnull.public void setUserNote(InternationalString newValue)
newValue - the new user note.public InternationalString getClassificationSystem()
getClassificationSystem in interface SecurityConstraintsnull.public void setClassificationSystem(InternationalString newValue)
newValue - the new classification system.public InternationalString getHandlingDescription()
getHandlingDescription in interface SecurityConstraintsnull.public void setHandlingDescription(InternationalString newValue)
newValue - the new handling description.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.