com.remedy.arsys.api
Class CharMenuSQLInfo
java.lang.Object
|
+--com.remedy.arsys.api.CharMenuInfo
|
+--com.remedy.arsys.api.CharMenuSQLInfo
- All Implemented Interfaces:
- java.lang.Cloneable
- 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. |
boolean |
equals(java.lang.Object anObject)
Use this method for checking equality. |
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. |
int |
hashCode()
Returns the hash code value for this instance of the current class. |
| Methods inherited from class java.lang.Object |
finalize, getClass, 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.
equals
public boolean equals(java.lang.Object anObject)
- Use this method for checking equality. The result is true only
if the argument is not null, is of same type and represents the same
content.
- Overrides:
equals in class CharMenuInfo
hashCode
public int hashCode()
- Returns the hash code value for this instance of the current class.
This method is supported as required by the general contract of
Object.hashCode, for the benefit of hash tables such as those provided
by java.util.Hashtable.
- Overrides:
hashCode in class CharMenuInfo