7.0 Action Request System Java API

com.remedy.arsys.api
Class COMMethodInfo

java.lang.Object
  extended bycom.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()
          Returns the hash code value for this instance of the current class.
 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

Throws:
java.lang.CloneNotSupportedException

equals

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


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.


7.0 Action Request System Java API