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 String
Policy combining algorithm ID.private DescriptionType
Policy set description.private ObligationsType
Policy obligations.private DefaultsType
Policy set defaults.private String
ID of this policy set.private TargetType
Policy set target.private String
Version 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
ConstructorsModifierConstructorDescriptionprotected
PolicySetTypeImpl
(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.void
setDescription
(DescriptionType newDescription) Sets the description for this policy set.void
setObligations
(ObligationsType newObligations) Sets the obligations of this policy set.void
Sets the policy combining algorithm used with this policy set.void
setPolicySetDefaults
(DefaultsType defaults) Sets the defaults for this policy set.void
setPolicySetId
(String id) Sets the ID of this policy set.void
setTarget
(TargetType newTarget) Sets the target of this policy set.void
setVersion
(String newVersion) Sets the XACML version of this policy set.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 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:
getCombinerParameters
in interfacePolicySetType
- Returns:
- combiner parameters for this policy set
-
getDescription
Gets the description for this policy set.- Specified by:
getDescription
in interfacePolicySetType
- Returns:
- description for this policy set
-
getObligations
Gets the obligations of this policy set.- Specified by:
getObligations
in 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:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-
getPolicies
Gets the child policies.- Specified by:
getPolicies
in interfacePolicySetType
- Returns:
- child policies
-
getPolicyCombinerParameters
Gets the policy combiner parameters for this policy set.- Specified by:
getPolicyCombinerParameters
in interfacePolicySetType
- Returns:
- policy combiner parameters for this policy set
-
getPolicyCombiningAlgoId
Gets the policy combining algorithm used with this policy set.- Specified by:
getPolicyCombiningAlgoId
in interfacePolicySetType
- Returns:
- policy combining algorithm used with this policy set
-
getPolicyIdReferences
Gets the policy Id references.- Specified by:
getPolicyIdReferences
in interfacePolicySetType
- Returns:
- policy Id references
-
getPolicySetCombinerParameters
Gets the policy set combiner parameters for this policy set.- Specified by:
getPolicySetCombinerParameters
in interfacePolicySetType
- Returns:
- policy set combiner parameters for this policy set
-
getPolicySetDefaults
Gets the defaults for this policy set.- Specified by:
getPolicySetDefaults
in interfacePolicySetType
- Returns:
- defaults for this policy set
-
getPolicySetId
Gets the ID of this policy set.- Specified by:
getPolicySetId
in interfacePolicySetType
- Returns:
- ID of this policy set
-
getPolicySetIdReferences
Gets the policy set Id references.- Specified by:
getPolicySetIdReferences
in interfacePolicySetType
- Returns:
- policy set Id references
-
getPolicySets
Gets the child policy sets.- Specified by:
getPolicySets
in interfacePolicySetType
- Returns:
- child policy sets
-
getTarget
Gets the target of this policy set.- Specified by:
getTarget
in interfacePolicySetType
- Returns:
- target of this policy set
-
getVersion
Gets the XACML version of this policy set.- Specified by:
getVersion
in interfacePolicySetType
- Returns:
- XACML version of this policy set
-
setDescription
Sets the description for this policy set.- Specified by:
setDescription
in interfacePolicySetType
- Parameters:
newDescription
- description for this policy set
-
setObligations
Sets the obligations of this policy set.- Specified by:
setObligations
in interfacePolicySetType
- Parameters:
newObligations
- obligations of this policy set
-
setPolicyCombiningAlgoId
Sets the policy combining algorithm used with this policy set.- Specified by:
setPolicyCombiningAlgoId
in interfacePolicySetType
- Parameters:
id
- policy combining algorithm used with this policy set
-
setPolicySetDefaults
Sets the defaults for this policy set.- Specified by:
setPolicySetDefaults
in interfacePolicySetType
- Parameters:
defaults
- defaults for this policy set
-
setPolicySetId
Sets the ID of this policy set.- Specified by:
setPolicySetId
in interfacePolicySetType
- Parameters:
id
- ID of this policy set
-
setTarget
Sets the target of this policy set.- Specified by:
setTarget
in interfacePolicySetType
- Parameters:
newTarget
- target of this policy set
-
setVersion
Sets the XACML version of this policy set.- Specified by:
setVersion
in 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:
getPolicyChoiceGroup
in interfacePolicySetType
- Returns:
- backing object for the choice group containing the
PolicySetType
,PolicyType
,IdReferenceType
,CombinerParametersType
,PolicyCombinerParametersType
,PolicySetCombinerParametersType
-