public class MethodInvocation
extends java.lang.Object
implements java.io.Serializable
A MethodInvocation should be constructed in accordance with the MethodDescriptor of the target method.
Constructor and Description |
---|
MethodInvocation(java.lang.String methodName,
DataElement[] args) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares this object against the specified object.
|
DataElement[] |
getArguments()
Returns the array of DataElement objects representing the method arguments.
|
java.lang.Object |
getArgumentValue(java.lang.String argName)
Returns the DataElement object representing the named method argument.
|
java.lang.String |
getMethodName()
Returns the method name
|
int |
hashCode()
Returns a hashcode for this Integer.
|
java.lang.String |
toString()
Returns a string representation of this MethodInvocation
|
public MethodInvocation(java.lang.String methodName, DataElement[] args)
methodName
- The name of the method. May not be null or empty string.args
- An array of DataElement objects representing
the arguments of the method. May be null or empty array
to indicate no arguments. The names and values
of these elements should correspond to what was described in
the MethodDescriptor for this method. They must be
serializable types.public java.lang.String getMethodName()
public DataElement[] getArguments()
public java.lang.Object getArgumentValue(java.lang.String argName)
public boolean equals(java.lang.Object obj)
Two MethodInvocation objects are equal if they have the same method name and equalent argument lists.
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2000-2019 TIBCO Inc. All Rights Reserved.