Class MethodDescription

java.lang.Object
com.vaadin.swingkit.core.MethodDescription
All Implemented Interfaces:
Serializable

public class MethodDescription extends Object implements Serializable
Describes a method that could be invoke from Swing app to a Vaadin View integrated in a JVaadinPanel. Provides method and class names and the return and arguments types.
Author:
Vaadin Ltd
See Also:
  • Constructor Details

    • MethodDescription

      public MethodDescription()
  • Method Details

    • getMethodName

      public String getMethodName()
      Gets the method name.
      Returns:
      Method name as a String
    • getClassName

      public String getClassName()
      Gets the class name containing the method.
      Returns:
      The class name of the class containing the method.
    • setClassName

      public void setClassName(String className)
      Sets the class name containing the method.
      Parameters:
      className - The class name containing the method as String.
    • setMethodName

      public void setMethodName(String methodName)
      Sets the method name.
      Parameters:
      methodName - The method name.
    • getReturnType

      public String getReturnType()
      Gets the return type of the method as a String.
      Returns:
      The method type as a String.
    • setReturnType

      public void setReturnType(String returnType)
      Sets the return type of the method as a String.
      Parameters:
      returnType - The return type of the method as a String.
    • getArgTypes

      public String[] getArgTypes()
      Gets the types of the arguments of the method as an array of Strings.
      Returns:
      The types of the arguments of the method as an array of Strings
    • setArgTypes

      public void setArgTypes(String[] argTypes)
      Sets the types of the arguments of the method as an array of Strings.
      Parameters:
      argTypes - The types of the arguments of the method as an array of Strings.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object