|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zphinx.spine.vo.CommandComponent
public class CommandComponent
CommandComponent is a DataTransferAssember for objects needed to initialize the BusinessDelegates used in the business layer. It assembles all the objects needed by the system to communicate between different layers and mimics the command design pattern.
created 10-Jan-2005 13:47:49
copyright © Zphinx Software Solutions
| Constructor Summary | |
|---|---|
CommandComponent()
Public constructor |
|
| 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()
Gets the present operation been run |
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)
Sets the present operation been run |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandComponent()
| Method Detail |
|---|
public Object getObj()
DataTransferAssembler
getObj in interface DataTransferAssemblerpublic void setObj(Object obj)
DataTransferAssembler
setObj in interface DataTransferAssemblerobj - The obj to set.public Object getDataObject()
DataTransferAssembler
getDataObject in interface DataTransferAssemblerpublic void setDataObject(Object dataObject)
DataTransferAssembler
setDataObject in interface DataTransferAssemblerdataObject - The dataObject to set.public int getDataType()
DataTransferAssembler
getDataType in interface DataTransferAssemblerpublic void setDataType(int dataType)
DataTransferAssembler
setDataType in interface DataTransferAssemblerdataType - The dataType to set.public String getDataObjectClass()
DataTransferAssembler
getDataObjectClass in interface DataTransferAssemblerpublic void setDataObjectClass(String dataObjectClass)
DataTransferAssembler
setDataObjectClass in interface DataTransferAssemblerdataObjectClass - The dataObjectClass to set.public DAOInput getDaoConstructor()
getDaoConstructor in interface DataTransferAssemblerpublic void setDaoConstructor(DAOInput daoConstructor)
setDaoConstructor in interface DataTransferAssemblerdaoConstructor - The daoConstructor to set.public int getOperation()
getOperation in interface DataTransferAssemblerpublic void setOperation(int i)
setOperation in interface DataTransferAssembleri - The value of the operation been run in the several layers where this component been transported
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||