org.openspml.message
Class ModifyRequest
java.lang.Object
|
+--org.openspml.message.SpmlRequest
|
+--org.openspml.message.ModifyRequest
- public class ModifyRequest
- extends SpmlRequest
A class used to represent a modifyRequest
element.
Methods inherited from class org.openspml.message.SpmlRequest |
dumpFile,
getIdentifier,
getIdentifierString,
getOperationalAttribute,
getOperationalAttributes,
getOperationalAttributeValue,
getRequestId,
isAsynchronous,
parseRequest,
parseRequest,
setAsynchronous,
setIdentifier,
setIdentifier,
setOperationalAttribute,
setOperationalAttribute,
setOperationalAttributes,
setRequestId,
toXml,
toXml |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ModifyRequest
public ModifyRequest()
createResponse
public SpmlResponse createResponse()
- Description copied from class: SpmlRequest
- Build an empty SpmlRequest object that corresponds to this
request. Used in a few error conditions to return the
expected response object when one was not actually sent back from
the server.
- Overrides:
- createResponse in class SpmlRequest
setModifications
public void setModifications(java.util.List l)
setModifications
public void setModifications(java.util.Map map)
- Specify the modifications as a map of name/value pairs.
The operation is assumed to be "replace".
addModification
public void addModification(Modification a)
addModification
public void addModification(java.lang.String name,
java.lang.Object value)
getModifications
public java.util.List getModifications()
getElementName
public java.lang.String getElementName()
- Description copied from class: SpmlRequest
- Return the tag name for the request element.
- Overrides:
- getElementName in class SpmlRequest