Class IsPersistent


public class IsPersistent extends IsXXX
Method to generate the method "dnIsPersistent" using ASM.
  • Constructor Details

    • IsPersistent

      public IsPersistent(ClassEnhancer enhancer, String name, int access, Object returnType, Object[] argTypes, String[] argNames)
      Constructor.
      Parameters:
      enhancer - ClassEnhancer
      name - Name of method
      access - Access type
      returnType - Return type
      argTypes - Argument types
      argNames - Argument names
  • Method Details

    • getInstance

      public static IsPersistent getInstance(ClassEnhancer enhancer)
    • getStateManagerIsMethod

      protected String getStateManagerIsMethod()
      Method returning the name of the method on the StateManager that gives the return info.
      Specified by:
      getStateManagerIsMethod in class IsXXX
      Returns:
      Name of the StateManager method (isNew, isPersistent, isDeleted etc)