com.Komunaldata.SmsGateway.Response
Class getModemsByAccountResponse

java.lang.Object
  extended by com.Komunaldata.SmsGateway.Response.getModemsByAccountResponse

public class getModemsByAccountResponse
extends java.lang.Object

Return value for getModemsByAccount webservice call.


Field Summary
protected  java.lang.String errorString
           
protected  boolean hasError
           
protected  java.lang.String userErrorString
           
 
Constructor Summary
getModemsByAccountResponse(boolean hasError, java.lang.String errorString, java.lang.String userErrorString, java.lang.String[] returnValue, java.lang.String returnValueToParse)
           
 
Method Summary
 java.lang.String getErrorString()
           
 boolean getHasError()
           
 java.lang.String[] getReturnValue()
          Gets phone number of the modems associated ti the account as a String[]
 java.lang.String getReturnValueToParse()
          Gets the phone number of the modems associated to the account seperated by 'ß'
 java.lang.String getUserErrorString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hasError

protected boolean hasError

errorString

protected java.lang.String errorString

userErrorString

protected java.lang.String userErrorString
Constructor Detail

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 account
returnValueToParse - Phone number if the modems seperated by 'ß' associated to the account
Method Detail

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()