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
Concrete implementation of
PolicySetType.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IndexedXMLObjectChildrenList<? extends XACMLObject>Elements within the choice group.private StringPolicy combining algorithm ID.private DescriptionTypePolicy set description.private ObligationsTypePolicy obligations.private DefaultsTypePolicy set defaults.private StringID of this policy set.private TargetTypePolicy set target.private StringVersion 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
ConstructorsModifierConstructorDescriptionprotectedPolicySetTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the combiner parameters for this policy set.Gets the description for this policy set.Gets the obligations of this policy set.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the child policies.Gets the backing object for the choice group containing thePolicySetType,PolicyType,IdReferenceType,CombinerParametersType,PolicyCombinerParametersType,PolicySetCombinerParametersType.Gets the policy combiner parameters for this policy set.Gets the policy combining algorithm used with this policy set.Gets the policy Id references.Gets the policy set combiner parameters for this policy set.Gets the defaults for this policy set.Gets the ID of this policy set.Gets the policy set Id references.Gets the child policy sets.Gets the target of this policy set.Gets the XACML version of this policy set.voidsetDescription(DescriptionType newDescription) Sets the description for this policy set.voidsetObligations(ObligationsType newObligations) Sets the obligations of this policy set.voidSets the policy combining algorithm used with this policy set.voidsetPolicySetDefaults(DefaultsType defaults) Sets the defaults for this policy set.voidsetPolicySetId(String id) Sets the ID of this policy set.voidsetTarget(TargetType newTarget) Sets the target of this policy set.voidsetVersion(String newVersion) Sets the XACML version of this policy set.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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 Details
-
description
Policy set description. -
policySetDefaults
Policy set defaults. -
target
Policy set target. -
choiceGroup
Elements within the choice group. -
obligations
Policy obligations. -
policySetId
ID of this policy set. -
version
Version of this policy set. -
combiningAlgo
Policy combining algorithm ID.
-
-
Constructor Details
-
PolicySetTypeImpl
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 Details
-
getCombinerParameters
Gets the combiner parameters for this policy set.- Specified by:
getCombinerParametersin interfacePolicySetType- Returns:
- combiner parameters for this policy set
-
getDescription
Gets the description for this policy set.- Specified by:
getDescriptionin interfacePolicySetType- Returns:
- description for this policy set
-
getObligations
Gets the obligations of this policy set.- Specified by:
getObligationsin interfacePolicySetType- Returns:
- obligations of this policy set
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-
getPolicies
Gets the child policies.- Specified by:
getPoliciesin interfacePolicySetType- Returns:
- child policies
-
getPolicyCombinerParameters
Gets the policy combiner parameters for this policy set.- Specified by:
getPolicyCombinerParametersin interfacePolicySetType- Returns:
- policy combiner parameters for this policy set
-
getPolicyCombiningAlgoId
Gets the policy combining algorithm used with this policy set.- Specified by:
getPolicyCombiningAlgoIdin interfacePolicySetType- Returns:
- policy combining algorithm used with this policy set
-
getPolicyIdReferences
Gets the policy Id references.- Specified by:
getPolicyIdReferencesin interfacePolicySetType- Returns:
- policy Id references
-
getPolicySetCombinerParameters
Gets the policy set combiner parameters for this policy set.- Specified by:
getPolicySetCombinerParametersin interfacePolicySetType- Returns:
- policy set combiner parameters for this policy set
-
getPolicySetDefaults
Gets the defaults for this policy set.- Specified by:
getPolicySetDefaultsin interfacePolicySetType- Returns:
- defaults for this policy set
-
getPolicySetId
Gets the ID of this policy set.- Specified by:
getPolicySetIdin interfacePolicySetType- Returns:
- ID of this policy set
-
getPolicySetIdReferences
Gets the policy set Id references.- Specified by:
getPolicySetIdReferencesin interfacePolicySetType- Returns:
- policy set Id references
-
getPolicySets
Gets the child policy sets.- Specified by:
getPolicySetsin interfacePolicySetType- Returns:
- child policy sets
-
getTarget
Gets the target of this policy set.- Specified by:
getTargetin interfacePolicySetType- Returns:
- target of this policy set
-
getVersion
Gets the XACML version of this policy set.- Specified by:
getVersionin interfacePolicySetType- Returns:
- XACML version of this policy set
-
setDescription
Sets the description for this policy set.- Specified by:
setDescriptionin interfacePolicySetType- Parameters:
newDescription- description for this policy set
-
setObligations
Sets the obligations of this policy set.- Specified by:
setObligationsin interfacePolicySetType- Parameters:
newObligations- obligations of this policy set
-
setPolicyCombiningAlgoId
Sets the policy combining algorithm used with this policy set.- Specified by:
setPolicyCombiningAlgoIdin interfacePolicySetType- Parameters:
id- policy combining algorithm used with this policy set
-
setPolicySetDefaults
Sets the defaults for this policy set.- Specified by:
setPolicySetDefaultsin interfacePolicySetType- Parameters:
defaults- defaults for this policy set
-
setPolicySetId
Sets the ID of this policy set.- Specified by:
setPolicySetIdin interfacePolicySetType- Parameters:
id- ID of this policy set
-
setTarget
Sets the target of this policy set.- Specified by:
setTargetin interfacePolicySetType- Parameters:
newTarget- target of this policy set
-
setVersion
Sets the XACML version of this policy set.- Specified by:
setVersionin interfacePolicySetType- Parameters:
newVersion- XACML version of this policy set
-
getPolicyChoiceGroup
Gets the backing object for the choice group containing thePolicySetType,PolicyType,IdReferenceType,CombinerParametersType,PolicyCombinerParametersType,PolicySetCombinerParametersType. The individual getter/setter methods should be preferred over this method, however this method may be used to fine tune the ordering of all of these objects if that should be necessary.- Specified by:
getPolicyChoiceGroupin interfacePolicySetType- Returns:
- backing object for the choice group containing the
PolicySetType,PolicyType,IdReferenceType,CombinerParametersType,PolicyCombinerParametersType,PolicySetCombinerParametersType
-