AR System Java API

com.bmc.arsys.api
Class ViewKey

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

public class ViewKey
extends Object
implements Cloneable, Serializable

The ViewKey class provides a unique identifier for VUI objects.

See Also:
Serialized Form

Constructor Summary
ViewKey()
           
ViewKey(String form, int id)
           
 
Method Summary
 Object clone()
          Clone implementation that returns an Object with data cloned from self.
 boolean equals(Object obj)
          Use this method for checking equality of ViewKey.
 String getFormName()
          Returns name of the form containing the VUI
 int getVUIId()
          Returns internal ID of the VUI
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setFormName(String name)
          Sets name of the form containing the VUI
 void setVUIId(int id)
          Sets internal ID of the VUI
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewKey

public ViewKey()

ViewKey

public ViewKey(String form,
               int id)
Method Detail

getVUIId

public int getVUIId()
Returns internal ID of the VUI


setVUIId

public void setVUIId(int id)
Sets internal ID of the VUI


getFormName

public String getFormName()
Returns name of the form containing the VUI


setFormName

public void setFormName(String name)
Sets name of the form containing the VUI


clone

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

Overrides:
clone in class Object
Throws:
CloneNotSupportedException

equals

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

Overrides:
equals in class Object

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.