com.openexchange.api
Class OXObjectTransformer

java.lang.Object
  extended bycom.openexchange.api.OXObjectTransformer

public class OXObjectTransformer
extends java.lang.Object

OXObject

Author:
Sebastian Kauss

Constructor Summary
OXObjectTransformer(OXObjectFactory oxobjectfactory)
          Creates a new OXObjectTransformer with the given OXObjectFactory
 
Method Summary
 OXAppointment getOXAppointment(OXContact oxcontact)
          Creates a new OXAppointment with the information from the OXContact
 OXAppointment getOXAppointment(OXTask oxtask)
          Creates a new OXAppointment with the information from the OXTask
 OXContact getOXContact(OXAppointment oxappointment)
          Creates a new OXContact with the information from the OXAppointment
 OXContact getOXContact(OXTask oxtask)
          Creates a new OXContact with the information from the OXTask
 OXTask getOXTask(OXAppointment oxappointment)
          Creates a new OXTask with the information from the OXAppointment
 OXTask getOXTask(OXContact oxcontact)
          Creates a new OXTask with the information from the OXContact
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OXObjectTransformer

public OXObjectTransformer(OXObjectFactory oxobjectfactory)
Creates a new OXObjectTransformer with the given OXObjectFactory

Parameters:
oxobjectfactory -
Method Detail

getOXTask

public OXTask getOXTask(OXAppointment oxappointment)
                 throws java.lang.Exception
Creates a new OXTask with the information from the OXAppointment

Parameters:
oxappointment -
Returns:
oxtask
Throws:
java.lang.Exception

getOXTask

public OXTask getOXTask(OXContact oxcontact)
                 throws java.lang.Exception
Creates a new OXTask with the information from the OXContact

Parameters:
oxcontact -
Returns:
oxtask
Throws:
java.lang.Exception

getOXAppointment

public OXAppointment getOXAppointment(OXTask oxtask)
                               throws java.lang.Exception
Creates a new OXAppointment with the information from the OXTask

Parameters:
oxtask -
Returns:
oxappointment
Throws:
java.lang.Exception

getOXAppointment

public OXAppointment getOXAppointment(OXContact oxcontact)
                               throws java.lang.Exception
Creates a new OXAppointment with the information from the OXContact

Parameters:
oxcontact -
Returns:
oxappointment
Throws:
java.lang.Exception

getOXContact

public OXContact getOXContact(OXTask oxtask)
                       throws java.lang.Exception
Creates a new OXContact with the information from the OXTask

Parameters:
oxtask -
Returns:
oxcontact
Throws:
java.lang.Exception

getOXContact

public OXContact getOXContact(OXAppointment oxappointment)
                       throws java.lang.Exception
Creates a new OXContact with the information from the OXAppointment

Parameters:
oxappointment -
Returns:
oxcontact
Throws:
java.lang.Exception