Class SetNormal

java.lang.Object
org.datanucleus.enhancer.ClassMethod
org.datanucleus.enhancer.methods.SetNormal

public class SetNormal extends ClassMethod
Method to generate the method "setZZZ" using ASM for NORMAL fields.
static void setZZZ(MyClass objPC, YYY zzz)
{
    objPC.ZZZ = zzz;
}
  • Field Details

  • Constructor Details

    • SetNormal

      public SetNormal(ClassEnhancer enhancer, AbstractMemberMetaData fmd)
      Constructor.
      Parameters:
      enhancer - ClassEnhancer
      fmd - MetaData for the field we are generating for
  • Method Details

    • execute

      public void execute()
      Method to add the contents of the class method.
      Specified by:
      execute in class ClassMethod