public class COMMethodInfo extends Object implements Cloneable, Serializable
COMMethodInfo
class defines an OLE Automation method.Constructor and Description |
---|
COMMethodInfo()
constructor
|
COMMethodInfo(String methodName,
String methodIId,
int methodType,
COMValueInfo methodValue,
List<COMMethodParmInfo> parameterList) |
Modifier and Type | Method and Description |
---|---|
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 |
getMethodIId()
Returns ID of the interface that owns the method, length limited by
AR_MAX_COM_ID_SIZE (128 bytes) |
String |
getMethodName()
Returns name of the method, length limited by
AR_MAX_COM_METHOD_NAME
(128 bytes). |
int |
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.
|
List<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(String methodIId)
Sets ID of the interface that owns the method, length limited by
AR_MAX_COM_ID_SIZE (128 bytes) |
void |
setMethodName(String methodName)
Sets name of the method, length limited by
AR_MAX_COM_METHOD_NAME (128
bytes). |
void |
setMethodType(int 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(List<COMMethodParmInfo> parameterList)
Returns list of the parameters passed to this method, specified by using the
COMMethodParmInfo class. |
String |
toString()
Returns a string description of the object.
|
public COMMethodInfo()
public COMMethodInfo(String methodName, String methodIId, int methodType, COMValueInfo methodValue, List<COMMethodParmInfo> parameterList)
public String getMethodName()
AR_MAX_COM_METHOD_NAME
(128 bytes).public void setMethodName(String methodName)
AR_MAX_COM_METHOD_NAME
(128
bytes).public String getMethodIId()
AR_MAX_COM_ID_SIZE
(128 bytes)public void setMethodIId(String methodIId)
AR_MAX_COM_ID_SIZE
(128 bytes)public int getMethodType()
public void setMethodType(int methodType)
public COMValueInfo getMethodValue()
public void setMethodValue(COMValueInfo methodValue)
COMValueInfo
class.public List<COMMethodParmInfo> getParameterList()
public void setParameterList(List<COMMethodParmInfo> parameterList)
COMMethodParmInfo
class.public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public boolean equals(Object obj)
public int hashCode()
? Copyright 2013 BMC Software, Inc.