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, setSchemaType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
protected 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 PolicyType
public DescriptionType getDescription()
getDescription
in interface PolicyType
public ObligationsType getObligations()
getObligations
in interface PolicyType
public DefaultsType getPolicyDefaults()
getPolicyDefaults
in interface PolicyType
public String getPolicyId()
getPolicyId
in interface PolicyType
public List<RuleCombinerParametersType> getRuleCombinerParameters()
getRuleCombinerParameters
in interface PolicyType
public String getRuleCombiningAlgoId()
getRuleCombiningAlgoId
in interface PolicyType
public List<RuleType> getRules()
getRules
in interface PolicyType
public TargetType getTarget()
getTarget
in interface PolicyType
public List<VariableDefinitionType> getVariableDefinitions()
getVariableDefinitions
in interface PolicyType
public String getVersion()
getVersion
in interface PolicyType
public void setDescription(DescriptionType newDescription)
setDescription
in interface PolicyType
newDescription
- description for this policypublic void setObligations(ObligationsType newObligations)
setObligations
in interface PolicyType
newObligations
- obligations of this policypublic void setPolicyDefaults(DefaultsType defaults)
setPolicyDefaults
in interface PolicyType
defaults
- defaults for this policypublic void setPolicyId(String id)
setPolicyId
in interface PolicyType
id
- ID of this policypublic void setRuleCombiningAlgoId(String id)
setRuleCombiningAlgoId
in interface PolicyType
id
- rule combining algorithm used with this policypublic void setTarget(TargetType newTarget)
setTarget
in interface PolicyType
newTarget
- target of this policypublic void setVersion(String newVersion)
setVersion
in interface PolicyType
newVersion
- XACML version of this policypublic List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
Copyright © 2016 JBoss by Red Hat. All rights reserved.