Class IsNew

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

      • IsNew

        public IsNew​(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)