7.0 Action Request System Java API

com.remedy.arsys.api
Class CharMenuInfo

java.lang.Object
  extended bycom.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()
          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
 

Field Detail

NONE

public static final int NONE
No character menu.

See Also:
Constant Field Values

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:

See Also:
Constant Field Values

QUERY

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

See Also:
Constant Field Values

FILE

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

See Also:
Constant Field Values

SQL

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

See Also:
Constant Field Values

SS

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

See Also:
Constant Field Values

DD

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

See Also:
Constant Field Values
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.

Throws:
java.lang.CloneNotSupportedException

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.


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.


7.0 Action Request System Java API