|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.AbstractXMLObject org.opensaml.xml.validation.AbstractValidatingXMLObject org.opensaml.xacml.impl.AbstractXACMLObject org.opensaml.xacml.policy.impl.PolicyTypeImpl
public class PolicyTypeImpl
Concrete implemenation of PolicyType
.
Field Summary | |
---|---|
private IndexedXMLObjectChildrenList<? extends XACMLObject> |
choiceGroup
Elements within the choice group. |
private DescriptionType |
description
Policy description. |
private ObligationsType |
obligations
Policy obligations. |
private DefaultsType |
policyDefaults
Policy defaults. |
private String |
policyId
ID of this policy. |
private String |
ruleCombiningAlgo
Rule combinging algorithm ID. |
private TargetType |
target
Policy target. |
private String |
version
Version of this policy. |
Fields inherited from interface org.opensaml.xacml.policy.PolicyType |
---|
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, POLICY_ID_ATTRIB_NAME, RULE_COMBINING_ALG_ID_ATTRIB_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME, VERSION_ATTRIB_NAME |
Constructor Summary | |
---|---|
protected |
PolicyTypeImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor. |
Method Summary | |
---|---|
List<CombinerParametersType> |
getCombinerParameters()
Gets the combiner parameters for this policy. |
DescriptionType |
getDescription()
Gets the description for this policy. |
ObligationsType |
getObligations()
Gets the obligations of this policy. |
List<XMLObject> |
getOrderedChildren()
|
DefaultsType |
getPolicyDefaults()
Gets the defaults for this policy. |
String |
getPolicyId()
Gets the ID of this policy. |
List<RuleCombinerParametersType> |
getRuleCombinerParameters()
Gets the rule combiner parameters for this policy. |
String |
getRuleCombiningAlgoId()
Gets the rule combining algorithm used with this policy. |
List<RuleType> |
getRules()
Gets the rules for this policy. |
TargetType |
getTarget()
Gets the target of this policy. |
List<VariableDefinitionType> |
getVariableDefinitions()
Gets the variable definition for this policy. |
String |
getVersion()
Gets the XACML version of this policy. |
void |
setDescription(DescriptionType newDescription)
Sets the description for this policy. |
void |
setObligations(ObligationsType newObligations)
Sets the obligations of this policy. |
void |
setPolicyDefaults(DefaultsType defaults)
Sets the defaults for this policy. |
void |
setPolicyId(String id)
Sets the ID of this policy. |
void |
setRuleCombiningAlgoId(String id)
Sets the rule combining algorithm used with this policy. |
void |
setTarget(TargetType newTarget)
Sets the target of this policy. |
void |
setVersion(String newVersion)
Sets the XACML version of this policy. |
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate |
Methods inherited from interface org.opensaml.xml.XMLObject |
---|
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
Field Detail |
---|
private DescriptionType description
private DefaultsType policyDefaults
private TargetType target
private IndexedXMLObjectChildrenList<? extends XACMLObject> choiceGroup
private ObligationsType obligations
private String policyId
private String version
private String ruleCombiningAlgo
Constructor Detail |
---|
protected PolicyTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespaceMethod Detail |
---|
public List<CombinerParametersType> getCombinerParameters()
getCombinerParameters
in interface PolicyType
public DescriptionType getDescription()
getDescription
in interface PolicyType
public ObligationsType getObligations()
getObligations
in interface PolicyType
public DefaultsType getPolicyDefaults()
getPolicyDefaults
in interface PolicyType
public String getPolicyId()
getPolicyId
in interface PolicyType
public List<RuleCombinerParametersType> getRuleCombinerParameters()
getRuleCombinerParameters
in interface PolicyType
public String getRuleCombiningAlgoId()
getRuleCombiningAlgoId
in interface PolicyType
public List<RuleType> getRules()
getRules
in interface PolicyType
public TargetType getTarget()
getTarget
in interface PolicyType
public List<VariableDefinitionType> getVariableDefinitions()
getVariableDefinitions
in interface PolicyType
public String getVersion()
getVersion
in interface PolicyType
public void setDescription(DescriptionType newDescription)
setDescription
in interface PolicyType
newDescription
- description for this policypublic void setObligations(ObligationsType newObligations)
setObligations
in interface PolicyType
newObligations
- obligations of this policypublic void setPolicyDefaults(DefaultsType defaults)
setPolicyDefaults
in interface PolicyType
defaults
- defaults for this policypublic void setPolicyId(String id)
setPolicyId
in interface PolicyType
id
- ID of this policypublic void setRuleCombiningAlgoId(String id)
setRuleCombiningAlgoId
in interface PolicyType
id
- rule combining algorithm used with this policypublic void setTarget(TargetType newTarget)
setTarget
in interface PolicyType
newTarget
- target of this policypublic void setVersion(String newVersion)
setVersion
in interface PolicyType
newVersion
- XACML version of this policypublic List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |