p12f.exe.pasarelapagos.objects.data
Class DataFileResponse

java.lang.Object
  extended byp12f.exe.pasarelapagos.objects.data.DataFileResponse
All Implemented Interfaces:
java.io.Serializable

public class DataFileResponse
extends java.lang.Object
implements java.io.Serializable

Clase que encapsula las respuestas del API de ficheros.

Author:
dbenitof
See Also:
Serialized Form

Constructor Summary
DataFileResponse()
           
 
Method Summary
static DataFileResponse getObject(java.lang.String xml)
          Convierte un XML en un objeto DataFileResponse.
 java.lang.String getResponse()
           
 int getResponseCode()
           
 void setResponse(java.lang.String response)
           
 void setResponseCode(int responseCode)
           
 java.lang.String toXML()
          Convierte un Objeto DataFileResponse a XML.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataFileResponse

public DataFileResponse()
Method Detail

getResponse

public java.lang.String getResponse()
Returns:
the response

setResponse

public void setResponse(java.lang.String response)
Parameters:
response - the response to set

getResponseCode

public int getResponseCode()
Returns:
the responseCode

setResponseCode

public void setResponseCode(int responseCode)
Parameters:
responseCode - the responseCode to set

toXML

public java.lang.String toXML()
                       throws com.ejie.r01f.xml.marshalling.XOMarshallerException
Convierte un Objeto DataFileResponse a XML.

Returns:
String que contiene el XML.
Throws:
com.ejie.r01f.xml.marshalling.XOMarshallerException

getObject

public static DataFileResponse getObject(java.lang.String xml)
                                  throws com.ejie.r01f.xml.marshalling.XOMarshallerException
Convierte un XML en un objeto DataFileResponse.

Returns:
Objeto DataFile construido a partir del XML.
Throws:
com.ejie.r01f.xml.marshalling.XOMarshallerException