AR System Java API

com.bmc.arsys.api
Class FieldKey

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

public class FieldKey
extends Object
implements Cloneable, Serializable

The FieldKey class provides a unique identifier for field objects.

See Also:
Serialized Form

Constructor Summary
FieldKey()
           
FieldKey(String formName, int fieldId)
           
 
Method Summary
 Object clone()
          Makes a copy of the object.
 boolean equals(Object obj)
          Use this method for checking equality of FieldKey.
 int getFieldID()
          Returns internal ID of the field.
 String getFormName()
          Returns underlying form that contains the field.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setFieldID(int id)
          Sets internal ID of the field.
 void setFormName(String name)
          Sets underlying form that contains the field.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldKey

public FieldKey()

FieldKey

public FieldKey(String formName,
                int fieldId)
Method Detail

getFormName

public String getFormName()
Returns underlying form that contains the field.


setFormName

public void setFormName(String name)
Sets underlying form that contains the field.


getFieldID

public int getFieldID()
Returns internal ID of the field.


setFieldID

public void setFieldID(int id)
Sets internal ID of the field.


equals

public boolean equals(Object obj)
Use this method for checking equality of FieldKey.

Overrides:
equals in class Object

clone

public Object clone()
             throws CloneNotSupportedException
Makes a copy of the object.

Overrides:
clone in class Object
Throws:
CloneNotSupportedException

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 Object

toString

public String toString()
Overrides:
toString in class Object

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.