Package org.opensaml.xacml.policy
Interface PolicyType
- All Superinterfaces:
XACMLObject
,XMLObject
- All Known Implementing Classes:
PolicyTypeImpl
XACML Policy schema type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Local name of the element Policy.static final QName
QName of the element Policy.static final String
PolicyId attribute name.static final String
RuleCombiningAlgId attribute name.static final String
Local name of the XSI type.static final QName
QName of the XSI type.static final String
Version attribute name.static final String
Version default value. -
Method Summary
Modifier and TypeMethodDescriptionGets the combiner parameters for this policy.Gets the description for this policy.Gets the obligations of this policy.Gets the defaults for this policy.Gets the ID of this policy.Gets the rule combiner parameters for this policy.Gets the rule combining algorithm used with this policy.getRules()
Gets the rules for this policy.Gets the target of this policy.Gets the variable definition for this policy.Gets the XACML version of this policy.void
setDescription
(DescriptionType description) Sets the description for this policy.void
setObligations
(ObligationsType obligations) 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
Sets the rule combining algorithm used with this policy.void
setTarget
(TargetType target) Sets the target of this policy.void
setVersion
(String version) Sets the XACML version of this policy.Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Local name of the element Policy.- See Also:
-
DEFAULT_ELEMENT_NAME
QName of the element Policy. -
SCHEMA_TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
SCHEMA_TYPE_NAME
QName of the XSI type. -
POLICY_ID_ATTRIB_NAME
PolicyId attribute name.- See Also:
-
VERSION_ATTRIB_NAME
Version attribute name.- See Also:
-
VERSION_DEFAULT_VALUE
Version default value.- See Also:
-
RULE_COMBINING_ALG_ID_ATTRIB_NAME
RuleCombiningAlgId attribute name.- See Also:
-
-
Method Details
-
getDescription
DescriptionType getDescription()Gets the description for this policy.- Returns:
- description for this policy
-
setDescription
Sets the description for this policy.- Parameters:
description
- description for this policy
-
getPolicyDefaults
DefaultsType getPolicyDefaults()Gets the defaults for this policy.- Returns:
- defaults for this policy
-
setPolicyDefaults
Sets the defaults for this policy.- Parameters:
defaults
- defaults for this policy
-
getTarget
TargetType getTarget()Gets the target of this policy.- Returns:
- target of this policy
-
setTarget
Sets the target of this policy.- Parameters:
target
- target of this policy
-
getCombinerParameters
List<CombinerParametersType> getCombinerParameters()Gets the combiner parameters for this policy.- Returns:
- combiner parameters for this policy
-
getRuleCombinerParameters
List<RuleCombinerParametersType> getRuleCombinerParameters()Gets the rule combiner parameters for this policy.- Returns:
- rule combiner parameters for this policy
-
getVariableDefinitions
List<VariableDefinitionType> getVariableDefinitions()Gets the variable definition for this policy.- Returns:
- variable definition for this policy
-
getRules
Gets the rules for this policy.- Returns:
- rules for this policy
-
getObligations
ObligationsType getObligations()Gets the obligations of this policy.- Returns:
- obligations of this policy
-
setObligations
Sets the obligations of this policy.- Parameters:
obligations
- obligations of this policy
-
getPolicyId
String getPolicyId()Gets the ID of this policy.- Returns:
- ID of this policy
-
setPolicyId
Sets the ID of this policy.- Parameters:
id
- ID of this policy
-
getVersion
String getVersion()Gets the XACML version of this policy.- Returns:
- XACML version of this policy
-
setVersion
Sets the XACML version of this policy.- Parameters:
version
- XACML version of this policy
-
getRuleCombiningAlgoId
String getRuleCombiningAlgoId()Gets the rule combining algorithm used with this policy.- Returns:
- rule combining algorithm used with this policy
-
setRuleCombiningAlgoId
Sets the rule combining algorithm used with this policy.- Parameters:
id
- rule combining algorithm used with this policy
-