public class OperationResult extends Object
OperationResult class.
| Modifier and Type | Field and Description |
|---|---|
static long |
ACCESS_DENIED
Constant
ACCESS_DENIED=-401 |
static long |
BUSY
Constant
BUSY=-11 |
static long |
EMPTY
Constant
EMPTY=-10 |
static long |
INTERNAL_ERROR
Constant
INTERNAL_ERROR=-500 |
static long |
NOT_EXECUTABLE
Constant
NOT_EXECUTABLE=-12 |
static long |
NOT_FOUND
Constant
NOT_FOUND=-404 |
static long |
NOT_SUPPORTED
Constant
NOT_SUPPORTED=-505 |
static long |
OK
Constant
OK=0 |
static long |
SYNTAX_ERROR
Constant
SYNTAX_ERROR=-13 |
static long |
USAGE
Constant
USAGE=-14 |
static long |
WRONG_STATUS
Constant
WRONG_STATUS=-506 |
| Constructor and Description |
|---|
OperationResult()
Constructor for OperationResult.
|
OperationResult(OperationDescription description)
Constructor for OperationResult.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMsg()
Getter for the field
msg. |
OperationDescription |
getNextOperation()
Getter for the field
nextOperation. |
String |
getOperationPath()
Getter for the field
operationPath. |
Object |
getResult()
Getter for the field
result. |
long |
getReturnCode()
Getter for the field
returnCode. |
String |
getTitle()
Getter for the field
title. |
boolean |
isSuccessful()
isSuccessful.
|
void |
setMsg(String msg)
Setter for the field
msg. |
void |
setNextOperation(OperationDescription nextOperation)
Setter for the field
nextOperation. |
void |
setOperationPath(String operationPath)
Setter for the field
operationPath. |
void |
setResult(Object result)
Setter for the field
result. |
void |
setReturnCode(long returnCode)
Setter for the field
returnCode. |
void |
setSuccessful(boolean successful)
Setter for the field
successful. |
void |
setTitle(String title)
Setter for the field
title. |
String |
toString() |
public static final long OK
OK=0public static final long EMPTY
EMPTY=-10public static final long BUSY
BUSY=-11public static final long NOT_EXECUTABLE
NOT_EXECUTABLE=-12public static final long SYNTAX_ERROR
SYNTAX_ERROR=-13public static final long USAGE
USAGE=-14public static final long INTERNAL_ERROR
INTERNAL_ERROR=-500public static final long ACCESS_DENIED
ACCESS_DENIED=-401public static final long NOT_FOUND
NOT_FOUND=-404public static final long NOT_SUPPORTED
NOT_SUPPORTED=-505public static final long WRONG_STATUS
WRONG_STATUS=-506public OperationResult()
Constructor for OperationResult.
public OperationResult(OperationDescription description)
Constructor for OperationResult.
description - a OperationDescription object.public String getOperationPath()
Getter for the field operationPath.
String object.public void setOperationPath(String operationPath)
Setter for the field operationPath.
operationPath - a String object.public void setTitle(String title)
Setter for the field title.
title - a String object.public boolean isSuccessful()
isSuccessful.
public void setSuccessful(boolean successful)
Setter for the field successful.
successful - a boolean.public OperationDescription getNextOperation()
Getter for the field nextOperation.
OperationDescription object.public void setNextOperation(OperationDescription nextOperation)
Setter for the field nextOperation.
nextOperation - a OperationDescription object.public void setResult(Object result)
Setter for the field result.
result - a Object object.public long getReturnCode()
Getter for the field returnCode.
public void setReturnCode(long returnCode)
Setter for the field returnCode.
returnCode - a long.Copyright © 2016. All Rights Reserved.