com.Komunaldata.SmsGateway.Response
Class getModemsByAccountResponse
java.lang.Object
com.Komunaldata.SmsGateway.Response.getModemsByAccountResponse
public class getModemsByAccountResponse
- extends java.lang.Object
Return value for getModemsByAccount webservice call.
Constructor Summary |
getModemsByAccountResponse(boolean hasError,
java.lang.String errorString,
java.lang.String userErrorString,
java.lang.String[] returnValue,
java.lang.String returnValueToParse)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hasError
protected boolean hasError
errorString
protected java.lang.String errorString
userErrorString
protected java.lang.String userErrorString
getModemsByAccountResponse
public getModemsByAccountResponse(boolean hasError,
java.lang.String errorString,
java.lang.String userErrorString,
java.lang.String[] returnValue,
java.lang.String returnValueToParse)
- Parameters:
hasError
- True if webservice reports an error, false otherwise.errorString
- For storing all kind of errors, in case of excepted error the value is the same as userErrorString. Only null when hasError is false.userErrorString
- For storing excepted error, which can be displayed to user ("No Access", "Not enough credit", etc), else it is null.returnValue
- Phone number of the modems as a String[] associated to the accountreturnValueToParse
- Phone number if the modems seperated by 'ß' associated to the account
getReturnValue
public java.lang.String[] getReturnValue()
- Gets phone number of the modems associated ti the account as a String[]
- Returns:
getReturnValueToParse
public java.lang.String getReturnValueToParse()
- Gets the phone number of the modems associated to the account seperated by 'ß'
- Returns:
getErrorString
public java.lang.String getErrorString()
getHasError
public boolean getHasError()
getUserErrorString
public java.lang.String getUserErrorString()