com.remedy.arsys.api
Class CharMenuSQLInfo
java.lang.Object
|
+--com.remedy.arsys.api.CharMenuInfo
|
+--com.remedy.arsys.api.CharMenuSQLInfo
- public class CharMenuSQLInfo
- extends CharMenuInfo
- implements java.lang.Cloneable
The CharMenuSQLInfo class
returns information for SQL menu.
|
Method Summary |
java.lang.Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
int[] |
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. |
ServerNameID |
getServer()
Returns server where SQL menu is located. |
java.lang.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. |
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
CharMenuSQLInfo
protected CharMenuSQLInfo()
CharMenuSQLInfo
public CharMenuSQLInfo(ServerNameID server,
java.lang.String sqlCommand,
int labelIndex,
int valueIndex)
CharMenuSQLInfo
public CharMenuSQLInfo(ServerNameID server,
java.lang.String sqlCommand,
int[] labelIndex,
int valueIndex)
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Description copied from class: CharMenuInfo
- Clone implementation that returns an Object with data cloned from self.
- Overrides:
- clone in class CharMenuInfo
getServer
public ServerNameID getServer()
- Returns server where SQL menu is located.
getSQLCommand
public java.lang.String getSQLCommand()
- Returns SQL command issued to the database that is used in SQL menu.
getLabelIndex
public int[] 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.
getValueIndex
public int getValueIndex()
- Returns numerical index of the database column that contains
the information to load in the field when user chooses the menu item.