| java.lang.Object com.ivata.groupware.container.persistence.BaseDO com.ivata.groupware.navigation.menu.MenuDO
MenuDO | public class MenuDO extends BaseDO (Code) | | EntityBean to store the users menu system.
This is a dependent value class, used to pass data back from the.
MenuBean MenuBean to a client application.
Note: This class provides data from
MenuBean MenuBean .
This is no local copy of the bean class, however, and changes here
will not be automatically reflected in
MenuBean MenuBean .
since: 2002-05-07 author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.7 $ See Also: MenuBean |
Method Summary | |
public boolean | equals(Object compare) Comparison method. | final public Set | getItems() | final public Integer | getPriority() Get the order in which this menu should appear, in relation to the other
menus.
the order in which this menu should appear, in relationto the other menus. | final public String | getText() | final public void | setItems(Set items) | final public void | setPriority(Integer priority) Set the order in which this menu should appear, in relation to the other
menus.
Parameters: priority - the order in which this menu should appear, in relationto the other menus. | final public void | setText(String text) |
equals | public boolean equals(Object compare)(Code) | | Comparison method. See if the object supplied is a menu dependent
object and, if so, whether or not its contents are the same as this one.
Only the id fields are compared.
Parameters: compare - the object to compare with this one. true if the object supplied in compare is effectively the same as this one, otherwise false. |
getItems | final public Set getItems()(Code) | | Get all the menu items under this menu.
all items in this menu as a Collection ofMenuItemDO instances. |
getPriority | final public Integer getPriority()(Code) | | Get the order in which this menu should appear, in relation to the other
menus.
the order in which this menu should appear, in relationto the other menus. Lower values of this number will appear lower in theSet of menus (and are therefore more significant). |
getText | final public String getText()(Code) | | Get the text or caption which should appear on this menu.
the text or caption which should appear on this menu |
setItems | final public void setItems(Set items)(Code) | | Set all the menu items under this menu.
Parameters: items - all items in this menu as a Collection ofMenuItemDO instances. |
setPriority | final public void setPriority(Integer priority)(Code) | | Set the order in which this menu should appear, in relation to the other
menus.
Parameters: priority - the order in which this menu should appear, in relationto the other menus. Lower values of this number will appear lower in thelist of menus (and are therefore more significant). |
setText | final public void setText(String text)(Code) | | Set the text or caption which should appear on this menu.
Parameters: text - the text or caption which should appear on this menu |
|
|