Package com.uc4.communication.requests
Class ExecuteObjects.ExecuteObjectsResponse
- java.lang.Object
- 
- com.uc4.communication.requests.ExecuteObjects.ExecuteObjectsResponse
 
- 
- Enclosing class:
- ExecuteObjects
 
 public class ExecuteObjects.ExecuteObjectsResponse extends java.lang.ObjectClass hold response data from the executed request
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedExecuteObjectsResponse(int runId, int messageNumber, java.lang.String messageInsert, java.lang.String messageText)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMessageInsert()This method returns a message insert for the message number returned bygetMessageNumber.intgetMessageNumber()This method returns a message number in case that the execution failed.java.lang.StringgetMessageText()Returns the error message translated in the language of the user.intgetRunID()Returns the RunID of this request.
 
- 
- 
- 
Method Detail- 
getRunIDpublic int getRunID() Returns the RunID of this request. If the UC4 Object could not be generated this method returns 0 and the methodgetMsgbox()returns the error message. The return value is also 0 if the request has never been sent.- Returns:
- RunID or 0 if there was an error. Use the method getMessageNumber() and getMessageInsert() to get more information
 
 - 
getMessageNumberpublic int getMessageNumber() This method returns a message number in case that the execution failed. A return value of 0 means that there was no error.- Returns:
- Message Number
 
 - 
getMessageInsertpublic java.lang.String getMessageInsert() This method returns a message insert for the message number returned bygetMessageNumber.- Returns:
- Message Insert, the return value can be an empty String but it is never null
 
 - 
getMessageTextpublic java.lang.String getMessageText() Returns the error message translated in the language of the user.- Returns:
- Error message if the execution failed, the return value can be an empty String but it is never null
 
 
- 
 
-