eu.scape_project.watch.utils
Class ApiResponse

java.lang.Object
  extended by eu.scape_project.watch.utils.ApiResponse

public class ApiResponse
extends Object


Field Summary
static int ERROR
           
static int INFO
           
static int OK
           
static int TOO_BUSY
           
static int WARNING
           
 
Constructor Summary
ApiResponse()
           
ApiResponse(int code, String message)
           
 
Method Summary
 int getCode()
           
 String getMessage()
           
 String getType()
           
 void setCode(int code)
           
 void setMessage(String message)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR

public static final int ERROR
See Also:
Constant Field Values

WARNING

public static final int WARNING
See Also:
Constant Field Values

INFO

public static final int INFO
See Also:
Constant Field Values

OK

public static final int OK
See Also:
Constant Field Values

TOO_BUSY

public static final int TOO_BUSY
See Also:
Constant Field Values
Constructor Detail

ApiResponse

public ApiResponse()

ApiResponse

public ApiResponse(int code,
                   String message)
Method Detail

getCode

public int getCode()

setCode

public void setCode(int code)

getType

public String getType()

setType

public final void setType(String type)

getMessage

public String getMessage()

setMessage

public void setMessage(String message)


Copyright © 2012 SCAPE. All Rights Reserved.