com.zphinx.spine.vo
Class MultiDelegateBean

java.lang.Object
  extended by com.zphinx.spine.vo.DelegateBean
      extended by com.zphinx.spine.vo.MultiDelegateBean

public class MultiDelegateBean
extends DelegateBean

MultiDelegateBean is used to encapsulate the data derived from a processor node which contains a dispatchdelegate node in the spine configuration xml file. The predefined data is wrapped within this object and can be retrieved by calling most of the getter methods in this delegate.

Version:
$1.0

Copyright ©Zphinx Software Solutions

Author:
David Ladapo

Constructor Summary
MultiDelegateBean()
          Default Constructor for creating a MultiDelegateBean
MultiDelegateBean(ManagedDaoBean mobBean, String subClass)
          Constructor which accepts a ManagedDaoBean and the name of the delegate class
MultiDelegateBean(String subClass)
          Constructor to set the name of the delegate class
 
Method Summary
 String getBuilderName()
          Gets the full class name of the buider in use by this bean
 ManagedDaoBean[] getManagedBean()
          Returns the array of ManagedDAOBeans
 void setBuilderName(String builderName)
          Sets the ManagerBuilder instance name
 void setDaoBean(LabelIntBean daoBean)
          Adds a ManagedDaoBean to this DispatchDelegate
 
Methods inherited from class com.zphinx.spine.vo.DelegateBean
getDaoBean, getSubClass, setSubClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiDelegateBean

public MultiDelegateBean()
Default Constructor for creating a MultiDelegateBean


MultiDelegateBean

public MultiDelegateBean(String subClass)
Constructor to set the name of the delegate class

Parameters:
subClass - The name of the delegate class;

MultiDelegateBean

public MultiDelegateBean(ManagedDaoBean mobBean,
                         String subClass)
Constructor which accepts a ManagedDaoBean and the name of the delegate class

Parameters:
mobBean - A ManagedDaoBean instance to use to initialize this object
subClass - The name of the delegate class;
Method Detail

getManagedBean

public ManagedDaoBean[] getManagedBean()
Returns the array of ManagedDAOBeans

Returns:
Returns the managedBean.

setDaoBean

public void setDaoBean(LabelIntBean daoBean)
Adds a ManagedDaoBean to this DispatchDelegate

Overrides:
setDaoBean in class DelegateBean
Parameters:
daoBean - The data access bean instance

getBuilderName

public String getBuilderName()
Gets the full class name of the buider in use by this bean

Returns:
the full class name of the buider in use by this bean

setBuilderName

public void setBuilderName(String builderName)
Sets the ManagerBuilder instance name

Parameters:
builderName - The builderName to set.