|
AR System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bmc.arsys.api.ObjectBase
com.bmc.arsys.api.Menu
com.bmc.arsys.api.SqlMenu
public class SqlMenu
The SqlMenu class returns information for SQL menu.
| Constructor Summary | |
|---|---|
SqlMenu(String server,
String sqlCommand,
int labelIndex,
int valueIndex)
|
|
SqlMenu(String server,
String sqlCommand,
List<Integer> labelIndex,
int valueIndex)
|
|
| 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<Integer> |
getLabelIndex()
Returns numerical index of the database column that contains the information to display as the menu item label when user chooses the menu item. |
String |
getServer()
Returns server where SQL menu is located. |
String |
getSQLCommand()
Returns SQL command issued to the database that is used in SQL menu. |
int |
getValueIndex()
Returns numerical index of the database column that contains the information to load in the field when user chooses the menu item. |
int |
hashCode()
Returns the hash code value for this instance of the current class. |
void |
setLabelIndex(List<Integer> index)
Sets numerical index of the database column that contains the information to display as the menu item label when user chooses the menu item. |
void |
setServer(String server)
Sets server where SQL menu is located. |
void |
setSQLCommand(String sqlCommand)
Sets SQL command issued to the database that is used in SQL menu. |
void |
setValueIndex(int index)
Sets numerical index of the database column that contains the information to load in the field when user chooses the menu item. |
String |
toString()
Returns a string description of the object. |
| Methods inherited from class com.bmc.arsys.api.Menu |
|---|
getContent, getKey, getMenuType, getProperties, getRefreshCode, setContent, setKey, setProperties, setRefreshCode |
| Methods inherited from class com.bmc.arsys.api.ObjectBase |
|---|
appendDiaryText, clear, getDiary, getHelpText, getLastChangedBy, getLastUpdateTime, getName, getNewName, getOwner, getPermissions, setDiary, setDiary, setHelpText, setLastChangedBy, setName, setNewName, setOwner, setPermissions |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SqlMenu(String server,
String sqlCommand,
int labelIndex,
int valueIndex)
public SqlMenu(String server,
String sqlCommand,
List<Integer> labelIndex,
int valueIndex)
| Method Detail |
|---|
public Object clone()
throws CloneNotSupportedException
Menu
clone in class MenuCloneNotSupportedExceptionpublic String getServer()
public String getSQLCommand()
public List<Integer> getLabelIndex()
public int getValueIndex()
public boolean equals(Object obj)
equals in class Menuobj - the object that we are comparing to
public int hashCode()
hashCode in class Menupublic String toString()
toString in class Menupublic void setServer(String server)
public void setSQLCommand(String sqlCommand)
public void setLabelIndex(List<Integer> index)
public void setValueIndex(int index)
|
AR System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||