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:
org.opensaml.core.xml.XMLObject,org.opensaml.xacml.policy.PolicyType,org.opensaml.xacml.XACMLObject
public class PolicyTypeImpl extends AbstractXACMLObject implements org.opensaml.xacml.policy.PolicyType
Concrete implemenation ofPolicyType.
-
-
Field Summary
Fields Modifier and Type Field Description private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<? extends org.opensaml.xacml.XACMLObject>choiceGroupElements within the choice group.private org.opensaml.xacml.policy.DescriptionTypedescriptionPolicy description.private org.opensaml.xacml.policy.ObligationsTypeobligationsPolicy obligations.private org.opensaml.xacml.policy.DefaultsTypepolicyDefaultsPolicy defaults.private StringpolicyIdID of this policy.private StringruleCombiningAlgoRule combinging algorithm ID.private org.opensaml.xacml.policy.TargetTypetargetPolicy target.private StringversionVersion of this policy.
-
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<org.opensaml.xacml.policy.CombinerParametersType>getCombinerParameters()org.opensaml.xacml.policy.DescriptionTypegetDescription()org.opensaml.xacml.policy.ObligationsTypegetObligations()List<org.opensaml.core.xml.XMLObject>getOrderedChildren()org.opensaml.xacml.policy.DefaultsTypegetPolicyDefaults()StringgetPolicyId()List<org.opensaml.xacml.policy.RuleCombinerParametersType>getRuleCombinerParameters()StringgetRuleCombiningAlgoId()List<org.opensaml.xacml.policy.RuleType>getRules()org.opensaml.xacml.policy.TargetTypegetTarget()List<org.opensaml.xacml.policy.VariableDefinitionType>getVariableDefinitions()StringgetVersion()voidsetDescription(org.opensaml.xacml.policy.DescriptionType newDescription)voidsetObligations(org.opensaml.xacml.policy.ObligationsType newObligations)voidsetPolicyDefaults(org.opensaml.xacml.policy.DefaultsType defaults)voidsetPolicyId(String id)voidsetRuleCombiningAlgoId(String id)voidsetTarget(org.opensaml.xacml.policy.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 org.opensaml.xacml.policy.DescriptionType description
Policy description.
-
policyDefaults
private org.opensaml.xacml.policy.DefaultsType policyDefaults
Policy defaults.
-
target
private org.opensaml.xacml.policy.TargetType target
Policy target.
-
choiceGroup
private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<? extends org.opensaml.xacml.XACMLObject> choiceGroup
Elements within the choice group.
-
obligations
private org.opensaml.xacml.policy.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<org.opensaml.xacml.policy.CombinerParametersType> getCombinerParameters()
- Specified by:
getCombinerParametersin interfaceorg.opensaml.xacml.policy.PolicyType
-
getDescription
public org.opensaml.xacml.policy.DescriptionType getDescription()
- Specified by:
getDescriptionin interfaceorg.opensaml.xacml.policy.PolicyType
-
getObligations
public org.opensaml.xacml.policy.ObligationsType getObligations()
- Specified by:
getObligationsin interfaceorg.opensaml.xacml.policy.PolicyType
-
getPolicyDefaults
public org.opensaml.xacml.policy.DefaultsType getPolicyDefaults()
- Specified by:
getPolicyDefaultsin interfaceorg.opensaml.xacml.policy.PolicyType
-
getPolicyId
public String getPolicyId()
- Specified by:
getPolicyIdin interfaceorg.opensaml.xacml.policy.PolicyType
-
getRuleCombinerParameters
public List<org.opensaml.xacml.policy.RuleCombinerParametersType> getRuleCombinerParameters()
- Specified by:
getRuleCombinerParametersin interfaceorg.opensaml.xacml.policy.PolicyType
-
getRuleCombiningAlgoId
public String getRuleCombiningAlgoId()
- Specified by:
getRuleCombiningAlgoIdin interfaceorg.opensaml.xacml.policy.PolicyType
-
getRules
public List<org.opensaml.xacml.policy.RuleType> getRules()
- Specified by:
getRulesin interfaceorg.opensaml.xacml.policy.PolicyType
-
getTarget
public org.opensaml.xacml.policy.TargetType getTarget()
- Specified by:
getTargetin interfaceorg.opensaml.xacml.policy.PolicyType
-
getVariableDefinitions
public List<org.opensaml.xacml.policy.VariableDefinitionType> getVariableDefinitions()
- Specified by:
getVariableDefinitionsin interfaceorg.opensaml.xacml.policy.PolicyType
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceorg.opensaml.xacml.policy.PolicyType
-
setDescription
public void setDescription(org.opensaml.xacml.policy.DescriptionType newDescription)
- Specified by:
setDescriptionin interfaceorg.opensaml.xacml.policy.PolicyType
-
setObligations
public void setObligations(org.opensaml.xacml.policy.ObligationsType newObligations)
- Specified by:
setObligationsin interfaceorg.opensaml.xacml.policy.PolicyType
-
setPolicyDefaults
public void setPolicyDefaults(org.opensaml.xacml.policy.DefaultsType defaults)
- Specified by:
setPolicyDefaultsin interfaceorg.opensaml.xacml.policy.PolicyType
-
setPolicyId
public void setPolicyId(String id)
- Specified by:
setPolicyIdin interfaceorg.opensaml.xacml.policy.PolicyType
-
setRuleCombiningAlgoId
public void setRuleCombiningAlgoId(String id)
- Specified by:
setRuleCombiningAlgoIdin interfaceorg.opensaml.xacml.policy.PolicyType
-
setTarget
public void setTarget(org.opensaml.xacml.policy.TargetType newTarget)
- Specified by:
setTargetin interfaceorg.opensaml.xacml.policy.PolicyType
-
setVersion
public void setVersion(String newVersion)
- Specified by:
setVersionin interfaceorg.opensaml.xacml.policy.PolicyType
-
getOrderedChildren
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceorg.opensaml.core.xml.XMLObject
-
-