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:
org.opensaml.core.xml.XMLObject,org.opensaml.xacml.policy.PolicySetType,org.opensaml.xacml.XACMLObject
public class PolicySetTypeImpl extends AbstractXACMLObject implements org.opensaml.xacml.policy.PolicySetType
Concrete implementation ofPolicySetType.
-
-
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 StringcombiningAlgoPolicy combining algorithm ID.private org.opensaml.xacml.policy.DescriptionTypedescriptionPolicy set description.private org.opensaml.xacml.policy.ObligationsTypeobligationsPolicy obligations.private org.opensaml.xacml.policy.DefaultsTypepolicySetDefaultsPolicy set defaults.private StringpolicySetIdID of this policy set.private org.opensaml.xacml.policy.TargetTypetargetPolicy set target.private StringversionVersion of this policy set.
-
Constructor Summary
Constructors Modifier Constructor Description protectedPolicySetTypeImpl(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()List<org.opensaml.xacml.policy.PolicyType>getPolicies()org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.xacml.XACMLObject>getPolicyChoiceGroup()List<org.opensaml.xacml.policy.PolicyCombinerParametersType>getPolicyCombinerParameters()StringgetPolicyCombiningAlgoId()List<org.opensaml.xacml.policy.IdReferenceType>getPolicyIdReferences()List<org.opensaml.xacml.policy.PolicySetCombinerParametersType>getPolicySetCombinerParameters()org.opensaml.xacml.policy.DefaultsTypegetPolicySetDefaults()StringgetPolicySetId()List<org.opensaml.xacml.policy.IdReferenceType>getPolicySetIdReferences()List<org.opensaml.xacml.policy.PolicySetType>getPolicySets()org.opensaml.xacml.policy.TargetTypegetTarget()StringgetVersion()voidsetDescription(org.opensaml.xacml.policy.DescriptionType newDescription)voidsetObligations(org.opensaml.xacml.policy.ObligationsType newObligations)voidsetPolicyCombiningAlgoId(String id)voidsetPolicySetDefaults(org.opensaml.xacml.policy.DefaultsType defaults)voidsetPolicySetId(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 set description.
-
policySetDefaults
private org.opensaml.xacml.policy.DefaultsType policySetDefaults
Policy set defaults.
-
target
private org.opensaml.xacml.policy.TargetType target
Policy set 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.
-
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<org.opensaml.xacml.policy.CombinerParametersType> getCombinerParameters()
- Specified by:
getCombinerParametersin interfaceorg.opensaml.xacml.policy.PolicySetType
-
getDescription
public org.opensaml.xacml.policy.DescriptionType getDescription()
- Specified by:
getDescriptionin interfaceorg.opensaml.xacml.policy.PolicySetType
-
getObligations
public org.opensaml.xacml.policy.ObligationsType getObligations()
- Specified by:
getObligationsin interfaceorg.opensaml.xacml.policy.PolicySetType
-
getOrderedChildren
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceorg.opensaml.core.xml.XMLObject
-
getPolicies
public List<org.opensaml.xacml.policy.PolicyType> getPolicies()
- Specified by:
getPoliciesin interfaceorg.opensaml.xacml.policy.PolicySetType
-
getPolicyCombinerParameters
public List<org.opensaml.xacml.policy.PolicyCombinerParametersType> getPolicyCombinerParameters()
- Specified by:
getPolicyCombinerParametersin interfaceorg.opensaml.xacml.policy.PolicySetType
-
getPolicyCombiningAlgoId
public String getPolicyCombiningAlgoId()
- Specified by:
getPolicyCombiningAlgoIdin interfaceorg.opensaml.xacml.policy.PolicySetType
-
getPolicyIdReferences
public List<org.opensaml.xacml.policy.IdReferenceType> getPolicyIdReferences()
- Specified by:
getPolicyIdReferencesin interfaceorg.opensaml.xacml.policy.PolicySetType
-
getPolicySetCombinerParameters
public List<org.opensaml.xacml.policy.PolicySetCombinerParametersType> getPolicySetCombinerParameters()
- Specified by:
getPolicySetCombinerParametersin interfaceorg.opensaml.xacml.policy.PolicySetType
-
getPolicySetDefaults
public org.opensaml.xacml.policy.DefaultsType getPolicySetDefaults()
- Specified by:
getPolicySetDefaultsin interfaceorg.opensaml.xacml.policy.PolicySetType
-
getPolicySetId
public String getPolicySetId()
- Specified by:
getPolicySetIdin interfaceorg.opensaml.xacml.policy.PolicySetType
-
getPolicySetIdReferences
public List<org.opensaml.xacml.policy.IdReferenceType> getPolicySetIdReferences()
- Specified by:
getPolicySetIdReferencesin interfaceorg.opensaml.xacml.policy.PolicySetType
-
getPolicySets
public List<org.opensaml.xacml.policy.PolicySetType> getPolicySets()
- Specified by:
getPolicySetsin interfaceorg.opensaml.xacml.policy.PolicySetType
-
getTarget
public org.opensaml.xacml.policy.TargetType getTarget()
- Specified by:
getTargetin interfaceorg.opensaml.xacml.policy.PolicySetType
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceorg.opensaml.xacml.policy.PolicySetType
-
setDescription
public void setDescription(org.opensaml.xacml.policy.DescriptionType newDescription)
- Specified by:
setDescriptionin interfaceorg.opensaml.xacml.policy.PolicySetType
-
setObligations
public void setObligations(org.opensaml.xacml.policy.ObligationsType newObligations)
- Specified by:
setObligationsin interfaceorg.opensaml.xacml.policy.PolicySetType
-
setPolicyCombiningAlgoId
public void setPolicyCombiningAlgoId(String id)
- Specified by:
setPolicyCombiningAlgoIdin interfaceorg.opensaml.xacml.policy.PolicySetType
-
setPolicySetDefaults
public void setPolicySetDefaults(org.opensaml.xacml.policy.DefaultsType defaults)
- Specified by:
setPolicySetDefaultsin interfaceorg.opensaml.xacml.policy.PolicySetType
-
setPolicySetId
public void setPolicySetId(String id)
- Specified by:
setPolicySetIdin interfaceorg.opensaml.xacml.policy.PolicySetType
-
setTarget
public void setTarget(org.opensaml.xacml.policy.TargetType newTarget)
- Specified by:
setTargetin interfaceorg.opensaml.xacml.policy.PolicySetType
-
setVersion
public void setVersion(String newVersion)
- Specified by:
setVersionin interfaceorg.opensaml.xacml.policy.PolicySetType
-
getPolicyChoiceGroup
public org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.xacml.XACMLObject> getPolicyChoiceGroup()
- Specified by:
getPolicyChoiceGroupin interfaceorg.opensaml.xacml.policy.PolicySetType
-
-