org.jpox.enhancer.method
Class JdoIsDetached
java.lang.Object
org.jpox.enhancer.method.ClassElementBuilder
org.jpox.enhancer.method.MethodBuilder
org.jpox.enhancer.method.JdoIsDetached
- public class JdoIsDetached
- extends MethodBuilder
Creates the jdoIsDetached() method. The method looks like this :-
public final boolean jdoIsDetached()
{
if (jdoStateManager == null)
{
if (jdoDetachedState == null)
return false;
return true;
}
return false;
}
- Since:
- 1.1
- Version:
- $Revision: 1.5 $
Constructor Summary |
JdoIsDetached(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,
boolean isDetachable)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
JdoIsDetached
public JdoIsDetached(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,
boolean isDetachable)
- Parameters:
methodName
- type
- resultType
- argType
- argName
- synthetic
- gen
-
getInstance
public static JdoIsDetached getInstance(GeneratorBase gen,
boolean isDetachable)
execute
public void execute()
- Description copied from class:
ClassElementBuilder
- ClassElementBuilder routine
- Overrides:
execute
in class MethodBuilder
Copyright © -2007 . All Rights Reserved.