com.zphinx.spine.vo
Class DelegateBean

java.lang.Object
  extended by com.zphinx.spine.vo.DelegateBean
Direct Known Subclasses:
MultiDelegateBean

public class DelegateBean
extends Object

DelegateBean contains all the properties needed by a View Processor/Business Delegate to instantiate itself from the spine configuration file.

Version:
$1.0

Copyright ©Zphinx Software Solutions

Author:
David Ladapo

Constructor Summary
DelegateBean()
          Public Constructor
DelegateBean(String subClass, LabelIntBean daoBean)
          Constructor which accepts a string and a LabelIntBean as parameters
 
Method Summary
 LabelIntBean getDaoBean()
          Gets the LabelIntBean associated with this object which comprises of the dao className and the proxyIndex obtained from configuration.
 String getSubClass()
          Gets the name of the Delegate which this objects properties represent
 void setDaoBean(LabelIntBean dao)
          Gets the LabelIntBean associated with this object which comprises of the dao className and the proxyIndex obtained from configuration.
 void setSubClass(String subClass)
          Sets the name of the Delegate which this objects properties represent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegateBean

public DelegateBean()
Public Constructor


DelegateBean

public DelegateBean(String subClass,
                    LabelIntBean daoBean)
Constructor which accepts a string and a LabelIntBean as parameters

Parameters:
subClass - The String which represents the name of this Delegate
daoBean - The LabelIntBean this Delegate uses
Method Detail

getDaoBean

public LabelIntBean getDaoBean()
Gets the LabelIntBean associated with this object which comprises of the dao className and the proxyIndex obtained from configuration.

Returns:
Returns the daoBean.

setDaoBean

public void setDaoBean(LabelIntBean dao)
Gets the LabelIntBean associated with this object which comprises of the dao className and the proxyIndex obtained from configuration.

Parameters:
dao - The daoBean to set.

getSubClass

public String getSubClass()
Gets the name of the Delegate which this objects properties represent

Returns:
Returns the subClass.

setSubClass

public void setSubClass(String subClass)
Sets the name of the Delegate which this objects properties represent

Parameters:
subClass - The subClass to set.