Package org.opensaml.xacml.ctx.impl
Class ResultTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xacml.impl.AbstractXACMLObject
org.opensaml.xacml.ctx.impl.ResultTypeImpl
- All Implemented Interfaces:
XMLObject
,ResultType
,XACMLObject
Concrete implementation of
ResultType
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DecisionType
The decision of the result.private ObligationsType
The obligations in this Result.private String
Attribute resource id.private StatusType
List of the status of this result.Fields inherited from interface org.opensaml.xacml.ctx.ResultType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, RESOURCE_ID_ATTTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ResultTypeImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the decision in the result.Returns the list of Obligations in the result.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the ResourceId of the result.Returns the status in the result.void
setDecision
(DecisionType decisionIn) Sets the decision in the result.void
setObligations
(ObligationsType obligationsIn) Sets the obligations for this result.void
setResourceId
(String newResourceId) Sets the ResourceId.void
setStatus
(StatusType statusIn) Sets the result status.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
resourceId
Attribute resource id. -
decision
The decision of the result. -
status
List of the status of this result. -
obligations
The obligations in this Result.
-
-
Constructor Details
-
ResultTypeImpl
Constructor.- Parameters:
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespace
-
-
Method Details
-
getDecision
Returns the decision in the result.- Specified by:
getDecision
in interfaceResultType
- Returns:
- XACMLDecision the decision in the result
-
getObligations
Returns the list of Obligations in the result.- Specified by:
getObligations
in interfaceResultType
- Returns:
- the list of Obligations in the result
-
setObligations
Sets the obligations for this result.- Specified by:
setObligations
in interfaceResultType
- Parameters:
obligationsIn
- obligations for this result
-
getResourceId
Gets the ResourceId of the result.- Specified by:
getResourceId
in interfaceResultType
- Returns:
- The ResourceId of the subject
-
getStatus
Returns the status in the result.- Specified by:
getStatus
in interfaceResultType
- Returns:
- the status in the result
-
setStatus
Sets the result status.- Specified by:
setStatus
in interfaceResultType
- Parameters:
statusIn
- result status
-
setDecision
Sets the decision in the result.- Specified by:
setDecision
in interfaceResultType
- Parameters:
decisionIn
- The decision in the result
-
setResourceId
Sets the ResourceId.- Specified by:
setResourceId
in interfaceResultType
- Parameters:
newResourceId
- is the ResourceId
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-