|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 namespace| Method Detail |
|---|
public List<CombinerParametersType> getCombinerParameters()
getCombinerParameters in interface PolicyTypepublic DescriptionType getDescription()
getDescription in interface PolicyTypepublic ObligationsType getObligations()
getObligations in interface PolicyTypepublic DefaultsType getPolicyDefaults()
getPolicyDefaults in interface PolicyTypepublic String getPolicyId()
getPolicyId in interface PolicyTypepublic List<RuleCombinerParametersType> getRuleCombinerParameters()
getRuleCombinerParameters in interface PolicyTypepublic String getRuleCombiningAlgoId()
getRuleCombiningAlgoId in interface PolicyTypepublic List<RuleType> getRules()
getRules in interface PolicyTypepublic TargetType getTarget()
getTarget in interface PolicyTypepublic List<VariableDefinitionType> getVariableDefinitions()
getVariableDefinitions in interface PolicyTypepublic String getVersion()
getVersion in interface PolicyTypepublic void setDescription(DescriptionType newDescription)
setDescription in interface PolicyTypenewDescription - description for this policypublic void setObligations(ObligationsType newObligations)
setObligations in interface PolicyTypenewObligations - obligations of this policypublic void setPolicyDefaults(DefaultsType defaults)
setPolicyDefaults in interface PolicyTypedefaults - defaults for this policypublic void setPolicyId(String id)
setPolicyId in interface PolicyTypeid - ID of this policypublic void setRuleCombiningAlgoId(String id)
setRuleCombiningAlgoId in interface PolicyTypeid - rule combining algorithm used with this policypublic void setTarget(TargetType newTarget)
setTarget in interface PolicyTypenewTarget - target of this policypublic void setVersion(String newVersion)
setVersion in interface PolicyTypenewVersion - 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 | |||||||||