public class UpdateResultDesc extends ResultDesc
| Constructor and Description |
|---|
UpdateResultDesc(String ref,
OptString failure,
boolean isAtomicFailure)
JSON-driven constructor.
|
UpdateResultDesc(String ref,
String failure,
boolean isAtomicFailure)
Direct constructor.
|
| Modifier and Type | Method and Description |
|---|---|
JSONLiteral |
encode(EncodeControl control)
Encode this object for transmission or persistence.
|
boolean |
isAtomicFailure()
Get the atomic failure flag.
|
failure, ref@JSONMethod(value={"ref","failure","atomic"}) public UpdateResultDesc(String ref, OptString failure, boolean isAtomicFailure)
ref - Object reference of the object acted upon.failure - Optional error message.public UpdateResultDesc(String ref, String failure, boolean isAtomicFailure)
ref - Object reference of the object that was the subject of the
operation.failure - Error message string, or null if the operation was
successful.isAtomicFailure - Flag that is true if operation would have
completed but doing so would have violated atomicity.public JSONLiteral encode(EncodeControl control)
encode in interface Encodableencode in class ResultDesccontrol - Encode control determining what flavor of encoding
should be done.public boolean isAtomicFailure()
Copyright © 2017. All rights reserved.