|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.essbase.eas.framework.defs.command.CommandResult
public class CommandResult
Encapsulates the information returned by sending a command to a server through the framework command packages.
| Constructor Summary | |
|---|---|
CommandResult(java.lang.Class xtoClass, java.lang.Class msgClass, java.io.InputStream is)Creates a command result object with given the raw results and the class of the expected xmltransfer object. |
|
CommandResult(java.lang.Class xtoClass, java.lang.String results)Creates a command result object with given the raw results and the class of the expected xmltransfer object. |
|
| Method Summary | |
|---|---|
void |
clear()removes references to contained objects. |
void |
clearDeep()removes references to contained objects and clears contained objects. |
void |
dispose() |
BinaryMessage |
getBinaryMessage()returns the binary message results object. |
java.io.InputStream |
getInputStream() |
java.lang.String |
getRawResults()returns the raw results for this command result. |
XMLTransferObject |
getTransferObject()Returns the XMLTransferObject instance that contains the parsed results of the command. |
void |
setInputStream(java.io.InputStream inp) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandResult(java.lang.Class xtoClass,
java.lang.String results)
xtoClass - the class of the expected XMLTransferObject. If this value is null or is not a class that is assignable from XMLTransferObject, then XMLTransferObject will be used and no exception or error will be displayed.results - the raw results from invoking the command.
public CommandResult(java.lang.Class xtoClass,
java.lang.Class msgClass,
java.io.InputStream is)
xtoClass - the class of the expected XMLTransferObject. If this value is null or is not a class that is assignable from XMLTransferObject, then XMLTransferObject will be used and no exception or error will be displayed.msgClass - the class of the expected BinaryMessage object.is - for future use| Method Detail |
|---|
public XMLTransferObject getTransferObject()
XMLTransferObject for this resultpublic java.lang.String getRawResults()
public void setInputStream(java.io.InputStream inp)
public java.io.InputStream getInputStream()
public BinaryMessage getBinaryMessage()
public void clear()
public void clearDeep()
public void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||