com.Komunaldata.SmsGateway.Response
Class getSmsOutResponse

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

public class getSmsOutResponse
extends java.lang.Object

Return value for getSMSOutBy[DedicatedAccount/NonDedicatedAccount/User/Id] webservice.


Field Summary
protected  java.lang.String errorString
           
protected  boolean hasError
           
protected  SMSOut[] returnValue
           
protected  java.lang.String userErrorString
           
 
Constructor Summary
getSmsOutResponse(boolean hasError, java.lang.String errorString, java.lang.String userErrorString, SMSOut[] returnValue)
           
 
Method Summary
 java.lang.String getErrorString()
           
 boolean getHasError()
           
 SMSOut[] getReturnValue()
          Gets the outgoing SMS-es associated to the Account/User/ID
 java.lang.String getUserErrorString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

returnValue

protected SMSOut[] returnValue

hasError

protected boolean hasError

errorString

protected java.lang.String errorString

userErrorString

protected java.lang.String userErrorString
Constructor Detail

getSmsOutResponse

public getSmsOutResponse(boolean hasError,
                         java.lang.String errorString,
                         java.lang.String userErrorString,
                         SMSOut[] returnValue)
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 - Array of outgoing SMS-es associated to the Account/User/Id stored in SMSIn[]
Method Detail

getReturnValue

public SMSOut[] getReturnValue()
Gets the outgoing SMS-es associated to the Account/User/ID

Returns:

getErrorString

public java.lang.String getErrorString()

getHasError

public boolean getHasError()

getUserErrorString

public java.lang.String getUserErrorString()