| java.lang.Object org.objectweb.speedo.naming.lib.NamingManagerHelper org.objectweb.speedo.naming.lib.CommonLongIdNamingManager org.objectweb.speedo.naming.lib.OLongIdNamingManager
OLongIdNamingManager | public class OLongIdNamingManager extends CommonLongIdNamingManager (Code) | | This is naming manager manages identifier based on a java.lang.Long value
generated by Speedo, using a persistent generator (Speedo structure in
database). The long value is composed of two parts. Some bits are used for
the class identifier, and the rest is used to identify the object instance
in the class. This identifier format supports very well the polymorphism.
The null reference is represented by the NULL value.The java.lang.Long field
can be a visible persistent field, otherwise it is hidden by Speedo/JORM
implementation.
See Also: org.objectweb.speedo.naming.api.NamingManager See Also: org.objectweb.jorm.facility.naming.olongid.LongIdManager author: S.Chassande-Barrioz |
checkFieldType | protected boolean checkFieldType(String type)(Code) | | |
decodeLong | protected PName decodeLong(PNameCoder pnc, String idStr) throws PException(Code) | | |
encode | public Object encode(PName pn) throws PException(Code) | | |
getBasicOperand | protected BasicOperand getBasicOperand()(Code) | | |
getBinderForGenClass | protected String getBinderForGenClass()(Code) | | |
getFieldType | protected PType getFieldType()(Code) | | |
getHiddenLidFieldName | protected String getHiddenLidFieldName()(Code) | | |
getJavaFieldType | protected Class getJavaFieldType()(Code) | | |
getMapper | public PMapper getMapper()(Code) | | |
newClassPBinder | public PBinder newClassPBinder(String className, Object conn) throws PException(Code) | | |
newClassPNamingContext | public PNamingContext newClassPNamingContext() throws PException(Code) | | |
newGenClassPBinder | public PBinder newGenClassPBinder() throws PException(Code) | | |
setPMapper | public void setPMapper(PMapper mapper)(Code) | | |
Methods inherited from org.objectweb.speedo.naming.lib.CommonLongIdNamingManager | abstract public boolean canManage(SpeedoClass sc)(Code)(Java Doc) public boolean canProvidePBinder(Object hints, ClassLoader classLoader)(Code)(Java Doc) public boolean canProvidePNamingContext(Object hints, ClassLoader classLoader)(Code)(Java Doc) abstract protected boolean checkFieldType(String type)(Code)(Java Doc) public PName decode(PNameCoder pnc, Object oid, java.lang.Class clazz, JormFactory jf) throws PException(Code)(Java Doc) abstract protected PName decodeLong(PNameCoder pnc, String idStr) throws PException(Code)(Java Doc) public void defineClassIdentifierNameDef(NameDef nd, Class jc, SpeedoClass sc, ClassMapping cm, MIBuilderHelper mibh, JormMIMappingBuilder mb, Collection createdMOs) throws SpeedoException, PException(Code)(Java Doc) public void defineClassReferenceNameDef(NameDef nd, ClassRef cr, SpeedoField sf, SpeedoClass currentClass, ClassMapping cm, MIBuilderHelper mibh, JormMIMappingBuilder mb) throws SpeedoException, PException(Code)(Java Doc) public void defineClassReferenceNameDef(NameDef nd, ClassRef cr, SpeedoField sf, SpeedoClass currentClass, GenClassMapping gcm, MIBuilderHelper mibh, JormMIMappingBuilder mb) throws SpeedoException, PException(Code)(Java Doc) public void defineGenClassIdentifierNameDef(NameDef nd, GenClassRef gcr, SpeedoField sf, SpeedoClass currentClass, GenClassMapping gcm, MIBuilderHelper mibh, JormMIMappingBuilder mb) throws SpeedoException, PException(Code)(Java Doc) public void defineGenClassReferenceNameDef(NameDef nd, GenClassRef gcr, SpeedoField sf, SpeedoClass currentClass, ClassMapping cm, MIBuilderHelper mibh, JormMIMappingBuilder mb) throws SpeedoException, PException(Code)(Java Doc) abstract public Object encode(PName pn) throws PException(Code)(Java Doc) abstract protected BasicOperand getBasicOperand()(Code)(Java Doc) abstract protected String getBinderForClass()(Code)(Java Doc) abstract protected String getBinderForGenClass()(Code)(Java Doc) public SpeedoColumn[] getDefaultColumn(SpeedoClass sc)(Code)(Java Doc) abstract protected PType getFieldType()(Code)(Java Doc) abstract protected String getHiddenLidFieldName()(Code)(Java Doc) abstract protected java.lang.Class getJavaFieldType()(Code)(Java Doc) public void getJormNamingConfig(NameDef nd, SpeedoClass targetClass, MetaObject sourceMO, String key, Properties result)(Code)(Java Doc) abstract protected String getLongIdLid()(Code)(Java Doc) abstract public java.lang.Class getLongIdManagerClass()(Code)(Java Doc) abstract protected String getLongIdName()(Code)(Java Doc) abstract public PMapper getMapper()(Code)(Java Doc) public NamingManager.NamingField[] getNamingfields(SpeedoClass sc)(Code)(Java Doc) public PBinder getPBinder(String className, String hints, ClassLoader classLoader, byte mappingStructureRule, Map cn2binder, Map cn2pnc) throws PException(Code)(Java Doc) protected PBinder getPBinder(String className, String binderInfo) throws PException(Code)(Java Doc) abstract public java.lang.Class getPBinderClass()(Code)(Java Doc) abstract public java.lang.Class getPNameClass()(Code)(Java Doc) public String getPNameHints(SpeedoClass sc, NameDef nd)(Code)(Java Doc) public Object[] getPNameHints2(SpeedoClass sc, NameDef nd)(Code)(Java Doc) public PNamingContext getPNamingContext(String className, String hints, ClassLoader classLoader, byte mappingStructureRule, Map cn2binder, Map cn2pnc, Manager miManager, PClassMapping pcm) throws PException(Code)(Java Doc) abstract public java.lang.Class getPNamingContextClass()(Code)(Java Doc) public void init() throws PException(Code)(Java Doc) public boolean needInheritanceDiscriminator(SpeedoClass sc) throws SpeedoException(Code)(Java Doc) abstract public PBinder newClassPBinder(String className, Object conn) throws PException(Code)(Java Doc) abstract public PNamingContext newClassPNamingContext() throws PException(Code)(Java Doc) abstract public PBinder newGenClassPBinder() throws PException(Code)(Java Doc) public void setCache(CacheManager cache)(Code)(Java Doc) public void setLogger(Logger logger)(Code)(Java Doc) public void setPmf(POManagerFactoryItf pmf)(Code)(Java Doc) public boolean supportPNamingcontext()(Code)(Java Doc)
|
Methods inherited from org.objectweb.speedo.naming.lib.NamingManagerHelper | public boolean canProvidePBinder(Object hints, ClassLoader classLoader)(Code)(Java Doc) public boolean canProvidePNamingContext(Object hints, ClassLoader classLoader)(Code)(Java Doc) public static String getBinderClassNameFromHints(Object hints, String idCatName)(Code)(Java Doc) public SpeedoColumn[] getDefaultColumn(SpeedoClass sc)(Code)(Java Doc) abstract protected String getName()(Code)(Java Doc) public NamingManager.NamingField[] getNamingfields(SpeedoClass sc) throws PException(Code)(Java Doc) public PBinder getPBinder(String className, String hints, ClassLoader classLoader, byte mappingStructureRule, Map cn2binder, Map cn2pnc) throws PException(Code)(Java Doc) public static String getPNCClassNameFromHints(Object hints, String idCatName)(Code)(Java Doc) public PNamingContext getPNamingContext(String className, String hints, ClassLoader classLoader, byte mappingStructureRule, Map cn2binder, Map cn2pnc, Manager miManager, PClassMapping pcm) throws PException(Code)(Java Doc) public static String[] getTokens(Object o)(Code)(Java Doc) public boolean needInheritanceDiscriminator(SpeedoClass sc) throws SpeedoException(Code)(Java Doc) public void setCache(CacheManager cache)(Code)(Java Doc) public void setLogger(Logger logger)(Code)(Java Doc) public void setPMapper(PMapper mapper)(Code)(Java Doc) public void setPmf(POManagerFactoryItf pmf)(Code)(Java Doc) public boolean supportPNamingcontext()(Code)(Java Doc)
|
|
|