org.jpox.enhancer.method
Class JdoCopyKeyFieldsFromObjectId2

java.lang.Object
  extended byorg.jpox.enhancer.method.ClassElementBuilder
      extended byorg.jpox.enhancer.method.MethodBuilder
          extended byorg.jpox.enhancer.method.JdoCopyKeyFieldsFromObjectId2

public class JdoCopyKeyFieldsFromObjectId2
extends MethodBuilder

Creates the jdoCopyKeyFieldsFromObjectId(Object oid) method.

Version:
$Revision: 1.29 $

Field Summary
 
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
JdoCopyKeyFieldsFromObjectId2(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)
           
 
Method Summary
 void execute()
          ClassElementBuilder routine
static JdoCopyKeyFieldsFromObjectId2 getInstance(GeneratorBase gen)
          Create and return instance of this class.
 
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
 

Constructor Detail

JdoCopyKeyFieldsFromObjectId2

public JdoCopyKeyFieldsFromObjectId2(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)
Parameters:
methodName - Name of the method
type - Type of object
resultType - Type of result
argType - Types of args
argName - Names of args
synthetic - Whether it is synthetic
gen - Generator base
Method Detail

getInstance

public static JdoCopyKeyFieldsFromObjectId2 getInstance(GeneratorBase gen)
Create and return instance of this class.

Parameters:
gen - target class generator
Returns:
instance of this class

execute

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

Overrides:
execute in class MethodBuilder


Copyright © -2007 . All Rights Reserved.