com.zphinx.spine.vo
Interface DataTransferAssembler

All Superinterfaces:
Serializable
All Known Implementing Classes:
CommandComponent, ResultObject

public interface DataTransferAssembler
extends Serializable

DataTransferAssembler contains the relevant methods needed by spine when defining a DataTransferAssembler. Two DataTransferAssembler's are define within spine, they are:

Version:
$1.0
Author:
David Ladapo
See Also:
CommandComponent,

Copyright ©Zphinx Software Solutions


Method Summary
 DAOInput getDaoConstructor()
          Gets the DaoConstructor object associated with this object
 Object getDataObject()
          Get the object needed to initiate a data connection e.g DataSource for databases
 String getDataObjectClass()
          Gets the name of the DataAccessObject to use
 int getDataType()
          Gets the int which represents which type of persistence layer this object will be passed to i.e the index of the DataProxy in use.
 Object getObj()
          Return the object used to store data passed to the persistence layer
 int getOperation()
          Used to package additinal instructions to the DAO
 void setDaoConstructor(DAOInput daoConstructor)
          Sets the DaoConstructor object associated with this object
 void setDataObject(Object dataObject)
          Set the object needed to initiate a data connection e.g DataSource for databases
 void setDataObjectClass(String dataObjectClass)
          Sets the name of the DataAccessObject to use
 void setDataType(int dataType)
          Sets the int which represents which type of persistence layer this object will be passed to i.e the index of the DataProxy in use.
 void setObj(Object obj)
          Set the object used to store data passed to the persistence layer
 void setOperation(int i)
          Used to package additional instructions to the DAO
 

Method Detail

getObj

Object getObj()
Return the object used to store data passed to the persistence layer

Returns:
Returns the obj.

setObj

void setObj(Object obj)
Set the object used to store data passed to the persistence layer

Parameters:
obj - The obj to set.

getDataObject

Object getDataObject()
Get the object needed to initiate a data connection e.g DataSource for databases

Returns:
Returns the dataObject.

setDataObject

void setDataObject(Object dataObject)
Set the object needed to initiate a data connection e.g DataSource for databases

Parameters:
dataObject - The dataObject to set.

getDataType

int getDataType()
Gets the int which represents which type of persistence layer this object will be passed to i.e the index of the DataProxy in use.

Returns:
Returns the dataType.

setDataType

void setDataType(int dataType)
Sets the int which represents which type of persistence layer this object will be passed to i.e the index of the DataProxy in use.

Parameters:
dataType - The dataType to set.

getDataObjectClass

String getDataObjectClass()
Gets the name of the DataAccessObject to use

Returns:
The name of the DataAccessObject to use

setDataObjectClass

void setDataObjectClass(String dataObjectClass)
Sets the name of the DataAccessObject to use

Parameters:
dataObjectClass - The dataObjectClass to set.

getDaoConstructor

DAOInput getDaoConstructor()
Gets the DaoConstructor object associated with this object

Returns:
Returns the daoConstructor.

setDaoConstructor

void setDaoConstructor(DAOInput daoConstructor)
Sets the DaoConstructor object associated with this object

Parameters:
daoConstructor - The daoConstructor to set.

getOperation

int getOperation()
Used to package additinal instructions to the DAO

Returns:
An int representing an opeartion to perform

setOperation

void setOperation(int i)
Used to package additional instructions to the DAO

Parameters:
i - The int representing the additional instruction