org.jpox.enhancer.method
Class IsXXXMethod

java.lang.Object
  extended byorg.jpox.enhancer.method.ClassElementBuilder
      extended byorg.jpox.enhancer.method.MethodBuilder
          extended byorg.jpox.enhancer.method.IsXXXMethod
Direct Known Subclasses:
JdoIsDeleted, JdoIsNew, JdoIsPersistent, JdoIsTransactional

public class IsXXXMethod
extends MethodBuilder

Create jdoIsNew and jdoIsDirty methods in base class.

Version:
$Revision: 1.4 $

Field Summary
protected  java.lang.String invokeMethodName
           
 
Fields inherited from class org.jpox.enhancer.method.MethodBuilder
argName, argType, factory, il, LOCALISER, methodGen, methodName, resultType, synthetic, type
 
Fields inherited from class org.jpox.enhancer.method.ClassElementBuilder
classConfig, classGen, className, constantPoolGen, gen, jdoConfig, packageConfig
 
Constructor Summary
IsXXXMethod(java.lang.String methodName, int type, org.apache.bcel.generic.Type resultType, org.apache.bcel.generic.Type[] argType, java.lang.String[] argName, boolean synthetic, GeneratorBase gen, java.lang.String invokeMethodName)
           
 
Method Summary
 void execute()
          ClassElementBuilder routine
 
Methods inherited from class org.jpox.enhancer.method.MethodBuilder
close, createThrowException, createThrowException, equals, hashCode, init, isSynthetic
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

invokeMethodName

protected java.lang.String invokeMethodName
Constructor Detail

IsXXXMethod

public IsXXXMethod(java.lang.String methodName,
                   int type,
                   org.apache.bcel.generic.Type resultType,
                   org.apache.bcel.generic.Type[] argType,
                   java.lang.String[] argName,
                   boolean synthetic,
                   GeneratorBase gen,
                   java.lang.String invokeMethodName)
Parameters:
methodName - Name of the method
type - Type
resultType - Type of result from method
argType - Argument types
argName - Argument names
synthetic - Whether synthetic or not
gen - Generator base
invokeMethodName - Method name to invoke
Method Detail

execute

public void execute()
Description copied from class: ClassElementBuilder
ClassElementBuilder routine

Overrides:
execute in class MethodBuilder


Copyright © -2007 . All Rights Reserved.