com.evdb.javaapi.data.response
Class GenericResponse

java.lang.Object
  extended by com.evdb.javaapi.data.response.GenericResponse

public class GenericResponse
extends java.lang.Object

Base API response class, mapped from XML via JAXB

Author:
tylerv

Constructor Summary
GenericResponse()
           
 
Method Summary
 java.lang.String getId()
          Response ID
 java.lang.String getMessage()
          Retruns the response message
 int getPropertyId()
           
 java.lang.String getStatus()
          Response status.
 void setId(java.lang.String id)
           
 void setMessage(java.lang.String message)
           
 void setPropertyId(int propertyId)
           
 void setStatus(java.lang.String status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericResponse

public GenericResponse()
Method Detail

getPropertyId

public int getPropertyId()
Returns:
the property_id

setPropertyId

public void setPropertyId(int propertyId)
Parameters:
propertyId - the property_id to set

getStatus

public java.lang.String getStatus()
Response status. Will usually be "ok" for successful operations

Returns:
the status

setStatus

public void setStatus(java.lang.String status)
Parameters:
status - the status to set

getId

public java.lang.String getId()
Response ID

Returns:
the id

setId

public void setId(java.lang.String id)
Parameters:
id - the id to set

getMessage

public java.lang.String getMessage()
Retruns the response message

Returns:
the message

setMessage

public void setMessage(java.lang.String message)
Parameters:
message - the message to set


Copyright © 2007 Eventful Inc. All Rights Reserved.