org.openspml.v2.msg.spmlbatch
Class BatchResponse

java.lang.Object
  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.spmlbatch.BatchResponse
All Implemented Interfaces:
Marshallable, MarshallableElement, OpenContentContainer

public class BatchResponse
extends Response

Elements that extend spml:ResponseType

Author:
kent.spaulding@sun.com

Date: Feb 16, 2006


Constructor Summary
BatchResponse()
           
BatchResponse(java.lang.String[] errorMessages, StatusCode status, java.lang.String requestId, ErrorCode errorCode)
           
 
Method Summary
 void addResponse(Response resp)
           
 void clearResponses()
           
 PrefixAndNamespaceTuple[] getNamespacesInfo()
          We need to know the namespace of the class to include.
 boolean removeResponse(Response resp)
           
 
Methods inherited from class org.openspml.v2.msg.spml.Response
addErrorMessage, clearErrorMessages, equals, getError, getErrorMessages, getRequestID, getStatus, hashCode, removeErrorMessage, setError, setRequestID, setStatus, toXML
 
Methods inherited from class org.openspml.v2.msg.spml.Extensible
addOpenContentAttr, addOpenContentAttr, addOpenContentElement, findOpenContentAttrValueByName, findOperationalAttrByName, findOperationalNVPByName, getOpenContentAttrs, getOpenContentElements, isValid, removeOpenContentAttr, removeOpenContentElement, setOpenContent, setOpenContentAttrs, setOpenContentElements
 
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

BatchResponse

public BatchResponse()

BatchResponse

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

addResponse

public void addResponse(Response resp)

removeResponse

public boolean removeResponse(Response resp)

clearResponses

public void clearResponses()

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


Copyright © Sun Microsystems, Inc. All Rights Reserved.