public ReverseCodeGenerator(ClassMapping mapping, ApplicationIdTool aid) { super(mapping); super.setDirectory(_dir); super.setCodeFormat(_format); _mapping = mapping; if (aid != null && aid.isInnerClass()) _appid = aid; else _appid = null; }
/** * Create a new instance of the class and assign its state manager. * The new instance has its flags set to <code>LOAD_REQUIRED</code>. */ public static PersistenceCapable newInstance(Class<?> pcClass, StateManager sm, boolean clear) { Meta meta = getMeta(pcClass); return (meta.pc == null) ? null : meta.pc.pcNewInstance(sm, clear); }
/** * Create a new identity object for the given * <code>PersistenceCapable</code> class. */ public static Object newObjectId(Class pcClass) { Meta meta = getMeta(pcClass); return (meta.pc == null) ? null : meta.pc.pcNewObjectIdInstance(); }
public ReverseCodeGenerator(ClassMapping mapping, ApplicationIdTool aid) { super(mapping); super.setDirectory(_dir); super.setCodeFormat(_format); _mapping = mapping; if (aid != null && aid.isInnerClass()) _appid = aid; else _appid = null; }
/** * Create a new identity object for the given * <code>PersistenceCapable</code> class, using the <code>String</code> * form of the constructor. */ public static Object newObjectId(Class<?> pcClass, String str) { Meta meta = getMeta(pcClass); return (meta.pc == null) ? null : meta.pc.pcNewObjectIdInstance(str); }
/** * Create a new instance of the class and assign its state manager and oid. * The new instance has its flags set to <code>LOAD_REQUIRED</code>. */ public static PersistenceCapable newInstance(Class<?> pcClass, StateManager sm, Object oid, boolean clear) { Meta meta = getMeta(pcClass); return (meta.pc == null) ? null : meta.pc.pcNewInstance(sm, oid, clear); }
public ReverseCodeGenerator(ClassMapping mapping, ApplicationIdTool aid) { super(mapping); super.setDirectory(_dir); super.setCodeFormat(_format); _mapping = mapping; if (aid != null && aid.isInnerClass()) _appid = aid; else _appid = null; }
/** * Create a new identity object for the given * <code>PersistenceCapable</code> class. */ public static Object newObjectId(Class<?> pcClass) { Meta meta = getMeta(pcClass); return (meta.pc == null) ? null : meta.pc.pcNewObjectIdInstance(); }
/** * Create a new instance of the class and assign its state manager. * The new instance has its flags set to <code>LOAD_REQUIRED</code>. */ public static PersistenceCapable newInstance(Class pcClass, StateManager sm, boolean clear) { Meta meta = getMeta(pcClass); return (meta.pc == null) ? null : meta.pc.pcNewInstance(sm, clear); }
public ReverseCodeGenerator(ClassMapping mapping, ApplicationIdTool aid) { super(mapping); super.setDirectory(_dir); super.setCodeFormat(_format); _mapping = mapping; if (aid != null && aid.isInnerClass()) _appid = aid; else _appid = null; }
/** * Create a new identity object for the given * <code>PersistenceCapable</code> class, using the <code>String</code> * form of the constructor. */ public static Object newObjectId(Class<?> pcClass, String str) { Meta meta = getMeta(pcClass); return (meta.pc == null) ? null : meta.pc.pcNewObjectIdInstance(str); }
/** * Create a new instance of the class and assign its state manager. * The new instance has its flags set to <code>LOAD_REQUIRED</code>. */ public static PersistenceCapable newInstance(Class<?> pcClass, StateManager sm, boolean clear) { Meta meta = getMeta(pcClass); return (meta.pc == null) ? null : meta.pc.pcNewInstance(sm, clear); }
public ReverseCodeGenerator(ClassMapping mapping, ApplicationIdTool aid) { super(mapping); super.setDirectory(_dir); super.setCodeFormat(_format); _mapping = mapping; if (aid != null && aid.isInnerClass()) _appid = aid; else _appid = null; }
/** * Create a new identity object for the given * <code>PersistenceCapable</code> class, using the <code>String</code> * form of the constructor. */ public static Object newObjectId(Class<?> pcClass, String str) { Meta meta = getMeta(pcClass); return (meta.pc == null) ? null : meta.pc.pcNewObjectIdInstance(str); }
/** * Create a new instance of the class and assign its state manager. * The new instance has its flags set to <code>LOAD_REQUIRED</code>. */ public static PersistenceCapable newInstance(Class<?> pcClass, StateManager sm, boolean clear) { Meta meta = getMeta(pcClass); return (meta.pc == null) ? null : meta.pc.pcNewInstance(sm, clear); }
/** * Create a new identity object for the given * <code>PersistenceCapable</code> class. */ public static Object newObjectId(Class<?> pcClass) { Meta meta = getMeta(pcClass); return (meta.pc == null) ? null : meta.pc.pcNewObjectIdInstance(); }
/** * Create a new instance of the class and assign its state manager. * The new instance has its flags set to <code>LOAD_REQUIRED</code>. */ public static PersistenceCapable newInstance(Class<?> pcClass, StateManager sm, boolean clear) { Meta meta = getMeta(pcClass); return (meta.pc == null) ? null : meta.pc.pcNewInstance(sm, clear); }
/** * Create a new identity object for the given * <code>PersistenceCapable</code> class, using the <code>String</code> * form of the constructor. */ public static Object newObjectId(Class pcClass, String str) { Meta meta = getMeta(pcClass); return (meta.pc == null) ? null : meta.pc.pcNewObjectIdInstance(str); }
/** * Create a new identity object for the given * <code>PersistenceCapable</code> class. */ public static Object newObjectId(Class<?> pcClass) { Meta meta = getMeta(pcClass); return (meta.pc == null) ? null : meta.pc.pcNewObjectIdInstance(); }
/** * Create a new identity object for the given * <code>PersistenceCapable</code> class. */ public static Object newObjectId(Class<?> pcClass) { Meta meta = getMeta(pcClass); return (meta.pc == null) ? null : meta.pc.pcNewObjectIdInstance(); }