DESY ACOP Beans Home

com.cosylab.gui.components.introspection
Class MethodInvocationSettings

java.lang.Object
  extended by com.cosylab.gui.components.introspection.MethodInvocationSettings

public class MethodInvocationSettings
extends java.lang.Object

A class that holds the necessary information for invoking a method on a class (if the method is static) or an object.

Version:
$id$
Author:
Miha Kadunc

Constructor Summary
MethodInvocationSettings(java.lang.reflect.Method method)
           
 
Method Summary
 java.lang.reflect.Method getMethod()
          Gets the method
 java.lang.Object getObject()
          Gets the object
 java.lang.Object[] getParameters()
          Gets the parameters
 boolean isStaticMethod()
          Gets the staticMethod
 void setMethod(java.lang.reflect.Method method)
          Sets the method
 void setObject(java.lang.Object object)
          Sets the object
 void setParameters(java.lang.Object[] parameters)
          Sets the parameters
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodInvocationSettings

public MethodInvocationSettings(java.lang.reflect.Method method)
Parameters:
method - Method
Method Detail

getMethod

public java.lang.reflect.Method getMethod()
Gets the method

Returns:
Returns a Method

getObject

public java.lang.Object getObject()
Gets the object

Returns:
Returns a Object

getParameters

public java.lang.Object[] getParameters()
Gets the parameters

Returns:
Returns a String[]

isStaticMethod

public boolean isStaticMethod()
Gets the staticMethod

Returns:
Returns a boolean

setMethod

public void setMethod(java.lang.reflect.Method method)
Sets the method

Parameters:
method - The method to set

setObject

public void setObject(java.lang.Object object)
Sets the object

Parameters:
object - The object to set

setParameters

public void setParameters(java.lang.Object[] parameters)
Sets the parameters

Parameters:
parameters - The parameters to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
String


Copyright © 2010. All Rights Reserved.