org.openspml.v2.msg.spmlasync
Class StatusResponse

java.lang.Object
  extended byorg.openspml.v2.util.xml.BasicMarshallableElement
      extended byorg.openspml.v2.msg.spml.Extensible
          extended byorg.openspml.v2.msg.spml.ExtensibleMarshallable
              extended byorg.openspml.v2.msg.spml.Response
                  extended byorg.openspml.v2.msg.spmlasync.BasicResponse
                      extended byorg.openspml.v2.msg.spmlasync.StatusResponse
All Implemented Interfaces:
Marshallable, MarshallableElement, OpenContentContainer

public class StatusResponse
extends org.openspml.v2.msg.spmlasync.BasicResponse

Author:
kent.spaulding@sun.com

Date: Feb 15, 2006


Constructor Summary
StatusResponse()
           
StatusResponse(java.lang.String[] errorMessages, StatusCode status, java.lang.String requestId, ErrorCode errorCode, java.lang.String asyncRequestID)
           
 
Method Summary
 void addResponse(Response resp)
           
 void clearResponses()
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getAsyncRequestID()
           
 PrefixAndNamespaceTuple[] getNamespacesInfo()
          We need to know the namespace of the class to include.
 java.util.List getRawResponses()
           
 java.util.List getResponses()
           
 int hashCode()
           
 boolean removeResponse(Response resp)
           
 java.util.Iterator responseIterator()
           
 void setAsyncRequestID(java.lang.String asyncRequestID)
           
 
Methods inherited from class org.openspml.v2.msg.spml.Response
addErrorMessage, clearErrorMessages, getElementName, getError, getErrorMessages, getRequestID, getStatus, removeErrorMessage, setError, setRequestID, setStatus, toXML
 
Methods inherited from class org.openspml.v2.msg.spml.Extensible
addOpenContentAttr, addOpenContentAttr, addOpenContentElement, findOpenContentAttrValueByName, findOperationalAttrByName, findOperationalNVPByName, getOpenContentAttrs, getOpenContentElements, getOpenContentElements, isValid, removeAllOperationalNVPsWithName, removeOpenContentAttr, removeOpenContentElement, setOpenContent, setOpenContentAttrs, setOpenContentElements
 
Methods inherited from class org.openspml.v2.util.xml.BasicMarshallableElement
getElementName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openspml.v2.msg.MarshallableElement
isValid
 

Constructor Detail

StatusResponse

public StatusResponse()

StatusResponse

public StatusResponse(java.lang.String[] errorMessages,
                      StatusCode status,
                      java.lang.String requestId,
                      ErrorCode errorCode,
                      java.lang.String asyncRequestID)
Method Detail

addResponse

public void addResponse(Response resp)
                 throws Spml2Exception
Throws:
Spml2Exception

removeResponse

public boolean removeResponse(Response resp)

clearResponses

public void clearResponses()

getRawResponses

public java.util.List getRawResponses()

getResponses

public java.util.List getResponses()

responseIterator

public java.util.Iterator responseIterator()

getAsyncRequestID

public java.lang.String getAsyncRequestID()

setAsyncRequestID

public void setAsyncRequestID(java.lang.String asyncRequestID)

getNamespacesInfo

public PrefixAndNamespaceTuple[] getNamespacesInfo()
Description copied from interface: MarshallableElement
We need to know the namespace of the class to include.

Specified by:
getNamespacesInfo in interface MarshallableElement
Overrides:
getNamespacesInfo in class Extensible

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class Response

hashCode

public int hashCode()
Overrides:
hashCode in class Response


Copyright © Sun Microsystems, Inc. All Rights Reserved.