Package org.opensaml.xacml.ctx
Interface ResultType
- All Superinterfaces:
XACMLObject
,XMLObject
- All Known Implementing Classes:
ResultTypeImpl
XACML context Result schema type.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the decision in the result.Returns the list of Obligations in the result.Gets the ResourceId of the result.Returns the status in the result.void
setDecision
(DecisionType newDecision) Sets the decision in the result.void
setObligations
(ObligationsType obligations) Sets the obligations for this result.void
setResourceId
(String resourceId) Sets the ResourceId.void
setStatus
(StatusType status) Sets the result status.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.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
RESOURCE_ID_ATTTRIB_NAME
ResourceId attribute name.- See Also:
-
-
Method Details
-
getDecision
DecisionType getDecision()Returns the decision in the result.- Returns:
- XACMLDecision the decision in the result
-
getObligations
ObligationsType getObligations()Returns the list of Obligations in the result.- Returns:
- the list of Obligations in the result
-
setObligations
Sets the obligations for this result.- Parameters:
obligations
- obligations for this result
-
getResourceId
String getResourceId()Gets the ResourceId of the result.- Returns:
- The ResourceId of the subject
-
getStatus
StatusType getStatus()Returns the status in the result.- Returns:
- the status in the result
-
setStatus
Sets the result status.- Parameters:
status
- result status
-
setDecision
Sets the decision in the result.- Parameters:
newDecision
- The decision in the result
-
setResourceId
Sets the ResourceId.- Parameters:
resourceId
- is the ResourceId
-