Package org.opensaml.xacml.policy.impl
Class PolicyTypeImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xacml.impl.AbstractXACMLObject
-
- org.opensaml.xacml.policy.impl.PolicyTypeImpl
-
- All Implemented Interfaces:
XMLObject,PolicyType,XACMLObject
public class PolicyTypeImpl extends AbstractXACMLObject implements PolicyType
Concrete implemenation ofPolicyType.
-
-
Field Summary
Fields Modifier and Type Field Description private IndexedXMLObjectChildrenList<? extends XACMLObject>choiceGroupElements within the choice group.private DescriptionTypedescriptionPolicy description.private ObligationsTypeobligationsPolicy obligations.private DefaultsTypepolicyDefaultsPolicy defaults.private StringpolicyIdID of this policy.private StringruleCombiningAlgoRule combinging algorithm ID.private TargetTypetargetPolicy target.private StringversionVersion of this policy.-
Fields inherited from interface org.opensaml.xacml.policy.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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPolicyTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CombinerParametersType>getCombinerParameters()DescriptionTypegetDescription()ObligationsTypegetObligations()List<XMLObject>getOrderedChildren()DefaultsTypegetPolicyDefaults()StringgetPolicyId()List<RuleCombinerParametersType>getRuleCombinerParameters()StringgetRuleCombiningAlgoId()List<RuleType>getRules()TargetTypegetTarget()List<VariableDefinitionType>getVariableDefinitions()StringgetVersion()voidsetDescription(DescriptionType newDescription)voidsetObligations(ObligationsType newObligations)voidsetPolicyDefaults(DefaultsType defaults)voidsetPolicyId(String id)voidsetRuleCombiningAlgoId(String id)voidsetTarget(TargetType newTarget)voidsetVersion(String newVersion)-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
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
-
-
-
-
Field Detail
-
description
private DescriptionType description
Policy description.
-
policyDefaults
private DefaultsType policyDefaults
Policy defaults.
-
target
private TargetType target
Policy target.
-
choiceGroup
private IndexedXMLObjectChildrenList<? extends XACMLObject> choiceGroup
Elements within the choice group.
-
obligations
private ObligationsType obligations
Policy obligations.
-
policyId
private String policyId
ID of this policy.
-
version
private String version
Version of this policy.
-
ruleCombiningAlgo
private String ruleCombiningAlgo
Rule combinging algorithm ID.
-
-
Constructor Detail
-
PolicyTypeImpl
protected PolicyTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
getCombinerParameters
public List<CombinerParametersType> getCombinerParameters()
- Specified by:
getCombinerParametersin interfacePolicyType
-
getDescription
public DescriptionType getDescription()
- Specified by:
getDescriptionin interfacePolicyType
-
getObligations
public ObligationsType getObligations()
- Specified by:
getObligationsin interfacePolicyType
-
getPolicyDefaults
public DefaultsType getPolicyDefaults()
- Specified by:
getPolicyDefaultsin interfacePolicyType
-
getPolicyId
public String getPolicyId()
- Specified by:
getPolicyIdin interfacePolicyType
-
getRuleCombinerParameters
public List<RuleCombinerParametersType> getRuleCombinerParameters()
- Specified by:
getRuleCombinerParametersin interfacePolicyType
-
getRuleCombiningAlgoId
public String getRuleCombiningAlgoId()
- Specified by:
getRuleCombiningAlgoIdin interfacePolicyType
-
getRules
public List<RuleType> getRules()
- Specified by:
getRulesin interfacePolicyType
-
getTarget
public TargetType getTarget()
- Specified by:
getTargetin interfacePolicyType
-
getVariableDefinitions
public List<VariableDefinitionType> getVariableDefinitions()
- Specified by:
getVariableDefinitionsin interfacePolicyType
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfacePolicyType
-
setDescription
public void setDescription(DescriptionType newDescription)
- Specified by:
setDescriptionin interfacePolicyType
-
setObligations
public void setObligations(ObligationsType newObligations)
- Specified by:
setObligationsin interfacePolicyType
-
setPolicyDefaults
public void setPolicyDefaults(DefaultsType defaults)
- Specified by:
setPolicyDefaultsin interfacePolicyType
-
setPolicyId
public void setPolicyId(String id)
- Specified by:
setPolicyIdin interfacePolicyType
-
setRuleCombiningAlgoId
public void setRuleCombiningAlgoId(String id)
- Specified by:
setRuleCombiningAlgoIdin interfacePolicyType
-
setTarget
public void setTarget(TargetType newTarget)
- Specified by:
setTargetin interfacePolicyType
-
setVersion
public void setVersion(String newVersion)
- Specified by:
setVersionin interfacePolicyType
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
-