org.opensaml.xacml.ctx.impl
Class StatusTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xacml.impl.AbstractXACMLObject
              extended by org.opensaml.xacml.ctx.impl.StatusTypeImpl
All Implemented Interfaces:
StatusType, XACMLObject, ValidatingXMLObject, XMLObject

public class StatusTypeImpl
extends AbstractXACMLObject
implements StatusType

Concrete implementation of StatusType.


Field Summary
private  StatusCodeType statusCode
          Status code.
private  StatusDetailType statusDetail
          Status detail element.
private  StatusMessageType statusMessage
          The status message.
 
Fields inherited from interface org.opensaml.xacml.ctx.StatusType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected StatusTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 List<XMLObject> getOrderedChildren()
          
 StatusCodeType getStatusCode()
          Gets the status code of status.
 StatusDetailType getStatusDetail()
          Gets the status detail of status.
 StatusMessageType getStatusMessage()
          Gets the status message of status.
 void setStatusCode(StatusCodeType newStatusCode)
          Sets the status code for the Status.
 void setStatusDetail(StatusDetailType newStatusDetail)
          Sets the status detail for the Status.
 void setStatusMessage(StatusMessageType newStatusMessage)
          Sets the status message for the Status.
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, 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.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

statusCode

private StatusCodeType statusCode
Status code.


statusMessage

private StatusMessageType statusMessage
The status message.


statusDetail

private StatusDetailType statusDetail
Status detail element.

Constructor Detail

StatusTypeImpl

protected StatusTypeImpl(String namespaceURI,
                         String elementLocalName,
                         String namespacePrefix)
Constructor.

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getStatusCode

public StatusCodeType getStatusCode()
Gets the status code of status.

Specified by:
getStatusCode in interface StatusType
Returns:
The status code of status

setStatusCode

public void setStatusCode(StatusCodeType newStatusCode)
Sets the status code for the Status.

Specified by:
setStatusCode in interface StatusType
Parameters:
newStatusCode - The new status code

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject

getStatusMessage

public StatusMessageType getStatusMessage()
Gets the status message of status.

Specified by:
getStatusMessage in interface StatusType
Returns:
The status message of status

setStatusMessage

public void setStatusMessage(StatusMessageType newStatusMessage)
Sets the status message for the Status.

Specified by:
setStatusMessage in interface StatusType
Parameters:
newStatusMessage - The new status message

getStatusDetail

public StatusDetailType getStatusDetail()
Gets the status detail of status.

Specified by:
getStatusDetail in interface StatusType
Returns:
The status detail of status

setStatusDetail

public void setStatusDetail(StatusDetailType newStatusDetail)
Sets the status detail for the Status.

Specified by:
setStatusDetail in interface StatusType
Parameters:
newStatusDetail - The new status message


Copyright © 1999-2013. All Rights Reserved.