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:
org.opensaml.core.xml.XMLObject,org.opensaml.xacml.ctx.ResultType,org.opensaml.xacml.XACMLObject
public class ResultTypeImpl extends AbstractXACMLObject implements org.opensaml.xacml.ctx.ResultType
Concrete implementation ofResultType.
-
-
Field Summary
Fields Modifier and Type Field Description private org.opensaml.xacml.ctx.DecisionTypedecisionThe decision of the result.private org.opensaml.xacml.policy.ObligationsTypeobligationsThe obligations in this Result.private StringresourceIdAttribute resource id.private org.opensaml.xacml.ctx.StatusTypestatusList of the status of this result.
-
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 org.opensaml.xacml.ctx.DecisionTypegetDecision()org.opensaml.xacml.policy.ObligationsTypegetObligations()List<org.opensaml.core.xml.XMLObject>getOrderedChildren()StringgetResourceId()org.opensaml.xacml.ctx.StatusTypegetStatus()voidsetDecision(org.opensaml.xacml.ctx.DecisionType decisionIn)voidsetObligations(org.opensaml.xacml.policy.ObligationsType obligationsIn)voidsetResourceId(String newResourceId)voidsetStatus(org.opensaml.xacml.ctx.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 org.opensaml.xacml.ctx.DecisionType decision
The decision of the result.
-
status
private org.opensaml.xacml.ctx.StatusType status
List of the status of this result.
-
obligations
private org.opensaml.xacml.policy.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 org.opensaml.xacml.ctx.DecisionType getDecision()
- Specified by:
getDecisionin interfaceorg.opensaml.xacml.ctx.ResultType
-
getObligations
public org.opensaml.xacml.policy.ObligationsType getObligations()
- Specified by:
getObligationsin interfaceorg.opensaml.xacml.ctx.ResultType
-
setObligations
public void setObligations(org.opensaml.xacml.policy.ObligationsType obligationsIn)
- Specified by:
setObligationsin interfaceorg.opensaml.xacml.ctx.ResultType
-
getResourceId
public String getResourceId()
- Specified by:
getResourceIdin interfaceorg.opensaml.xacml.ctx.ResultType
-
getStatus
public org.opensaml.xacml.ctx.StatusType getStatus()
- Specified by:
getStatusin interfaceorg.opensaml.xacml.ctx.ResultType
-
setStatus
public void setStatus(org.opensaml.xacml.ctx.StatusType statusIn)
- Specified by:
setStatusin interfaceorg.opensaml.xacml.ctx.ResultType
-
setDecision
public void setDecision(org.opensaml.xacml.ctx.DecisionType decisionIn)
- Specified by:
setDecisionin interfaceorg.opensaml.xacml.ctx.ResultType
-
setResourceId
public void setResourceId(String newResourceId)
- Specified by:
setResourceIdin interfaceorg.opensaml.xacml.ctx.ResultType
-
getOrderedChildren
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceorg.opensaml.core.xml.XMLObject
-
-