5.1 Action Request System Java API

com.remedy.arsys.api
Class CharMenuInfo

java.lang.Object
  |
  +--com.remedy.arsys.api.CharMenuInfo
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
CharMenuDDInfo, CharMenuFileInfo, CharMenuListInfo, CharMenuQueryInfo, CharMenuSQLInfo, CharMenuSSInfo

public abstract class CharMenuInfo
extends java.lang.Object
implements java.lang.Cloneable

The CharMenuInfo class returns the type of character menu.


Field Summary
static int DD
          Menu items based on Data-Dictionary defined in CharMenuDDInfo
static int FILE
          Menu items based on formatted flat file defined in CharMenuFileInfo
static int LIST
          Menu items based on definitions in CharMenuListInfo.
static int NONE
          No character menu.
static int QUERY
          Menu items based on schema query defined in CharMenuQueryInfo
static int SQL
          Menu items based on SQL query defined in CharMenuSQLInfo
static int SS
          Menu items based on Server-side defined in CharMenuSSInfo
 
Constructor Summary
CharMenuInfo()
           
 
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 getMenuType()
          Returns type of menu: LIST FILE QUERY SQL SS DD NONE
 int hashCode()
          This method can be used to populate a hash table.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
No character menu.

LIST

public static final int LIST
Menu items based on definitions in CharMenuListInfo. Each menu consists of zero or more CharMenuItemInfo items. Each CharMenuItemInfo represents an individual menu item. In this context, a menu item can be a value (a leaf-level item) or another menu (a top- or intermediate-level item). This CharMenuItemInfo class consists of three menu type values:

QUERY

public static final int QUERY
Menu items based on schema query defined in CharMenuQueryInfo

FILE

public static final int FILE
Menu items based on formatted flat file defined in CharMenuFileInfo

SQL

public static final int SQL
Menu items based on SQL query defined in CharMenuSQLInfo

SS

public static final int SS
Menu items based on Server-side defined in CharMenuSSInfo

DD

public static final int DD
Menu items based on Data-Dictionary defined in CharMenuDDInfo
Constructor Detail

CharMenuInfo

public CharMenuInfo()
Method Detail

getMenuType

public int getMenuType()
Returns type of menu:

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self.
Overrides:
clone in class java.lang.Object

equals

public boolean equals(java.lang.Object anObject)
Use this method for checking equality. The result is true if and only if the argument is not null, is of same type and represents the same content.
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
This method can be used to populate a hash table. Implicitly used method to test equality of objects.
Overrides:
hashCode in class java.lang.Object

5.1 Action Request System Java API