Class CbMethodHandle

java.lang.Object
com.fluxtion.generator.model.CbMethodHandle

public class CbMethodHandle
extends java.lang.Object
Author:
Greg Higgins
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.lang.Object instance
    the instance the method will operate on.
    boolean isEventHandler
    indicates is an eventhandler method
    boolean isInvertedDirtyHandler  
    boolean isPostEventHandler  
    java.lang.reflect.Method method
    The callback method.
    java.lang.Class parameterClass
    the parameter type of the callback - can be null
    java.lang.String variableName
    the variable name of the instance in the SEP.
  • Constructor Summary

    Constructors 
    Constructor Description
    CbMethodHandle​(java.lang.reflect.Method method, java.lang.Object instance, java.lang.String variableName)  
    CbMethodHandle​(java.lang.reflect.Method method, java.lang.Object instance, java.lang.String variableName, java.lang.Class parameterClass, boolean isEventHandler)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    int hashCode()  
    boolean isInvertedDirtyHandler()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • method

      public final java.lang.reflect.Method method
      The callback method.
    • instance

      public final java.lang.Object instance
      the instance the method will operate on.
    • variableName

      public final java.lang.String variableName
      the variable name of the instance in the SEP.
    • parameterClass

      public final java.lang.Class parameterClass
      the parameter type of the callback - can be null
    • isEventHandler

      public final boolean isEventHandler
      indicates is an eventhandler method
    • isPostEventHandler

      public final boolean isPostEventHandler
    • isInvertedDirtyHandler

      public final boolean isInvertedDirtyHandler
  • Constructor Details

    • CbMethodHandle

      public CbMethodHandle​(java.lang.reflect.Method method, java.lang.Object instance, java.lang.String variableName)
    • CbMethodHandle

      public CbMethodHandle​(java.lang.reflect.Method method, java.lang.Object instance, java.lang.String variableName, java.lang.Class parameterClass, boolean isEventHandler)
  • Method Details

    • isInvertedDirtyHandler

      public boolean isInvertedDirtyHandler()
    • toString

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

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object