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
public class ResultTypeImpl extends AbstractXACMLObject implements ResultType
Concrete implementation ofResultType.
-
-
Field Summary
Fields Modifier and Type Field Description private DecisionTypedecisionThe decision of the result.private ObligationsTypeobligationsThe obligations in this Result.private StringresourceIdAttribute resource id.private StatusTypestatusList 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
Constructors Modifier Constructor Description protectedResultTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecisionTypegetDecision()ObligationsTypegetObligations()List<XMLObject>getOrderedChildren()StringgetResourceId()StatusTypegetStatus()voidsetDecision(DecisionType decisionIn)voidsetObligations(ObligationsType obligationsIn)voidsetResourceId(String newResourceId)voidsetStatus(StatusType statusIn)-
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 Detail
-
resourceId
private String resourceId
Attribute resource id.
-
decision
private DecisionType decision
The decision of the result.
-
status
private StatusType status
List of the status of this result.
-
obligations
private ObligationsType obligations
The obligations in this Result.
-
-
Constructor Detail
-
ResultTypeImpl
protected ResultTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
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 Detail
-
getDecision
public DecisionType getDecision()
- Specified by:
getDecisionin interfaceResultType
-
getObligations
public ObligationsType getObligations()
- Specified by:
getObligationsin interfaceResultType
-
setObligations
public void setObligations(ObligationsType obligationsIn)
- Specified by:
setObligationsin interfaceResultType
-
getResourceId
public String getResourceId()
- Specified by:
getResourceIdin interfaceResultType
-
getStatus
public StatusType getStatus()
- Specified by:
getStatusin interfaceResultType
-
setStatus
public void setStatus(StatusType statusIn)
- Specified by:
setStatusin interfaceResultType
-
setDecision
public void setDecision(DecisionType decisionIn)
- Specified by:
setDecisionin interfaceResultType
-
setResourceId
public void setResourceId(String newResourceId)
- Specified by:
setResourceIdin interfaceResultType
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
-