org.datanucleus.enhancer.bcel.method
Class JdoCopyKeyFieldsFromObjectId
java.lang.Object
org.datanucleus.enhancer.ClassMethod
org.datanucleus.enhancer.bcel.BCELClassMethod
org.datanucleus.enhancer.bcel.method.JdoCopyKeyFieldsFromObjectId
public class JdoCopyKeyFieldsFromObjectId
- extends BCELClassMethod
Create the jdoCopyKeyFieldsFromObjectId(ObjectIdFieldConsumer fc, Object oid) method.
- Version:
- $Revision: 1.14 $
|
Constructor Summary |
JdoCopyKeyFieldsFromObjectId(java.lang.String methodName,
int type,
org.apache.bcel.generic.Type resultType,
org.apache.bcel.generic.Type[] argType,
java.lang.String[] argName,
boolean synthetic,
BCELClassEnhancer gen)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
JdoCopyKeyFieldsFromObjectId
public JdoCopyKeyFieldsFromObjectId(java.lang.String methodName,
int type,
org.apache.bcel.generic.Type resultType,
org.apache.bcel.generic.Type[] argType,
java.lang.String[] argName,
boolean synthetic,
BCELClassEnhancer gen)
- Parameters:
methodName - Name of the methodtype - Type of objectresultType - Result type from methodargType - Types of argsargName - Names of argssynthetic - Whether it is syntheticgen - The generator base
getInstance
public static JdoCopyKeyFieldsFromObjectId getInstance(BCELClassEnhancer 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:
BCELClassMethod
- Method to add the contents of the class method.
- Overrides:
execute in class BCELClassMethod
Copyright © 2009. All Rights Reserved.