Package org.opensaml.xacml.ctx
Interface ResultType
-
- All Superinterfaces:
XACMLObject,XMLObject
public interface ResultType extends XACMLObject
XACML context Result schema type.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_ELEMENT_LOCAL_NAMELocal name of the element.static QNameDEFAULT_ELEMENT_NAMEDefault element name.static StringRESOURCE_ID_ATTTRIB_NAMEResourceId attribute name.static StringTYPE_LOCAL_NAMELocal name of the XSI type.static QNameTYPE_NAMEQName of the XSI type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DecisionTypegetDecision()Returns the decision in the result.ObligationsTypegetObligations()Returns the list of Obligations in the result.StringgetResourceId()Gets the ResourceId of the result.StatusTypegetStatus()Returns the status in the result.voidsetDecision(DecisionType newDecision)Sets the decision in the result.voidsetObligations(ObligationsType obligations)Sets the obligations for this result.voidsetResourceId(String resourceId)Sets the ResourceId.voidsetStatus(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 Detail
-
DEFAULT_ELEMENT_LOCAL_NAME
static final String DEFAULT_ELEMENT_LOCAL_NAME
Local name of the element.- See Also:
- Constant Field Values
-
DEFAULT_ELEMENT_NAME
static final QName DEFAULT_ELEMENT_NAME
Default element name.
-
TYPE_LOCAL_NAME
static final String TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
- Constant Field Values
-
TYPE_NAME
static final QName TYPE_NAME
QName of the XSI type.
-
RESOURCE_ID_ATTTRIB_NAME
static final String RESOURCE_ID_ATTTRIB_NAME
ResourceId attribute name.- See Also:
- Constant Field Values
-
-
Method Detail
-
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
void setObligations(ObligationsType obligations)
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
void setStatus(StatusType status)
Sets the result status.- Parameters:
status- result status
-
setDecision
void setDecision(DecisionType newDecision)
Sets the decision in the result.- Parameters:
newDecision- The decision in the result
-
setResourceId
void setResourceId(String resourceId)
Sets the ResourceId.- Parameters:
resourceId- is the ResourceId
-
-