Package org.opensaml.xacml.policy.impl
Class PolicySetTypeImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xacml.impl.AbstractXACMLObject
-
- org.opensaml.xacml.policy.impl.PolicySetTypeImpl
-
- All Implemented Interfaces:
XMLObject,PolicySetType,XACMLObject
public class PolicySetTypeImpl extends AbstractXACMLObject implements PolicySetType
Concrete implementation ofPolicySetType.
-
-
Field Summary
Fields Modifier and Type Field Description private IndexedXMLObjectChildrenList<? extends XACMLObject>choiceGroupElements within the choice group.private StringcombiningAlgoPolicy combining algorithm ID.private DescriptionTypedescriptionPolicy set description.private ObligationsTypeobligationsPolicy obligations.private DefaultsTypepolicySetDefaultsPolicy set defaults.private StringpolicySetIdID of this policy set.private TargetTypetargetPolicy set target.private StringversionVersion of this policy set.-
Fields inherited from interface org.opensaml.xacml.policy.PolicySetType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, DEFAULT_VERSION, POLICY_COMBINING_ALG_ID_ATTRIB_NAME, POLICY_SET_ID_ATTRIB_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME, VERSION_ATTRIB_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPolicySetTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
-
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 set description.
-
policySetDefaults
private DefaultsType policySetDefaults
Policy set defaults.
-
target
private TargetType target
Policy set target.
-
choiceGroup
private IndexedXMLObjectChildrenList<? extends XACMLObject> choiceGroup
Elements within the choice group.
-
obligations
private ObligationsType obligations
Policy obligations.
-
policySetId
private String policySetId
ID of this policy set.
-
version
private String version
Version of this policy set.
-
combiningAlgo
private String combiningAlgo
Policy combining algorithm ID.
-
-
Constructor Detail
-
PolicySetTypeImpl
protected PolicySetTypeImpl(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 interfacePolicySetType
-
getDescription
public DescriptionType getDescription()
- Specified by:
getDescriptionin interfacePolicySetType
-
getObligations
public ObligationsType getObligations()
- Specified by:
getObligationsin interfacePolicySetType
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
getPolicies
public List<PolicyType> getPolicies()
- Specified by:
getPoliciesin interfacePolicySetType
-
getPolicyCombinerParameters
public List<PolicyCombinerParametersType> getPolicyCombinerParameters()
- Specified by:
getPolicyCombinerParametersin interfacePolicySetType
-
getPolicyCombiningAlgoId
public String getPolicyCombiningAlgoId()
- Specified by:
getPolicyCombiningAlgoIdin interfacePolicySetType
-
getPolicyIdReferences
public List<IdReferenceType> getPolicyIdReferences()
- Specified by:
getPolicyIdReferencesin interfacePolicySetType
-
getPolicySetCombinerParameters
public List<PolicySetCombinerParametersType> getPolicySetCombinerParameters()
- Specified by:
getPolicySetCombinerParametersin interfacePolicySetType
-
getPolicySetDefaults
public DefaultsType getPolicySetDefaults()
- Specified by:
getPolicySetDefaultsin interfacePolicySetType
-
getPolicySetId
public String getPolicySetId()
- Specified by:
getPolicySetIdin interfacePolicySetType
-
getPolicySetIdReferences
public List<IdReferenceType> getPolicySetIdReferences()
- Specified by:
getPolicySetIdReferencesin interfacePolicySetType
-
getPolicySets
public List<PolicySetType> getPolicySets()
- Specified by:
getPolicySetsin interfacePolicySetType
-
getTarget
public TargetType getTarget()
- Specified by:
getTargetin interfacePolicySetType
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfacePolicySetType
-
setDescription
public void setDescription(DescriptionType newDescription)
- Specified by:
setDescriptionin interfacePolicySetType
-
setObligations
public void setObligations(ObligationsType newObligations)
- Specified by:
setObligationsin interfacePolicySetType
-
setPolicyCombiningAlgoId
public void setPolicyCombiningAlgoId(String id)
- Specified by:
setPolicyCombiningAlgoIdin interfacePolicySetType
-
setPolicySetDefaults
public void setPolicySetDefaults(DefaultsType defaults)
- Specified by:
setPolicySetDefaultsin interfacePolicySetType
-
setPolicySetId
public void setPolicySetId(String id)
- Specified by:
setPolicySetIdin interfacePolicySetType
-
setTarget
public void setTarget(TargetType newTarget)
- Specified by:
setTargetin interfacePolicySetType
-
setVersion
public void setVersion(String newVersion)
- Specified by:
setVersionin interfacePolicySetType
-
getPolicyChoiceGroup
public IndexedXMLObjectChildrenList<XACMLObject> getPolicyChoiceGroup()
- Specified by:
getPolicyChoiceGroupin interfacePolicySetType
-
-