com.zphinx.spine.vo
Class ManagedDaoBean

java.lang.Object
  extended by com.zphinx.spine.vo.LabelIntBean
      extended by com.zphinx.spine.vo.ManagedDaoBean
All Implemented Interfaces:
Serializable

public class ManagedDaoBean
extends LabelIntBean

ManagedDaoBean is an extension of the label int bean which adds the class name of the object and its position within a configuration defined by the term pageIndex

Version:
$1.0

Copyright ©Zphinx Software Solutions

Author:
David Ladapo
See Also:
Serialized Form

Constructor Summary
ManagedDaoBean()
          Default Constructor
ManagedDaoBean(String className, int proxyIndex, String objectClass, int page)
          Construtor which accepts parameters for all the properties of this object
 
Method Summary
 boolean equals(Object obj)
           
 String getObjectClass()
          Returns the name of the object been managed
 int getPageIndex()
          Gets the pageIndex/position of this object
 int hashCode()
           
 void setObjectClass(String objectClass)
          Sets the name of the object been managed
 void setPageIndex(int page)
          Sets the pageIndex/position of this object
 String toString()
          Returns a description for this LabelIntBean
 
Methods inherited from class com.zphinx.spine.vo.LabelIntBean
getIntValue, getLabel, setIntValue, setLabel
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManagedDaoBean

public ManagedDaoBean()
Default Constructor


ManagedDaoBean

public ManagedDaoBean(String className,
                      int proxyIndex,
                      String objectClass,
                      int page)
Construtor which accepts parameters for all the properties of this object

Parameters:
className - The name of the DAO object
proxyIndex - The index of the type of proxy used to initialize the this object e.g DatabaseProxy
objectClass - The name of the object been managed
page - An int representing the position of this ManagedDaoBean
Method Detail

getObjectClass

public String getObjectClass()
Returns the name of the object been managed

Returns:
Returns the objectClass.

setObjectClass

public void setObjectClass(String objectClass)
Sets the name of the object been managed

Parameters:
objectClass - The objectClass to set.

getPageIndex

public int getPageIndex()
Gets the pageIndex/position of this object

Returns:
Returns the pageIndex.

setPageIndex

public void setPageIndex(int page)
Sets the pageIndex/position of this object

Parameters:
page - The pageIndex to set.

equals

public boolean equals(Object obj)
Overrides:
equals in class LabelIntBean

toString

public String toString()
Returns a description for this LabelIntBean

Overrides:
toString in class LabelIntBean

hashCode

public int hashCode()
Overrides:
hashCode in class LabelIntBean