|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModificationResult
Contains the modification type, its succes/failure flag and the description and error code for the modification failure.
Field Summary | |
---|---|
static java.lang.String |
ADD
|
static java.lang.String |
ADD_ELEMENT_TO_LIST
|
static java.lang.String |
ADD_ELEMENT_TO_TABLE
|
static java.lang.String |
ADD_ELEMENTS_TO_LIST
|
static java.lang.String |
ADD_ELEMENTS_TO_TABLE
|
static java.lang.String |
DELETE
|
static java.lang.String |
DELETE_ELEMENT_FROM_LIST
|
static java.lang.String |
DELETE_ELEMENT_FROM_TABLE
|
static java.lang.String |
DELETE_ELEMENTS_FROM_LIST
|
static java.lang.String |
DELETE_ELEMENTS_FROM_TABLE
|
static java.lang.String |
REPLACE
|
Method Summary | |
---|---|
int |
getModificationFailureCode()
Return the error code of the modification failure. |
java.lang.String |
getModificationFailureDescription()
Return the description of modification failure. |
java.lang.String |
getModificationType()
Returns a String specifying the type of modification. |
boolean |
isSuccess()
Obtain the success/failure status of the modification. |
void |
setModificationFailureCode(int code)
Store the error code of the modification failure. |
void |
setModificationFailureDescription(java.lang.String desc)
Store the description of modification failure. |
void |
setModificationType(java.lang.String type)
Set the type of the modification. |
void |
setSuccess(boolean flag)
Set the success/failure status of the modification. |
Field Detail |
---|
static final java.lang.String ADD
static final java.lang.String ADD_ELEMENT_TO_LIST
static final java.lang.String ADD_ELEMENTS_TO_LIST
static final java.lang.String REPLACE
static final java.lang.String DELETE
static final java.lang.String DELETE_ELEMENT_FROM_LIST
static final java.lang.String DELETE_ELEMENTS_FROM_LIST
static final java.lang.String ADD_ELEMENT_TO_TABLE
static final java.lang.String ADD_ELEMENTS_TO_TABLE
static final java.lang.String DELETE_ELEMENT_FROM_TABLE
static final java.lang.String DELETE_ELEMENTS_FROM_TABLE
Method Detail |
---|
java.lang.String getModificationType()
void setModificationType(java.lang.String type)
type
- String containing the type of modification.void setSuccess(boolean flag)
flag
- boolean indicating modification success/failure; true means success.boolean isSuccess()
java.lang.String getModificationFailureDescription()
void setModificationFailureDescription(java.lang.String desc)
desc
- String containing the description of modification failure.int getModificationFailureCode()
void setModificationFailureCode(int code)
code
- int containing the error code of the modification failure.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |