org.openspml.message
Class BatchResponse
java.lang.Object
|
+--org.openspml.message.SpmlResponse
|
+--org.openspml.message.BatchResponse
- public class BatchResponse
- extends SpmlResponse
A class representing a batchResponse
message.
This contains a list of SpmlResponse
objects,
and an optional set of attributes that applies to the
batch as a whole.
Methods inherited from class org.openspml.message.SpmlResponse |
addExtendedErrorMessage,
createResponseForRequest,
createResponseForRequest,
dumpFile,
getError,
getErrorMessage,
getExtendedErrorMessages,
getOperationalAttribute,
getOperationalAttributes,
getOperationalAttributeValue,
getRequestId,
getResult,
isFailure,
parseResponse,
parseResponse,
parseResponse,
removeOperationalAttribute,
setError,
setErrorMessage,
setErrorMessage,
setOperationalAttribute,
setOperationalAttribute,
setOperationalAttributes,
setOperationalAttributes,
setRequestId,
setResult,
throwErrors,
toXml |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
BatchResponse
public BatchResponse()
BatchResponse
public BatchResponse(XmlElement e)
setAttributes
public void setAttributes(java.util.List l)
setAttribute
public void setAttribute(Attribute a)
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
setResponses
public void setResponses(java.util.List l)
addResponse
public void addResponse(SpmlResponse r)
getAttributes
public java.util.List getAttributes()
getResponses
public java.util.List getResponses()
getResponse
public SpmlResponse getResponse(java.lang.Class c)
- Return a response of a given class.