public class PolicyTypeImpl extends AbstractXACMLObject implements PolicyType
PolicyType.DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, POLICY_ID_ATTRIB_NAME, RULE_COMBINING_ALG_ID_ATTRIB_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME, VERSION_ATTRIB_NAME, VERSION_DEFAULT_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
PolicyTypeImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<CombinerParametersType> |
getCombinerParameters()
Gets the combiner parameters for this policy.
|
DescriptionType |
getDescription()
Gets the description for this policy.
|
ObligationsType |
getObligations()
Gets the obligations of this policy.
|
List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
DefaultsType |
getPolicyDefaults()
Gets the defaults for this policy.
|
String |
getPolicyId()
Gets the ID of this policy.
|
List<RuleCombinerParametersType> |
getRuleCombinerParameters()
Gets the rule combiner parameters for this policy.
|
String |
getRuleCombiningAlgoId()
Gets the rule combining algorithm used with this policy.
|
List<RuleType> |
getRules()
Gets the rules for this policy.
|
TargetType |
getTarget()
Gets the target of this policy.
|
List<VariableDefinitionType> |
getVariableDefinitions()
Gets the variable definition for this policy.
|
String |
getVersion()
Gets the XACML version of this policy.
|
void |
setDescription(DescriptionType newDescription)
Sets the description for this policy.
|
void |
setObligations(ObligationsType newObligations)
Sets the obligations of this policy.
|
void |
setPolicyDefaults(DefaultsType defaults)
Sets the defaults for this policy.
|
void |
setPolicyId(String id)
Sets the ID of this policy.
|
void |
setRuleCombiningAlgoId(String id)
Sets the rule combining algorithm used with this policy.
|
void |
setTarget(TargetType newTarget)
Sets the target of this policy.
|
void |
setVersion(String newVersion)
Sets the XACML version of this policy.
|
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationprotected PolicyTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI - the namespace the element is inelementLocalName - the local name of the XML element this Object representsnamespacePrefix - the prefix for the given namespacepublic List<CombinerParametersType> getCombinerParameters()
getCombinerParameters in interface PolicyTypepublic DescriptionType getDescription()
getDescription in interface PolicyTypepublic ObligationsType getObligations()
getObligations in interface PolicyTypepublic DefaultsType getPolicyDefaults()
getPolicyDefaults in interface PolicyTypepublic String getPolicyId()
getPolicyId in interface PolicyTypepublic List<RuleCombinerParametersType> getRuleCombinerParameters()
getRuleCombinerParameters in interface PolicyTypepublic String getRuleCombiningAlgoId()
getRuleCombiningAlgoId in interface PolicyTypepublic List<RuleType> getRules()
getRules in interface PolicyTypepublic TargetType getTarget()
getTarget in interface PolicyTypepublic List<VariableDefinitionType> getVariableDefinitions()
getVariableDefinitions in interface PolicyTypepublic String getVersion()
getVersion in interface PolicyTypepublic void setDescription(DescriptionType newDescription)
setDescription in interface PolicyTypenewDescription - description for this policypublic void setObligations(ObligationsType newObligations)
setObligations in interface PolicyTypenewObligations - obligations of this policypublic void setPolicyDefaults(DefaultsType defaults)
setPolicyDefaults in interface PolicyTypedefaults - defaults for this policypublic void setPolicyId(String id)
setPolicyId in interface PolicyTypeid - ID of this policypublic void setRuleCombiningAlgoId(String id)
setRuleCombiningAlgoId in interface PolicyTypeid - rule combining algorithm used with this policypublic void setTarget(TargetType newTarget)
setTarget in interface PolicyTypenewTarget - target of this policypublic void setVersion(String newVersion)
setVersion in interface PolicyTypenewVersion - XACML version of this policypublic List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObjectCopyright © 2021. All rights reserved.