|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bmc.arsys.api.ObjectBase com.bmc.arsys.api.Menu
public abstract class Menu
The Menu
class and methods are used to represent the properties of menu objects.
Constructor Summary | |
---|---|
Menu()
|
|
Menu(String menuName)
|
Method Summary | |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the provided one. |
List<MenuItem> |
getContent()
|
String |
getKey()
Returns the unique identifier for menu. |
int |
getMenuType()
|
ObjectPropertyMap |
getProperties()
Returns all property information of menu. |
int |
getRefreshCode()
Returns when the menu is refreshed. |
int |
hashCode()
Returns the hash code value for this instance of the current class. |
void |
setContent(List<MenuItem> content)
|
void |
setKey(String key)
Sets the unique identifier for menu. |
void |
setProperties(ObjectPropertyMap props)
Sets property information of menu. |
void |
setRefreshCode(int refreshCode)
Sets when the menu is refreshed. |
String |
toString()
Returns a string description of the object. |
Methods inherited from class com.bmc.arsys.api.ObjectBase |
---|
appendDiaryText, clear, getChangeFlags, getDiary, getHelpText, getLastChangedBy, getLastUpdateTime, getName, getNewName, getOwner, getPermissions, setChangeFlags, setDiary, setDiary, setHelpText, setLastChangedBy, setName, setNewName, setOwner, setPermissions |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Menu()
public Menu(String menuName)
Method Detail |
---|
public void setRefreshCode(int refreshCode)
refreshCode
- This parameter enables you to balance menu consistency with performance. Use one of the following
values to indicate when the menu is refreshed:
Constants.AR_MENU_REFRESH_CONNECT
).
Constants.AR_MENU_REFRESH_OPEN
).
Constants.AR_MENU_REFRESH_INTERVAL
).
public int getRefreshCode()
public ObjectPropertyMap getProperties()
public void setProperties(ObjectPropertyMap props)
public String getKey()
public void setKey(String key)
public List<MenuItem> getContent()
public void setContent(List<MenuItem> content)
public int getMenuType()
public Object clone() throws CloneNotSupportedException
clone
in class ObjectBase
CloneNotSupportedException
public boolean equals(Object obj)
equals
in class ObjectBase
obj
- the object that we are comparing to
public int hashCode()
hashCode
in class ObjectBase
public String toString()
toString
in class ObjectBase
|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |