public class PolicyTypeImpl extends AbstractXACMLObject implements PolicyType
PolicyType.| Modifier and Type | Field and Description |
|---|---|
private IndexedXMLObjectChildrenList<? extends XACMLObject> |
choiceGroup
Elements within the choice group.
|
private DescriptionType |
description
Policy description.
|
private ObligationsType |
obligations
Policy obligations.
|
private DefaultsType |
policyDefaults
Policy defaults.
|
private java.lang.String |
policyId
ID of this policy.
|
private java.lang.String |
ruleCombiningAlgo
Rule combinging algorithm ID.
|
private TargetType |
target
Policy target.
|
private java.lang.String |
version
Version of this policy.
|
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(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.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.
|
java.util.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.
|
java.lang.String |
getPolicyId()
Gets the ID of this policy.
|
java.util.List<RuleCombinerParametersType> |
getRuleCombinerParameters()
Gets the rule combiner parameters for this policy.
|
java.lang.String |
getRuleCombiningAlgoId()
Gets the rule combining algorithm used with this policy.
|
java.util.List<RuleType> |
getRules()
Gets the rules for this policy.
|
TargetType |
getTarget()
Gets the target of this policy.
|
java.util.List<VariableDefinitionType> |
getVariableDefinitions()
Gets the variable definition for this policy.
|
java.lang.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(java.lang.String id)
Sets the ID of this policy.
|
void |
setRuleCombiningAlgoId(java.lang.String id)
Sets the rule combining algorithm used with this policy.
|
void |
setTarget(TargetType newTarget)
Sets the target of this policy.
|
void |
setVersion(java.lang.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, setSchemaLocationprivate DescriptionType description
private DefaultsType policyDefaults
private TargetType target
private IndexedXMLObjectChildrenList<? extends XACMLObject> choiceGroup
private ObligationsType obligations
private java.lang.String policyId
private java.lang.String version
private java.lang.String ruleCombiningAlgo
protected PolicyTypeImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.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 java.util.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 java.lang.String getPolicyId()
getPolicyId in interface PolicyTypepublic java.util.List<RuleCombinerParametersType> getRuleCombinerParameters()
getRuleCombinerParameters in interface PolicyTypepublic java.lang.String getRuleCombiningAlgoId()
getRuleCombiningAlgoId in interface PolicyTypepublic java.util.List<RuleType> getRules()
getRules in interface PolicyTypepublic TargetType getTarget()
getTarget in interface PolicyTypepublic java.util.List<VariableDefinitionType> getVariableDefinitions()
getVariableDefinitions in interface PolicyTypepublic java.lang.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(java.lang.String id)
setPolicyId in interface PolicyTypeid - ID of this policypublic void setRuleCombiningAlgoId(java.lang.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(java.lang.String newVersion)
setVersion in interface PolicyTypenewVersion - XACML version of this policypublic java.util.List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObject