AR System Java API

com.bmc.arsys.api
Class COMMethodParmInfo

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

public class COMMethodParmInfo
extends Object
implements Cloneable, Serializable

The COMMethodParmInfo class specifies the parameters used in COMValueInfo.

See Also:
Serialized Form

Constructor Summary
COMMethodParmInfo()
          constructor
COMMethodParmInfo(String parmName, int parmType, COMValueInfo parmValue)
           
 
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 between the current object and the provided one.
 String getParmName()
          Returns name of the parameter.
 int getParmType()
          Returns data type of the parameter.
 COMValueInfo getParmValue()
          Returns value of the parameter, specified by using the COMValueInfo class.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setParmName(String parmName)
          Sets name of the parameter.
 void setParmType(int parmType)
          Sets data type of the parameter.
 void setParmValue(COMValueInfo parmValue)
          Sets value of the parameter, specified by using the COMValueInfo class.
 String toString()
          Returns a string description of the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

COMMethodParmInfo

public COMMethodParmInfo()
constructor


COMMethodParmInfo

public COMMethodParmInfo(String parmName,
                         int parmType,
                         COMValueInfo parmValue)
Method Detail

getParmName

public String getParmName()
Returns name of the parameter.


setParmName

public void setParmName(String parmName)
Sets name of the parameter.


getParmType

public int getParmType()
Returns data type of the parameter. Possible values are all OLE variant types.


setParmType

public void setParmType(int parmType)
Sets data type of the parameter. Possible values are all OLE variant types.


getParmValue

public COMValueInfo getParmValue()
Returns value of the parameter, specified by using the COMValueInfo class.


setParmValue

public void setParmValue(COMValueInfo parmValue)
Sets value of the parameter, specified by using the COMValueInfo class.


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 between the current object and the provided one. The result is true only if the argument is not null, is of the same type and represents the same content.

Overrides:
equals in class Object
Parameters:
obj - the object that we are comparing to
Returns:
returns a boolean that tells if the two objects equal

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
Returns:
returns the hash code for this instance

toString

public String toString()
Returns a string description of the object.

Overrides:
toString in class Object

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.