Class IsPersistent

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

      • IsPersistent

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

      • 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
        Name of the StateManager method (isNew, isPersistent, isDeleted etc)