com.remedy.arsys.api
Class COMMethodInfo

java.lang.Object
  |
  +--com.remedy.arsys.api.COMMethodInfo
All Implemented Interfaces:
java.lang.Cloneable

public class COMMethodInfo
extends java.lang.Object
implements java.lang.Cloneable

The COMMethodInfo class defines an OLE Automation method.


Constructor Summary
COMMethodInfo()
          constructor
COMMethodInfo(java.lang.String methodName, java.lang.String methodIId, long methodType, COMValueInfo methodValue, COMMethodParmInfo[] parameterList)
           
 
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.
 java.lang.String getMethodIId()
          Returns ID of the interface that owns the method, length limited by AR_MAX_COM_ID_SIZE (128 bytes)
 java.lang.String getMethodName()
          Returns name of the method, length limited by AR_MAX_COM_METHOD_NAME (128 bytes).
 long getMethodType()
          Returns type of value returned by the method, if any.
 COMValueInfo getMethodValue()
          Returns AR System field to set to the method's return value, if any.
 COMMethodParmInfo[] getParameterList()
          Returns list of the parameters passed to this method.
 int hashCode()
          This method can be used to populate a hash table.
 void setMethodIId(java.lang.String methodIId)
          Sets ID of the interface that owns the method, length limited by AR_MAX_COM_ID_SIZE (128 bytes)
 void setMethodName(java.lang.String methodName)
          Sets name of the method, length limited by AR_MAX_COM_METHOD_NAME (128 bytes).
 void setMethodType(long methodType)
          Sets type of value returned by the method, if any.
 void setMethodValue(COMValueInfo methodValue)
          Sets AR System field to set to the method's return value, if any.
 void setParameterList(COMMethodParmInfo[] parameterList)
          Returns list of the parameters passed to this method, specified by using the COMMethodParmInfo class.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

COMMethodInfo

public COMMethodInfo()
constructor

COMMethodInfo

public COMMethodInfo(java.lang.String methodName,
                     java.lang.String methodIId,
                     long methodType,
                     COMValueInfo methodValue,
                     COMMethodParmInfo[] parameterList)
Method Detail

getMethodName

public java.lang.String getMethodName()
Returns name of the method, length limited by AR_MAX_COM_METHOD_NAME (128 bytes).

setMethodName

public void setMethodName(java.lang.String methodName)
Sets name of the method, length limited by AR_MAX_COM_METHOD_NAME (128 bytes).

getMethodIId

public java.lang.String getMethodIId()
Returns ID of the interface that owns the method, length limited by AR_MAX_COM_ID_SIZE (128 bytes)

setMethodIId

public void setMethodIId(java.lang.String methodIId)
Sets ID of the interface that owns the method, length limited by AR_MAX_COM_ID_SIZE (128 bytes)

getMethodType

public long getMethodType()
Returns type of value returned by the method, if any. Possible values are all OLE variant types.

setMethodType

public void setMethodType(long methodType)
Sets type of value returned by the method, if any. Possible values are all OLE variant types.

getMethodValue

public COMValueInfo getMethodValue()
Returns AR System field to set to the method's return value, if any.

setMethodValue

public void setMethodValue(COMValueInfo methodValue)
Sets AR System field to set to the method's return value, if any. This is specified by using the COMValueInfo class.

getParameterList

public COMMethodParmInfo[] getParameterList()
Returns list of the parameters passed to this method.

setParameterList

public void setParameterList(COMMethodParmInfo[] parameterList)
Returns list of the parameters passed to this method, specified by using the COMMethodParmInfo class.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self
Overrides:
clone in class java.lang.Object

equals

public boolean equals(java.lang.Object anObject)
Use this method for checking equality. The result is true if and only if the argument is not null, is of same type and represents the same content.
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
This method can be used to populate a hash table. Implicitly used method to test equality of objects.
Overrides:
hashCode in class java.lang.Object