AR System Java API

com.bmc.arsys.api
Class EnumItem

java.lang.Object
  extended by com.bmc.arsys.api.EnumItem
All Implemented Interfaces:
Serializable, Cloneable

public class EnumItem
extends Object
implements Cloneable, Serializable

The EnumItem class provides a definition for Custom Enumerated fields.

See Also:
Serialized Form

Constructor Summary
EnumItem()
           
EnumItem(String name)
           
EnumItem(String name, int id)
           
 
Method Summary
 Object clone()
          Clone implementation that returns an Object with data cloned from self.
 boolean equals(Object obj)
           
 String getEnumItemName()
          Returns enumItemName
 int getEnumItemNumber()
          Returns enumItemNumber
 int hashCode()
           
 void setEnumItemName(String name)
          Sets enumItemName
 void setEnumItemNumber(int id)
          Sets enumItemNumber
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnumItem

public EnumItem()

EnumItem

public EnumItem(String name)

EnumItem

public EnumItem(String name,
                int id)
Method Detail

getEnumItemNumber

public int getEnumItemNumber()
Returns enumItemNumber


setEnumItemNumber

public void setEnumItemNumber(int id)
Sets enumItemNumber


getEnumItemName

public String getEnumItemName()
Returns enumItemName


setEnumItemName

public void setEnumItemName(String name)
Sets enumItemName


clone

public Object clone()
             throws CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self.

Overrides:
clone in class Object
Throws:
CloneNotSupportedException

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.