|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of PException in org.objectweb.jorm.api |
Subclasses of PException in org.objectweb.jorm.api | |
class |
PExceptionExistingDSI
|
class |
PExceptionIO
This exception is raised in case of problem during any kind of I/O action. |
class |
PExceptionNoDSI
|
class |
PExceptionProtocol
This exception is raised when a problem occured due to protocol inconsistency with respect to life-cycle management for example. |
Methods in org.objectweb.jorm.api that throw PException | |
java.lang.Object |
ConnectionHolder.getCHConnection()
Retrieves a connection to access data on the support. |
PMapCluster |
PMappingStructuresManager.getPMapCluster(java.lang.String jcname)
Asks for the map cluster associated with a JORM class. |
void |
PMappingStructuresManager.addDependency(java.lang.String jcname1,
java.lang.String jcname2)
Adds a dependency between a defined class and another class. |
void |
PMappingStructuresManager.classDefined(java.lang.String jcname)
Indicates that a jorm class is defined. |
void |
PMappingCallback.scheduleEvent(java.util.EventObject e)
Schedules an mapper-related event. |
void |
PMapper.closeConnection(java.lang.Object conn)
Closes the given connection which has been allocated previously using getConnection. |
java.lang.Object |
PMapper.getConnection()
Allocates a connection for accessing the underlying DS. |
java.lang.Object |
PMapper.getConnection(java.lang.Object ctxt)
Allocates a connection for accessing the underlying DS knowing additional context information. |
void |
PMapper.map(PClassMapping pcm)
It registers a PClassMapping associated to a particular JORM class within this PMapper. |
void |
PMapper.map(java.lang.Object conn,
PClassMapping pcm)
It registers a PClassMapping associated to a particular JORM class within this PMapper. |
void |
PMapper.map(java.lang.Object conn,
PClassMapping pcm,
boolean loadmeta)
It registers a PClassMapping associated to a particular JORM class within this PMapper. |
void |
PMapper.setConnectionFactory(java.lang.Object cf)
Assigns a connection factory to this mapper. |
void |
PMapper.setPrefetchCache(PrefetchCache pc)
Assigns a prefetch cache to this mapper. |
void |
PMapper.start()
Starts this mapper. |
void |
PMapper.stop()
Stops this mapper. |
void |
PMapper.unmap(java.lang.String classname)
It unmaps a particular JORM class within this PMapper. |
void |
PMapCluster.createMappingStructures(boolean force)
Creates the mapping structures defined by this map cluster. |
void |
PMapCluster.deleteData()
Deletes the data that have been inserted into the mapping structures defined by this map cluster. |
void |
PMapCluster.deleteMappingStructures()
Deletes all or part of the mapping structures defined by this map cluster when they exist. |
void |
PMapCluster.start()
Starts this map cluster. |
void |
PMapCluster.stop()
Stops this map cluster. |
void |
PMapCluster.updateMappingStructures()
Aligns existing mapping structures to the ones define by this map cluster. |
PIndexedElem |
PIndexedElemFactory.createPIndexedElem()
It creates an indexed element to be used by the binding for exchanging elements between the MI and the binding, using the paAdd and the paiterate methods. |
boolean |
PIndexedElem.pieGetBooleanElem()
It retrieves the value of a boolean element. |
java.lang.Boolean |
PIndexedElem.pieGetObooleanElem()
It retrieves the value of a boolean element. |
byte |
PIndexedElem.pieGetByteElem()
It retrieves the value of a byte element. |
java.lang.Byte |
PIndexedElem.pieGetObyteElem()
It retrieves the value of a byte element. |
byte |
PIndexedElem.pieGetByteIndexField(java.lang.String fn)
It retrieves the value of a byte index field. |
java.lang.Byte |
PIndexedElem.pieGetObyteIndexField(java.lang.String fn)
It retrieves the value of a byte index field. |
char |
PIndexedElem.pieGetCharElem()
It retrieves the value of a char element. |
java.lang.Character |
PIndexedElem.pieGetOcharElem()
It retrieves the value of a char element. |
char |
PIndexedElem.pieGetCharIndexField(java.lang.String fn)
It retrieves the value of a char index field. |
java.lang.Character |
PIndexedElem.pieGetOcharIndexField(java.lang.String fn)
It retrieves the value of a char index field. |
short |
PIndexedElem.pieGetShortElem()
It retrieves the value of a short element. |
java.lang.Short |
PIndexedElem.pieGetOshortElem()
It retrieves the value of a short element. |
short |
PIndexedElem.pieGetShortIndexField(java.lang.String fn)
It retrieves the value of a short index field. |
java.lang.Short |
PIndexedElem.pieGetOshortIndexField(java.lang.String fn)
It retrieves the value of a short index field. |
int |
PIndexedElem.pieGetIntElem()
It retrieves the value of an int element. |
java.lang.Integer |
PIndexedElem.pieGetOintElem()
It retrieves the value of an int element. |
int |
PIndexedElem.pieGetIntIndexField(java.lang.String fn)
It retrieves the value of an int index field. |
java.lang.Integer |
PIndexedElem.pieGetOintIndexField(java.lang.String fn)
It retrieves the value of an int index field. |
long |
PIndexedElem.pieGetLongElem()
It retrieves the value of a long element. |
java.lang.Long |
PIndexedElem.pieGetOlongElem()
It retrieves the value of a long element. |
long |
PIndexedElem.pieGetLongIndexField(java.lang.String fn)
It retrieves the value of a long index field. |
java.lang.Long |
PIndexedElem.pieGetOlongIndexField(java.lang.String fn)
It retrieves the value of a long index field. |
float |
PIndexedElem.pieGetFloatElem()
It retrieves the value of a float element. |
java.lang.Float |
PIndexedElem.pieGetOfloatElem()
It retrieves the value of a float element. |
double |
PIndexedElem.pieGetDoubleElem()
It retrieves the value of a double element. |
java.lang.Double |
PIndexedElem.pieGetOdoubleElem()
It retrieves the value of a double element. |
java.lang.String |
PIndexedElem.pieGetStringElem()
It retrieves the value of a string element. |
java.lang.String |
PIndexedElem.pieGetStringIndexField(java.lang.String fn)
It retrieves the value of a string index field. |
java.util.Date |
PIndexedElem.pieGetDateElem()
It retrieves the value of a date element. |
java.util.Date |
PIndexedElem.pieGetDateIndexField(java.lang.String fn)
It retrieves the value of a date index field. |
char[] |
PIndexedElem.pieGetCharArrayElem()
It retrieves the value of a chararray element. |
byte[] |
PIndexedElem.pieGetByteArrayElem()
It retrieves the value of a bytearray element. |
java.io.Serializable |
PIndexedElem.pieGetSerializedElem()
It retrieves the value of a serialized element. |
java.math.BigInteger |
PIndexedElem.pieGetBigIntegerElem()
It retrieves the value of a BigInteger element. |
java.math.BigDecimal |
PIndexedElem.pieGetBigDecimalElem()
It retrieves the value of a BigDecimal element. |
PName |
PIndexedElem.pieGetRefElem()
It retrieves the value of a reference element. |
void |
PIndexedElem.pieSetBooleanElem(boolean value)
It assigns the value to a boolean element. |
void |
PIndexedElem.pieSetObooleanElem(java.lang.Boolean value)
It assigns the value to a boolean element. |
void |
PIndexedElem.pieSetByteElem(byte value)
It assigns the value to a byte element. |
void |
PIndexedElem.pieSetObyteElem(java.lang.Byte value)
It assigns the value to a Byte element. |
void |
PIndexedElem.pieSetByteIndexField(java.lang.String fn,
byte value)
It assigns the value to a byte index field. |
void |
PIndexedElem.pieSetObyteIndexField(java.lang.String fn,
java.lang.Byte value)
It assigns the value to a Byte index field. |
void |
PIndexedElem.pieSetCharElem(char value)
It assigns the value to a char element. |
void |
PIndexedElem.pieSetOcharElem(java.lang.Character value)
It assigns the value to a Character element. |
void |
PIndexedElem.pieSetCharIndexField(java.lang.String fn,
char value)
It assigns the value to a char index field. |
void |
PIndexedElem.pieSetOcharIndexField(java.lang.String fn,
java.lang.Character value)
It assigns the value to a Character index field. |
void |
PIndexedElem.pieSetShortElem(short value)
It assigns the value to a short element. |
void |
PIndexedElem.pieSetOshortElem(java.lang.Short value)
It assigns the value to a Short element. |
void |
PIndexedElem.pieSetShortIndexField(java.lang.String fn,
short value)
It assigns the value to a short index field. |
void |
PIndexedElem.pieSetOshortIndexField(java.lang.String fn,
java.lang.Short value)
It assigns the value to a Short index field. |
void |
PIndexedElem.pieSetIntElem(int value)
It assigns the value to an int element. |
void |
PIndexedElem.pieSetOintElem(java.lang.Integer value)
It assigns the value to an Integer element. |
void |
PIndexedElem.pieSetIntIndexField(java.lang.String fn,
int value)
It assigns the value to an int index field. |
void |
PIndexedElem.pieSetOintIndexField(java.lang.String fn,
java.lang.Integer value)
It assigns the value to an Integer index field. |
void |
PIndexedElem.pieSetLongElem(long value)
It assigns the value to a long element. |
void |
PIndexedElem.pieSetOlongElem(java.lang.Long value)
It assigns the value to a Long element. |
void |
PIndexedElem.pieSetLongIndexField(java.lang.String fn,
long value)
It assigns the value to a long index field. |
void |
PIndexedElem.pieSetOlongIndexField(java.lang.String fn,
java.lang.Long value)
It assigns the value to a Long index field. |
void |
PIndexedElem.pieSetFloatElem(float value)
It assigns the value to a float element. |
void |
PIndexedElem.pieSetOfloatElem(java.lang.Float value)
It assigns the value to a Float element. |
void |
PIndexedElem.pieSetDoubleElem(double value)
It assigns the value to a double element. |
void |
PIndexedElem.pieSetOdoubleElem(java.lang.Double value)
It assigns the value to a Double element. |
void |
PIndexedElem.pieSetStringElem(java.lang.String value)
It assigns the value to a string element. |
void |
PIndexedElem.pieSetStringIndexField(java.lang.String fn,
java.lang.String value)
It assigns the value to a string index field. |
void |
PIndexedElem.pieSetDateElem(java.util.Date value)
It assigns the value to a date element. |
void |
PIndexedElem.pieSetDateIndexField(java.lang.String fn,
java.util.Date value)
It assigns the value to a date index field. |
void |
PIndexedElem.pieSetCharArrayElem(char[] value)
It assigns the value to a chararray element. |
void |
PIndexedElem.pieSetByteArrayElem(byte[] value)
It assigns the value to a bytearray element. |
void |
PIndexedElem.pieSetSerializedElem(java.io.Serializable value)
It assigns the value to a serialized element. |
void |
PIndexedElem.pieSetBigIntegerElem(java.math.BigInteger value)
It assigns the value to a BigInteger element. |
void |
PIndexedElem.pieSetBigDecimalElem(java.math.BigDecimal value)
It assigns the value to a BigDecimal element. |
void |
PIndexedElem.pieSetRefElem(PName value)
It assigns the value to a reference element. |
void |
PGenClassAccessor.paAdd(PIndexedElem elem,
java.lang.Object conn)
It passes one of the elements extracted from the data store to the memory instance. |
void |
PClassMappingCtrl.setPNameCoder(PNameCoder pnc)
It assigns the PNameCoder used to manage the references hold by a generic class instance whose mapping is described by this PClassMapping. |
void |
PClassMappingCtrl.setPNameCoder(java.lang.String fn,
PNameCoder pnc)
It assigns the PNameCoder used to manage the reference hold by a field whose type is a JORM class. |
PBinding |
PClassMapping.createPBinding()
It creates a new PBinding. |
void |
PClassMapping.init(PMappingCallback mapper,
MetaObject metaclass)
It intialises the class mapping. |
java.util.Iterator |
PClassMapping.getPNameIterator(java.lang.Object conn)
It returns an iterator over all pname of persitent objects availlable in this class. |
void |
PClassMapping.setPBinder(PBinder pb)
It assigns the PBinder associated to this PClassMapping. |
void |
PClassMapping.configureRefFields(PClassMapping.ReferenceConfigurator rc)
It permits to assign the PNameCoder of all the reference fields of the persitent class. |
void |
PBinding.bind(PName pn)
It assigns a DSI represented by the PName passed as a parameter to this PBinding. |
boolean |
PBinding.exist(java.lang.Object conn)
It verifies if the DSI attached to this binding exists within the DS. |
PName |
PBinding.export(java.lang.Object conn)
It creates a new PName for this binding, the binding state is normally changed to LIFECYCLE_NEWTOWRITE, and the link to a data store instance if it existed is removed. |
PName |
PBinding.export(java.lang.Object conn,
java.lang.Object hints)
It creates a new PName for this binding, the binding state is normally changed to LIFECYCLE_NEWTOWRITE, and the link to a data store instance if it existed is removed. |
void |
PBinding.init(PClassMapping pcm)
It initialises a PBinding. |
void |
PBinding.read(java.lang.Object conn,
PAccessor pa)
It reads the data store instance designated by the PName of this binding and transfers each attribute value to the accessor object. |
void |
PBinding.read(java.lang.Object conn,
PAccessor pa,
java.lang.Object txctx)
It reads the data store instance designated by the PName of this binding and transfers each attribute value to the accessor object. |
void |
PBinding.unbind()
It remove the association between a PName and a PBinding. |
void |
PBinding.unexport(java.lang.Object conn)
It prepares this PBinding to remove the data store instance from the data store. |
void |
PBinding.write(java.lang.Object conn,
PAccessor pa)
It transfers each attribute value taken from the PAccessor object to the data store instance designated by the PName associated with this binding. |
boolean |
PAccessorGen.paGetBooleanField(java.lang.String fn)
It retrieves the value of a boolean field. |
java.lang.Boolean |
PAccessorGen.paGetObooleanField(java.lang.String fn)
It retrieves the value of a Boolean field. |
byte |
PAccessorGen.paGetByteField(java.lang.String fn)
It retrieves the value of a byte field. |
java.lang.Byte |
PAccessorGen.paGetObyteField(java.lang.String fn)
It retrieves the value of a Byte field. |
char |
PAccessorGen.paGetCharField(java.lang.String fn)
It retrieves the value of a char field. |
java.lang.Character |
PAccessorGen.paGetOcharField(java.lang.String fn)
It retrieves the value of a Character field. |
short |
PAccessorGen.paGetShortField(java.lang.String fn)
It retrieves the value of a short field. |
java.lang.Short |
PAccessorGen.paGetOshortField(java.lang.String fn)
It retrieves the value of a Short field. |
int |
PAccessorGen.paGetIntField(java.lang.String fn)
It retrieves the value of an int field. |
java.lang.Integer |
PAccessorGen.paGetOintField(java.lang.String fn)
It retrieves the value of an Integer field. |
long |
PAccessorGen.paGetLongField(java.lang.String fn)
It retrieves the value of a long field. |
java.lang.Long |
PAccessorGen.paGetOlongField(java.lang.String fn)
It retrieves the value of a Long field. |
float |
PAccessorGen.paGetFloatField(java.lang.String fn)
It retrieves the value of a float field. |
java.lang.Float |
PAccessorGen.paGetOfloatField(java.lang.String fn)
It retrieves the value of a Float field. |
double |
PAccessorGen.paGetDoubleField(java.lang.String fn)
It retrieves the value of a double field. |
java.lang.Double |
PAccessorGen.paGetOdoubleField(java.lang.String fn)
It retrieves the value of a Double field. |
java.lang.String |
PAccessorGen.paGetStringField(java.lang.String fn)
It retrieves the value of a string field. |
java.util.Date |
PAccessorGen.paGetDateField(java.lang.String fn)
It retrieves the value of a date field. |
java.io.Serializable |
PAccessorGen.paGetSerializedField(java.lang.String fn)
It retrieves the value of a serialized field. |
byte[] |
PAccessorGen.paGetByteArrayField(java.lang.String fn)
It retrieves the value of a byte[] field. |
char[] |
PAccessorGen.paGetCharArrayField(java.lang.String fn)
It retrieves the value of a char[] field. |
java.math.BigInteger |
PAccessorGen.paGetBigIntegerField(java.lang.String fn)
It retrieves the value of a BigInteger field. |
java.math.BigDecimal |
PAccessorGen.paGetBigDecimalField(java.lang.String fn)
It retrieves the value of a BigDecimal field. |
PName |
PAccessorGen.paGetRefField(java.lang.String fn,
java.lang.Object connection)
It retrieves the value of a reference field. |
void |
PAccessorGen.paSetBooleanField(java.lang.String fn,
boolean value)
It assigns the value to a boolean field. |
void |
PAccessorGen.paSetObooleanField(java.lang.String fn,
java.lang.Boolean value)
It assigns the value to a Boolean field. |
void |
PAccessorGen.paSetByteField(java.lang.String fn,
byte value)
It assigns the value to a byte field. |
void |
PAccessorGen.paSetObyteField(java.lang.String fn,
java.lang.Byte value)
It assigns the value to a Byte field. |
void |
PAccessorGen.paSetCharField(java.lang.String fn,
char value)
It assigns the value to a char field. |
void |
PAccessorGen.paSetOcharField(java.lang.String fn,
java.lang.Character value)
It assigns the value to a Character field. |
void |
PAccessorGen.paSetShortField(java.lang.String fn,
short value)
It assigns the value to a short field. |
void |
PAccessorGen.paSetOshortField(java.lang.String fn,
java.lang.Short value)
It assigns the value to a Short field. |
void |
PAccessorGen.paSetIntField(java.lang.String fn,
int value)
It assigns the value to an int field. |
void |
PAccessorGen.paSetOintField(java.lang.String fn,
java.lang.Integer value)
It assigns the value to an Integer field. |
void |
PAccessorGen.paSetLongField(java.lang.String fn,
long value)
It assigns the value to a long field. |
void |
PAccessorGen.paSetOlongField(java.lang.String fn,
java.lang.Long value)
It assigns the value to a Long field. |
void |
PAccessorGen.paSetFloatField(java.lang.String fn,
float value)
It assigns the value to a float field. |
void |
PAccessorGen.paSetOfloatField(java.lang.String fn,
java.lang.Float value)
It assigns the value to a Float field. |
void |
PAccessorGen.paSetDoubleField(java.lang.String fn,
double value)
It assigns the value to a double field. |
void |
PAccessorGen.paSetOdoubleField(java.lang.String fn,
java.lang.Double value)
It assigns the value to a Double field. |
void |
PAccessorGen.paSetStringField(java.lang.String fn,
java.lang.String value)
It assigns the value to a string field. |
void |
PAccessorGen.paSetDateField(java.lang.String fn,
java.util.Date value)
It assigns the value to a date field. |
void |
PAccessorGen.paSetSerializedField(java.lang.String fn,
java.io.Serializable value)
It assigns the value to a serialized field. |
void |
PAccessorGen.paSetByteArrayField(java.lang.String fn,
byte[] value)
It assigns the value to a byte[] field. |
void |
PAccessorGen.paSetCharArrayField(java.lang.String fn,
char[] value)
It assigns the value to a char[] field. |
void |
PAccessorGen.paSetBigIntegerField(java.lang.String fn,
java.math.BigInteger value)
It assigns the value to a BigInteger field. |
void |
PAccessorGen.paSetBigDecimalField(java.lang.String fn,
java.math.BigDecimal value)
It assigns the value to a BigDecimal field. |
void |
PAccessorGen.paSetRefField(java.lang.String fn,
PName value,
java.lang.Object connection)
It assigns the value to a reference field. |
Uses of PException in org.objectweb.jorm.compiler.api |
Subclasses of PException in org.objectweb.jorm.compiler.api | |
class |
PExceptionCompiler
This exception is thrown when an error occured inside the compiler. |
Uses of PException in org.objectweb.jorm.compiler.lib |
Methods in org.objectweb.jorm.compiler.lib that throw PException | |
void |
JormCompilerParameter.loadConfFile(java.lang.String file,
java.util.Iterator knownmappers)
Load a jorm configuration file. |
void |
JormCompilerParameter.loadConfFile(java.io.InputStream in,
java.util.Iterator knownmappers)
Load a jorm configuration file. |
void |
JormCompiler.setupLogger()
It assigns a LoggerFactory and a Logger if it is not already done. |
void |
JormCompiler.setupMIManager()
|
void |
JormCompiler.setupParser()
|
void |
JormCompiler.setupVerifier()
|
void |
JormCompiler.setupGenerator()
|
void |
JormCompiler.process()
Creates class instances for the XML parser, the Meta Information Manager and manages the JormGenerator system. |
java.util.Collection |
JormCompiler.parseFiles(java.util.Collection fns)
Parses the input files and build the meta information. |
void |
JormCompiler.verifyMetaInfo(java.util.Collection mos)
Verifies if the metainformation is in a clean state. |
java.util.Collection |
JormCompiler.generateFiles(java.util.Collection c)
Generates java files for all meta object specified in the Collection parameter. |
void |
JormCompiler.compileFiles(java.util.Collection javafiles)
Compiles with javac the java files generated by the generator system. |
void |
JormCompiler.setupWriter()
|
java.util.Collection |
JormCompiler.generateJormFiles(java.util.Collection c)
Generates .files for all meta object specified in the Collection parameter. |
Uses of PException in org.objectweb.jorm.facility.naming.basidir |
Methods in org.objectweb.jorm.facility.naming.basidir that throw PException | |
PName |
BasidBinder.export(java.lang.Object conn,
java.lang.Object en)
|
PName |
BasidBinder.export(java.lang.Object conn,
java.lang.Object en,
java.lang.Object hints)
|
PName |
BasidBinder.resolve(java.lang.Object conn,
PName pn)
|
void |
BasidBinder.unexport(java.lang.Object conn,
PName pn)
|
void |
BasidBinder.unexport(java.lang.Object conn,
PName pn,
java.lang.Object hints)
|
PBinding |
BasidBinder.lookup(PName pn)
|
void |
BasidBinder.bind(PName pn,
PBindingCtrl pb)
|
void |
BasidBinder.unbind(PBindingCtrl pb)
|
void |
BasidBinder.setCacheManager(CacheManager cm)
Assigns the cache manager associated with this binder. |
Constructors in org.objectweb.jorm.facility.naming.basidir that throw PException | |
BasidBinder(PMapper m,
java.lang.String genname,
byte clact)
|
Uses of PException in org.objectweb.jorm.facility.naming.generator |
Methods in org.objectweb.jorm.facility.naming.generator that throw PException | |
static void |
LongGenMgrRegistry.registerLonGenMgr(LongGenMgr lgm)
Adds this LongGenMgr from this registry. |
void |
LongGenMgr.init(PMapper pm,
byte clact)
Initializes a long generator manager by mapping relevant classes to the given mapper, and setting up relevant initial persistent information. |
LongGen |
LongGenMgr.getLongGen(java.lang.String lgname)
Retrieves a long generator with the given name. |
void |
LongGenIncrMgr.init(PMapper pm,
byte clact)
Initializes a long generator manager by mapping relevant classes to the given mapper, and setting relevant initial persistent information. |
LongGen |
LongGenIncrMgr.getLongGen(java.lang.String lgname)
Retrieves a long generator with the given name. |
void |
LongGenIncr.init(java.lang.String name,
PClassMapping pcm,
LongGenMgr mgr)
Initializes this long generator. |
long |
LongGenIncr.genId()
Generates a new long identifier. |
void |
LongGen.init(java.lang.String name,
PClassMapping pcm,
LongGenMgr mgr)
Initializes this long generator. |
long |
LongGen.genId()
Generates a new long identifier. |
Uses of PException in org.objectweb.jorm.facility.naming.polymorphid |
Methods in org.objectweb.jorm.facility.naming.polymorphid that throw PException | |
PName |
PolymorphRefNC.export(java.lang.Object conn,
java.lang.Object infoitem)
|
PName |
PolymorphRefNC.export(java.lang.Object conn,
java.lang.Object infoitem,
java.lang.Object hints)
|
void |
PolymorphRefNC.setNullPName(java.lang.Object o)
|
PName |
PolymorphRefNC.resolve(java.lang.Object conn,
PName pn)
|
void |
PolymorphRefNC.unexport(java.lang.Object conn,
PName pn)
|
void |
PolymorphRefNC.unexport(java.lang.Object conn,
PName pn,
java.lang.Object hints)
|
static void |
PolymorphIdMgrRegistry.registerPolymorphIdMgr(PolymorphIdMgr pim)
Adds this PolymorphIdMgr from this registry. |
PBinder |
PolymorphIdMgrImpl.getPBinder(java.lang.String cn)
Retrieves a PBinder that manages polymorphic identifiers for the class with the given name. |
PBinder |
PolymorphIdMgrImpl.getPBinder(java.lang.String cn,
java.lang.Object conn)
Retrieves a PBinder that manages polymorphic identifiers for the class with the given name. |
PBinder |
PolymorphIdMgrImpl.getPBinder(long id)
Retrieves a PBinder that manages polymorphic identifiers for the class with the given identifier. |
PBinder |
PolymorphIdMgrImpl.getPBinder(long id,
java.lang.Object conn)
Retrieves a PBinder that manages polymorphic identifiers for the class with the given identifier. |
void |
PolymorphIdMgrImpl.init(PMapper pm,
byte clact)
Initializes a polymorphic identifier manager by mapping relevant classes to the given mapper, and setting up relevant initial persistent information. |
long |
PolymorphIdMgrImpl.newClassId()
Allocates a new persisttent class identifier. |
PBinder |
PolymorphIdMgr.getPBinder(java.lang.String cn)
Retrieves a PBinder that manages polymorphic identifiers for the class with the given name. |
PBinder |
PolymorphIdMgr.getPBinder(long id)
Retrieves a PBinder that manages polymorphic identifiers for the class with the given name. |
PBinder |
PolymorphIdMgr.getPBinder(java.lang.String cn,
java.lang.Object conn)
Retrieves a PBinder that manages polymorphic identifiers for the class with the given name. |
void |
PolymorphIdMgr.init(PMapper pm,
byte clact)
Initializes a polymorphic identifier manager by mapping relevant classes to the given mapper, and setting up relevant initial persistent information. |
long |
PolymorphIdMgr.newClassId()
Allocates a new persisttent class identifier. |
PName |
PolymorphIdBinderInfo.export(java.lang.Object conn,
java.lang.Object binding)
|
PName |
PolymorphIdBinderInfo.export(java.lang.Object conn,
java.lang.Object binding,
java.lang.Object ctxt)
|
void |
PolymorphIdBinderInfo.paSetClassId(long val)
|
long |
PolymorphIdBinderInfo.paGetClassId()
|
void |
PolymorphIdBinderInfo.paSetClassName(java.lang.String val)
|
java.lang.String |
PolymorphIdBinderInfo.paGetClassName()
|
Uses of PException in org.objectweb.jorm.facility.naming.rdbsequence |
Methods in org.objectweb.jorm.facility.naming.rdbsequence that throw PException | |
byte |
RdbSequencePName.pngetByteField(java.lang.String fn,
java.lang.Object ctxt)
|
java.lang.Byte |
RdbSequencePName.pngetObyteField(java.lang.String fn,
java.lang.Object ctxt)
|
char |
RdbSequencePName.pngetCharField(java.lang.String fn,
java.lang.Object ctxt)
|
java.lang.Character |
RdbSequencePName.pngetOcharField(java.lang.String fn,
java.lang.Object ctxt)
|
short |
RdbSequencePName.pngetShortField(java.lang.String fn,
java.lang.Object ctxt)
|
java.lang.Short |
RdbSequencePName.pngetOshortField(java.lang.String fn,
java.lang.Object ctxt)
|
int |
RdbSequencePName.pngetIntField(java.lang.String fn,
java.lang.Object ctxt)
|
java.lang.Integer |
RdbSequencePName.pngetOintField(java.lang.String fn,
java.lang.Object ctxt)
|
long |
RdbSequencePName.pngetLongField(java.lang.String fn,
java.lang.Object ctxt)
|
java.lang.Long |
RdbSequencePName.pngetOlongField(java.lang.String fn,
java.lang.Object ctxt)
|
java.lang.String |
RdbSequencePName.pngetStringField(java.lang.String fn,
java.lang.Object ctxt)
|
byte[] |
RdbSequencePName.pngetByteArrayField(java.lang.String fn,
java.lang.Object ctxt)
|
char[] |
RdbSequencePName.pngetCharArrayField(java.lang.String fn,
java.lang.Object ctxt)
|
java.util.Date |
RdbSequencePName.pngetDateField(java.lang.String fn,
java.lang.Object ctxt)
|
java.math.BigDecimal |
RdbSequencePName.pngetBigDecimalField(java.lang.String fn,
java.lang.Object ctxt)
|
java.math.BigInteger |
RdbSequencePName.pngetBigIntegerField(java.lang.String fn,
java.lang.Object ctxt)
|
PName |
RdbSequenceBinder.resolve(java.lang.Object conn,
PName pn)
|
PName |
RdbSequenceBinder.export(java.lang.Object conn,
java.lang.Object infoitem,
java.lang.Object hints)
|
PName |
RdbSequenceBinder.export(java.lang.Object c,
java.lang.Object en)
|
void |
RdbSequenceBinder.unexport(java.lang.Object conn,
PName pn)
|
void |
RdbSequenceBinder.unexport(java.lang.Object conn,
PName pn,
java.lang.Object hints)
|
Uses of PException in org.objectweb.jorm.genclass.lib |
Methods in org.objectweb.jorm.genclass.lib that throw PException | |
void |
GenClassMapping.init(PMappingCallback mapper,
MetaObject metaclass)
It intialises the class mapping. |
void |
GenClassMapping.configureRefFields(PClassMapping.ReferenceConfigurator rc)
|
void |
GenClassMapping.setPNameCoder(PNameCoder pnc)
It assigns the PNameCoder used to manage the references hold by a generic class instance whose mapping is described by this PClassMapping. |
void |
GenClassMapping.setPNameCoder(java.lang.String fn,
PNameCoder pnc)
It assigns the PNameCoder used to manage the reference hold by a field whose type is a JORM class. |
void |
GenClassBinding.bind(PName pn)
It assigns a DSI represented by the PName passed as a parameter to this PBinding. |
PName |
GenClassBinding.export(java.lang.Object conn)
It creates a new PName for this binding, the binding state is normally changed to LIFECYCLE_NEWTOWRITE, and the link to a data store instance if it existed is removed. |
PName |
GenClassBinding.export(java.lang.Object conn,
java.lang.Object hints)
|
void |
GenClassBinding.unbind()
It remove the association between a PName and a PBinding. |
void |
GenClassBinding.unexport(java.lang.Object conn)
It prepares this PBinding to remove the data store instance from the data store. |
void |
GenClassBinding.read(java.lang.Object conn,
PAccessor pa,
java.lang.Object txctx)
It reads the data store instance designated by the PName of this binding and transfers each attribute value to the accessor object. |
Uses of PException in org.objectweb.jorm.generator.api |
Methods in org.objectweb.jorm.generator.api that throw PException | |
MOP |
MOPFactory.createMappingMOP(JormCompilerParameter cp,
java.lang.String mappername)
This method must return a new instance of a MappingMOP. |
MOP |
MOPFactory.createBindingMOP(JormCompilerParameter cp,
java.lang.String mappername)
This method must return a new instance of a BindingMOP. |
java.lang.Object |
MOPFactory.createClassGenerationContext(Mapping mo)
Creates a generation context that can be shared between binding and mapping generation for a particular class. |
void |
MOP.initContext(Context ctx)
Initializes a velocity context |
void |
Generator.init()
Initializes the generator. |
void |
Generator.generate(Class mo,
TargetHolder th,
JormCompilerParameter cp,
JormConfigurator jcc)
Generates code for the given Class. |
void |
Generator.generate(CompositeName mo,
TargetHolder th,
JormCompilerParameter cp)
Generates code for the given CompositeName. |
Uses of PException in org.objectweb.jorm.generator.lib |
Methods in org.objectweb.jorm.generator.lib that throw PException | |
void |
PNameGetterGenerator.generate(CompositeName co,
TargetHolder holder,
JormCompilerParameter cp)
This method generates a XPNameGetter file corresponding to the mo parameter in the directory parameter. |
void |
PNameGenerator.generate(CompositeName co,
TargetHolder holder,
JormCompilerParameter cp)
This method generates a XPName file corresponding to the pod parameter in the directory parameter. |
java.lang.String |
PNameGenerator.getCnHashCode(CompositeName cn)
It compute the hashcode method for a composite pname. |
java.lang.String |
PNameGenerator.getCnEquals(CompositeName cn)
It compute the equality test for the equals method for pname. |
java.lang.String |
PNameGenerator.getPNameNullTest(CompositeName cn)
It compute the test used to know if a pname is null. |
java.lang.String |
PNameGenerator.getPNameNullValue(CompositeName cn,
java.lang.String pncVal)
It compute the constructor parameter used to instanciate a null pname. |
java.lang.String |
PNameGenerator.getNullValue(CompositeName cn,
ScalarField f)
|
void |
MappingGenerator.generate(Class co,
TargetHolder holder,
JormCompilerParameter cp,
JormConfigurator jcc,
java.util.Map genctxts)
This method generates a XXXPMapping file corresponding to the pod parameter in the directory parameter |
void |
JormGenerator.init()
Initializes the generator. |
void |
JormGenerator.generate(Class mo,
TargetHolder holder,
JormCompilerParameter cp,
JormConfigurator jcc)
This method generates the jorm objects by delegation to the AccessorGenerator, the BindingGenerator and the MappingGenerator. |
void |
JormGenerator.generate(CompositeName mo,
TargetHolder holder,
JormCompilerParameter cp)
This method generates the jorm objects by delegation to the PNameGenerator, BinderGenerator and CompositeNameGenerator. |
PrimitiveElement |
CommonHelper.getPrimitiveElement(java.lang.Object mo,
Class c,
boolean canBeFieldName)
This method allow to retrieve a primitive element from th meta object mo. |
boolean |
CommonHelper.containsFieldWhichCanBeNull(Class co)
This method tests if a class contains a serialized field. |
java.lang.String |
CommonHelper.getTupleDecoding(java.lang.String tmpv,
java.lang.String fn,
java.lang.String tuplevn,
PType pt,
int pos)
Builds the string representing the expression to decode a PName wrt the relevant tuple field having the right type. |
java.lang.String |
CommonHelper.getTupleGetter(java.lang.String tuplevn,
PType pt,
int pos)
Builds the string representing the expression to access the relevant tuple field having the right type. |
java.lang.String |
CommonHelper.getPaGetMethod(PType pt)
This method does the conversion between a PType @pt and the getter function to use on a PAccessorGen (generic accessor). |
java.lang.String |
CommonHelper.getPaSetMethod(PType pt)
This method does the conversion between a PType @pt and the setter function to use on a PAccessorGen (generic accessor). |
java.lang.String |
CommonHelper.getPNameDecodeFunction(PType pt)
This method permits to find the right decode function either the PType specified by the parameter @pt. |
java.lang.String |
CommonHelper.getPNameGetterGetFunction(PType pt)
This method permits to find the right pngetXField function either the PType specified by the parameter @pt. |
java.lang.String |
CommonHelper.getPNameEncodeFunction(PType pt)
This method permits to find the right encode function either the PType specified by the parameter @pt. |
boolean |
CommonHelper.canBeNullValue(PType type)
|
void |
BindingGenerator.generate(Class co,
TargetHolder holder,
JormCompilerParameter cp,
JormConfigurator jcc,
java.util.Map genctxts)
This method generates a XPBinding file corresponding to the pod parameter in the directory parameter |
void |
BinderGenerator.generate(CompositeName co,
TargetHolder holder,
JormCompilerParameter cp)
This method generates a XPBinder file corresponding to the co parameter in the directory parameter. |
boolean |
BinderGenerator.containsObject(CompositeName cn)
|
boolean |
BinderGenerator.containsPrimitive(CompositeName cn)
|
java.lang.String |
BinderGenerator.getPNameFromSpecificPNG(CompositeName cn,
java.lang.String pngVar,
java.lang.String ctxVar)
|
java.lang.String |
BinderGenerator.getPNameFromGenericPNG(CompositeName cn,
java.lang.String pngVar,
java.lang.String ctxVar)
|
java.lang.String |
BinderGenerator.getTestNullValues(CompositeName cn,
boolean generic,
java.lang.String ctx)
|
void |
AccessorGenerator.generate(Class co,
TargetHolder holder,
JormCompilerParameter cp)
This method generates a XAccessor file corresponding to the pod parameter in the directory parameter. |
Constructors in org.objectweb.jorm.generator.lib that throw PException | |
MappingGenerator(JormConfigurator jcc,
JormCompilerParameter cp)
This constrcutor permits to specify which BindingMOP must be used |
|
BindingGenerator(JormConfigurator jcc,
JormCompilerParameter cp)
This constrcutor permits to specify which BindingMOP must be used |
Uses of PException in org.objectweb.jorm.lib |
Methods in org.objectweb.jorm.lib that throw PException | |
void |
MapperJCA.closeConnection(java.lang.Object conn)
Closes the given connection which has been allocated previously using getConnection. |
java.lang.Object |
MapperJCA.getConnection()
Allocates a connection for accessing the underlying DS. |
java.lang.Object |
MapperJCA.getConnection(java.lang.Object ctxt)
Allocates a connection for accessing the underlying DS knowing additional context information. |
void |
MapperJCA.setConnectionFactory(java.lang.Object cf)
Assigns a connection factory to this mapper. |
void |
Mapper.scheduleEvent(java.util.EventObject e)
Schedules an mapper-related event. |
void |
Mapper.map(PClassMapping pcm)
It registers a PClassMapping associated to a particular JORM class within this PMapper. |
void |
Mapper.map(java.lang.Object conn,
PClassMapping pcm)
It registers a PClassMapping associated to a particular JORM class within this PMapper. |
void |
Mapper.map(java.lang.Object conn,
PClassMapping pcm,
boolean loadmeta)
It registers a PClassMapping associated to a particular JORM class within this PMapper. |
void |
Mapper.start()
Starts this mapper. |
void |
Mapper.stop()
Stops this mapper. |
void |
Mapper.unmap(java.lang.String classname)
It unmaps a particular JORM class within this PMapper. |
void |
Mapper.setPrefetchCache(PrefetchCache pc)
Assigns a prefetch cache to this mapper. |
PMapCluster |
Mapper.getPMapCluster(java.lang.String jcname)
Asks for the map cluster associated with a JORM class. |
void |
Mapper.addDependency(java.lang.String jcname1,
java.lang.String jcname2)
|
void |
Mapper.classDefined(java.lang.String jcname)
|
void |
JormConfigurator.configure(java.lang.String propertyfile)
Configures the JORM compiler by loading information related to the different mappers supported by this instance of JORM. |
void |
JormConfigurator.configure()
|
void |
JormConfigurator.configureLog(java.lang.String propertyfile)
Configures the logger factory object with a properties object. |
java.util.Iterator |
JormConfigurator.knownMappers()
Lists the names of supported mappers. |
LoggerFactory |
JormConfigurator.getLoggerFactory()
Gets the logger factory associated with this instance of JORM. |
Manager |
JormConfigurator.getMIManager()
Gets the MI manager to be used by JORM. |
Parser |
JormConfigurator.getParser()
Gets the parser to be used by JORM. |
Verifier |
JormConfigurator.getVerifier()
Gets the verifier to be used by JORM. |
Generator |
JormConfigurator.getGenerator()
Gets the generator to be used by JORM. |
java.lang.String |
JormConfigurator.getJormcOptsFile()
Gets the name to be used for the compiler options file. |
MappingFactory |
JormConfigurator.getMIFactory(java.lang.String mappername)
Gets the MI factory associated with the given mapper. |
PMappingStructuresManager |
JormConfigurator.getSchMgr(java.lang.String mappername)
Gets the schema manager associated with the given mapper. |
java.lang.Class |
JormConfigurator.getGcmClass(java.lang.String mappername)
Gets the class name of the GenClassMapping associated with the given mapper. |
MOPFactory |
JormConfigurator.getMOPFactory(java.lang.String mappername)
Gets the MOP factory associated with the given mapper. |
java.io.InputStream |
JormConfigurator.getGlobalJormcOptsFile()
Gets an InputStream for reading the global compiler parameters. |
MappingParser |
JormConfigurator.getMappingParser(java.lang.String mappername)
Gets the parser associated with the given mapper for mapping infos. |
MappingVerifier |
JormConfigurator.getMappingVerifier(java.lang.String mappername)
Gets the verifier associated with the given mapper. |
Writer |
JormConfigurator.getWriter()
Gets the BasicDomWriter object. |
MappingDomtreeBuilder |
JormConfigurator.getMappingDomtreeBuilder(java.lang.String mappername)
Gets the MappingDomTreeBuilder object associated with the given mapper. |
java.util.Collection |
JormConfigurator.getSubMappers(java.lang.String mappername)
Gets the submappers associated with a given mapper. |
Constructors in org.objectweb.jorm.lib that throw PException | |
MapperJCA()
|
|
Mapper()
It builds a JormCompiler with the default JormCompilerParameter and JormCompilerParameter. |
Uses of PException in org.objectweb.jorm.mapper.fos.genclass |
Methods in org.objectweb.jorm.mapper.fos.genclass that throw PException | |
void |
FosGenClassMapping.init(PMappingCallback mapper,
MetaObject metaclass)
It intialises the class mapping. |
PBinding |
FosGenClassMapping.createPBinding()
It creates a new PBinding. |
java.util.Iterator |
FosGenClassMapping.getPNameIterator(java.lang.Object conn)
It returns an iterator over all pname of persitent objects availlable in this class. |
boolean |
FosGenClassBinding.exist(java.lang.Object conn)
It verifies if the DSI attached to this binding exists within the DS. |
void |
FosGenClassBinding.read(java.lang.Object conn,
PAccessor pa)
It reads the data store instance designated by the PName of this binding and transfers each attribute value to the accessor object. |
void |
FosGenClassBinding.write(java.lang.Object conn,
PAccessor pa)
It transfers each attribute value taken from the PAccessor object to the data store instance designated by the PName associated with this binding. |
Uses of PException in org.objectweb.jorm.mapper.fos.generator |
Methods in org.objectweb.jorm.mapper.fos.generator that throw PException | |
MOP |
FosMOPFactory.createMappingMOP(JormCompilerParameter cp,
java.lang.String mappername)
This method must return a new instance of a MappingMOP |
MOP |
FosMOPFactory.createBindingMOP(JormCompilerParameter cp,
java.lang.String mappername)
This method must return a new instance of a BindingMOP |
java.lang.Object |
FosMOPFactory.createClassGenerationContext(Mapping mo)
Creates a generation context that can be shared between binding and mapping generation for a particular class. |
Uses of PException in org.objectweb.jorm.mapper.fos.lib |
Methods in org.objectweb.jorm.mapper.fos.lib that throw PException | |
void |
FosPMappingStructuresManager.addDependency(java.lang.String jcname1,
java.lang.String jcname2)
|
void |
FosPMappingStructuresManager.classDefined(java.lang.String jcname)
|
void |
FosPMappingStructuresManager.addDirName(java.lang.String jcname,
java.lang.String dirname)
Adds a table column into these RDB mapping structures. |
PMapCluster |
FosPMappingStructuresManager.getPMapCluster(java.lang.String jcname)
Asks for the map cluster associated with a JORM class. |
void |
FosPMapCluster.createMappingStructures(boolean force)
Creates the mapping structures defined by this map cluster. |
void |
FosPMapCluster.deleteData()
Deletes the data that have been inserted into the mapping structures defined by this map cluster. |
void |
FosPMapCluster.deleteMappingStructures()
Deletes all or part of the mapping structures defined by this map cluster when they exist. |
void |
FosPMapCluster.start()
Starts this map cluster. |
void |
FosPMapCluster.stop()
Stops this map cluster. |
void |
FosPMapCluster.updateMappingStructures()
Aligns existing mapping structures to the ones define by this map cluster. |
Uses of PException in org.objectweb.jorm.mapper.fos.mi2xml |
Methods in org.objectweb.jorm.mapper.fos.mi2xml that throw PException | |
void |
FosDomtreeBuilder.processClassMapping(org.w3c.dom.Document document,
org.w3c.dom.Element mappingElement,
ClassMapping classMapping)
Adds a fos-class-mapping element to a mapping element. |
Uses of PException in org.objectweb.jorm.mapper.fos.xml2mi |
Methods in org.objectweb.jorm.mapper.fos.xml2mi that throw PException | |
void |
FosParser.parseMapping(org.w3c.dom.Element mappingElem,
Mapping mapping)
Parses the mapping information related to a particular mapper and builds the corresponding Jorm meta-information. |
Uses of PException in org.objectweb.jorm.mapper.mem.generator |
Methods in org.objectweb.jorm.mapper.mem.generator that throw PException | |
void |
MemMappingMOP.initContext(Context ctx)
|
MOP |
MemMOPFactory.createMappingMOP(JormCompilerParameter cp,
java.lang.String mappername)
This method must return a new instance of a MappingMOP |
MOP |
MemMOPFactory.createBindingMOP(JormCompilerParameter cp,
java.lang.String mappername)
This method must return a new instance of a BindingMOP |
java.lang.Object |
MemMOPFactory.createClassGenerationContext(Mapping mo)
Creates a generation context that can be shared between binding and mapping generation for a particular class. |
void |
MemBindingMOP.initContext(Context ctx)
|
Uses of PException in org.objectweb.jorm.mapper.mem.mi2xml |
Methods in org.objectweb.jorm.mapper.mem.mi2xml that throw PException | |
void |
MemDomtreeBuilder.processClassMapping(org.w3c.dom.Document document,
org.w3c.dom.Element mappingElement,
ClassMapping classMapping)
Adds a fos-class-mapping element to a mapping element. |
Uses of PException in org.objectweb.jorm.mapper.mem.xml2mi |
Methods in org.objectweb.jorm.mapper.mem.xml2mi that throw PException | |
void |
MemParser.parseMapping(org.w3c.dom.Element mappingElem,
Mapping mapping)
Parses the mapping information related to a particular mapper and builds the corresponding Jorm meta-information. |
Uses of PException in org.objectweb.jorm.mapper.rdb.adapter |
Methods in org.objectweb.jorm.mapper.rdb.adapter that throw PException | |
static RdbAdapter |
RdbAdapterFactory.getTypeConverter(java.lang.String dbn)
This first possibility permits to specify the name for which a RdbAdapter is needed. |
java.lang.String |
RdbAdapter.getFirstLocateExpression(java.lang.String substring,
java.lang.String instring)
Returns the expression for searching the position of the first occurrence of a substring in a string. |
java.lang.String |
RdbAdapter.getIndexedLocateExpression(java.lang.String inputString,
java.lang.String substring,
java.lang.String fromIndex)
Returns the expression for searching the position of the first occurrence of a substring in a string starting from a given index. |
java.lang.String |
PostgresAdapter.getIndexedLocateExpression(java.lang.String instring,
java.lang.String substring,
java.lang.String fromIndex)
|
java.lang.String |
MckoiAdapter.getFirstLocateExpression(java.lang.String substring,
java.lang.String instring)
|
java.lang.String |
MckoiAdapter.getIndexedLocateExpression(java.lang.String instring,
java.lang.String substring,
java.lang.String fromIndex)
|
java.lang.String |
BasicRdbAdapter.getFirstLocateExpression(java.lang.String substring,
java.lang.String instring)
|
java.lang.String |
BasicRdbAdapter.getIndexedLocateExpression(java.lang.String instring,
java.lang.String substring,
java.lang.String fromIndex)
|
Uses of PException in org.objectweb.jorm.mapper.rdb.genclass |
Methods in org.objectweb.jorm.mapper.rdb.genclass that throw PException | |
PBinding |
RdbGenClassMapping.createPBinding()
It creates a new PBinding. |
void |
RdbGenClassMapping.init(PMappingCallback mapper,
MetaObject metaclass)
It intialises the class mapping. |
boolean |
RdbGenClassBinding.exist(java.lang.Object conn)
It verifies if the DSI attached to this binding exists within the DS. |
void |
RdbGenClassBinding.read(java.lang.Object conn,
PAccessor pa)
It reads the data store instance designated by the PName of this binding and transfers each attribute value to the accessor object. |
void |
RdbGenClassBinding.write(java.lang.Object conn,
PAccessor pa)
It transfers each attribute value taken from the PAccessor object to the data store instance designated by the PName associated with this binding. |
Uses of PException in org.objectweb.jorm.mapper.rdb.generator |
Methods in org.objectweb.jorm.mapper.rdb.generator that throw PException | |
void |
RdbMappingMOP.initContext(Context ctx)
|
MOP |
RdbMOPFactory.createMappingMOP(JormCompilerParameter cp,
java.lang.String mappername)
This method must return a new instance of a MappingMOP |
MOP |
RdbMOPFactory.createBindingMOP(JormCompilerParameter cp,
java.lang.String mappername)
This method must return a new instance of a BindingMOP |
java.lang.Object |
RdbMOPFactory.createClassGenerationContext(Mapping mo)
Creates a generation context that can be shared between binding and mapping generation for a particular class. |
RdbGenJoin |
RdbGenRef.getJoin(RdbGenColumn rgc)
|
RdbGenJoin |
RdbGenRef.getJoin(RdbGenColumn rgc,
java.lang.String fn)
|
java.lang.String |
RdbGenInfos.getUpdateStatement(RdbGenTable rgt)
Constructs the string representing the SQL query used to update the part of a JORM object stored into the given table. |
java.lang.String |
RdbGenInfos.getUpdateStatement(RdbGenJoin rgj)
|
java.lang.String |
RdbGenInfos.getUpdateNullStatement(RdbGenTable rgt)
|
java.lang.String |
RdbGenInfos.getUpdateNullStatement(RdbGenJoin rgj)
|
java.lang.String |
RdbGenInfos.getDeleteStatement(RdbGenTable rgt)
Constructs the string representing the SQL query used to delete the part of a JORM object stored into the given table. |
java.lang.String |
RdbGenInfos.getDeleteStatement(RdbGenJoin rgj)
|
java.lang.String |
RdbGenInfos.getExtDeleteStatement(RdbGenJoin rgj)
Constructs the string representing the SQL query used to delete the part of a JORM object stored into the given table. |
java.lang.String |
RdbGenInfos.setIdPnParam(java.lang.String cnfn,
int idx,
RdbAdapter adapter,
boolean isSpecific)
|
java.lang.String |
RdbGenColumn.getFieldName(RdbGenJoin rgj)
|
java.lang.String |
RdbGenColumn.getSqlType(RdbAdapter adapter)
Gets the SQL type associated with this column into the database for which we define the mapping. |
java.lang.String |
RdbGenColumn.getSqlGet(java.lang.String resultset,
int pos,
RdbAdapter adapter)
Constructs the string that defines the way to access to the relevant result part into a particular ResultSet. |
java.lang.String |
RdbGenColumn.getSqlSet(java.lang.String pstmt,
int pos,
RdbAdapter adapter)
Constructs the string that defines the way to assign to the relevant query parameter into a particular prepared statement. |
int |
RdbGenColumn.getSqlTypeCode(PType pt,
RdbAdapter adapter)
|
protected RdbAdapter |
RdbCommonHelper.getRdbAdapter(java.lang.String mappername)
Retrieves the adapter associated with the given mapper. |
java.lang.String |
RdbCommonHelper.getSqlType(RdbPrimitiveElementMapping pem,
RdbAdapter adapter,
boolean usedInPk)
|
void |
RdbBindingMOP.initContext(Context ctx)
|
Constructors in org.objectweb.jorm.mapper.rdb.generator that throw PException | |
RdbGenTable(RdbExternalTable mo,
RdbGenTable mainTable)
|
|
RdbGenTable(RdbTable mo)
|
|
RdbGenJoin(RdbGenTable mainTable,
RdbGenTable table,
RdbJoin j,
int idx)
|
Uses of PException in org.objectweb.jorm.mapper.rdb.lib |
Methods in org.objectweb.jorm.mapper.rdb.lib that throw PException | |
void |
RdbPMappingStructuresManager.addTableColumn(java.lang.String jcname,
java.lang.String tname,
java.lang.String cname,
java.lang.String type,
boolean notnull,
boolean ispkcol,
boolean isMaster)
Adds a table column into these RDB mapping structures. |
PMapCluster |
RdbPMappingStructuresManager.getPMapCluster(java.lang.String jcname)
Asks for the map cluster associated with a JORM class. |
void |
RdbPMappingStructuresManager.addDependency(java.lang.String jcname1,
java.lang.String jcname2)
|
void |
RdbPMappingStructuresManager.classDefined(java.lang.String jcname)
|
void |
RdbPMapCluster.createMappingStructures(boolean force)
Creates the mapping structures defined by this map cluster. |
void |
RdbPMapCluster.deleteData()
Deletes the data that have been inserted into the mapping structures defined by this map cluster. |
void |
RdbPMapCluster.deleteMappingStructures()
Deletes all or part of the mapping structures defined by this map cluster when they exist. |
void |
RdbPMapCluster.start()
Starts this map cluster. |
void |
RdbPMapCluster.stop()
Stops this map cluster. |
void |
RdbPMapCluster.updateMappingStructures()
Aligns existing mapping structures to the ones define by this map cluster. |
void |
MapperJDBC.closeConnection(java.lang.Object conn)
Closes the given connection which has been allocated previously using getConnection. |
java.lang.Object |
MapperJDBC.getConnection()
Allocates a connection for accessing the underlying relational DB. |
java.lang.Object |
MapperJDBC.getConnection(java.lang.Object ctxt)
Allocates a connection for accessing the underlying relational DB. |
void |
MapperJDBC.setConnectionFactory(java.lang.Object cf)
Assigns the information about the JDBC connection to be allocated through this mapper. |
void |
MapperJDBC.start()
|
Constructors in org.objectweb.jorm.mapper.rdb.lib that throw PException | |
MapperJCA_JDBC()
|
|
MapperJDBC()
|
|
ConnectionSpecJDBC(java.lang.String url,
java.lang.String driver)
Construct a ConnectionSpecJDBC knowing the DB url. |
|
ConnectionSpecJDBC(java.lang.String url,
java.lang.String driver,
java.lang.String user,
java.lang.String passwd)
Construct a ConnectionSpecJDBC knowing the DB url, user, and password. |
Uses of PException in org.objectweb.jorm.mapper.rdb.metainfo |
Methods in org.objectweb.jorm.mapper.rdb.metainfo that throw PException | |
void |
RdbFilter.addFilterColumn(java.lang.String columnName)
|
void |
RdbFilter.addPredicate(java.lang.String columnName,
Predicate predicate)
|
RdbPrimitiveElementMapping |
RdbTable.createPrimitiveElementMapping(PrimitiveElement pe,
java.lang.String columnName,
java.lang.String sqlType,
boolean notNull)
|
RdbPrimitiveElementMapping |
RdbTable.createPrimitiveElementMapping(PrimitiveElement pe,
java.lang.String columnName)
|
RdbPrimitiveElementMapping |
RdbExternalTable.createPrimitiveElementMapping(PrimitiveElement pe,
java.lang.String columnName,
java.lang.String sqlType,
boolean notNull,
RdbJoin join)
|
Uses of PException in org.objectweb.jorm.mapper.rdb.mi2xml |
Methods in org.objectweb.jorm.mapper.rdb.mi2xml that throw PException | |
void |
RdbDomtreeBuilder.processClassMapping(org.w3c.dom.Document document,
org.w3c.dom.Element mappingElement,
ClassMapping classMapping)
Adds a rdb-class-mapping element to a mapping element. |
Uses of PException in org.objectweb.jorm.mapper.rdb.xml2mi |
Methods in org.objectweb.jorm.mapper.rdb.xml2mi that throw PException | |
void |
RdbParser.parseMapping(org.w3c.dom.Element mappingElem,
Mapping mapping)
Parses the mapping information related to a particular mapper and builds the corresponding Jorm meta-information. |
Uses of PException in org.objectweb.jorm.mi2xml.api |
Methods in org.objectweb.jorm.mi2xml.api that throw PException | |
void |
Writer.init(JormConfigurator compilerConfigurator)
Initializes a BasicDomWriter object. |
void |
Writer.write(MetaObject mo,
TargetHolder holder)
This method first builds the DOMTree of a Class or a CompositeName object and then generates the .pd file by delegation to the XMLSerializer. |
void |
MappingDomtreeBuilder.processClassMapping(org.w3c.dom.Document document,
org.w3c.dom.Element mappingElement,
ClassMapping classMapping)
Adds a class mapping element to a mapping element. |
org.w3c.dom.Document |
DomtreeBuilder.build(MetaObject metaObject)
Generates the org.w3c.dom.Document object from a Class or a CompositeName object. |
Uses of PException in org.objectweb.jorm.mi2xml.lib |
Methods in org.objectweb.jorm.mi2xml.lib that throw PException | |
abstract void |
BasicMappingDomtreeBuilder.processClassMapping(org.w3c.dom.Document document,
org.w3c.dom.Element mappingElement,
ClassMapping classMapping)
Adds a class mapping element to a mapping element. |
org.w3c.dom.Document |
BasicDomtreeBuilder.build(MetaObject metaObject)
Generates the org.w3c.dom.Document object from a Class or a CompositeName object. |
void |
BasicDomWriter.init(JormConfigurator compilerConfigurator)
Initializes a BasicDomWriter object. |
void |
BasicDomWriter.write(MetaObject mo,
TargetHolder holder)
This method first builds the DOMTree of a Class or a CompositeName object and then generates the .pd file by delegation to the XMLSerializer. |
Uses of PException in org.objectweb.jorm.naming.api |
Subclasses of PException in org.objectweb.jorm.naming.api | |
class |
PExceptionExistingName
This PException means that a existing PName is already used in a PNamingContext. |
class |
PExceptionNameCoding
Generated when a problem arise during coding operations. |
class |
PExceptionNaming
This exception is raised when a problem occured during name management. |
Methods in org.objectweb.jorm.naming.api that throw PException | |
PName |
PNamingContext.resolve(java.lang.Object conn,
PName pn)
It retrieves the information item associated to the given PName (if any exists). |
PName |
PNameManager.export(java.lang.Object conn,
java.lang.Object infoitem)
It associates a PName to an information item within a naming context. |
PName |
PNameManager.export(java.lang.Object conn,
java.lang.Object infoitem,
java.lang.Object hints)
It associates a PName to an information item within a naming context. |
void |
PNameManager.unexport(java.lang.Object conn,
PName pn)
It removes the PName and all the associated information within a naming context (i.e., the association between the PName and its information item). |
void |
PNameManager.unexport(java.lang.Object conn,
PName pn,
java.lang.Object hints)
It removes the PName and all the associated information within a naming context (i.e., the association between the PName and its information item). |
byte |
PNameGetter.pngetByteField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a byte field. |
java.lang.Byte |
PNameGetter.pngetObyteField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a Byte field. |
char |
PNameGetter.pngetCharField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a char field. |
java.lang.Character |
PNameGetter.pngetOcharField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a Character field. |
short |
PNameGetter.pngetShortField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a short field. |
java.lang.Short |
PNameGetter.pngetOshortField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a Short field. |
int |
PNameGetter.pngetIntField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of an int field. |
java.lang.Integer |
PNameGetter.pngetOintField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of an Integer field. |
long |
PNameGetter.pngetLongField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a long field. |
java.lang.Long |
PNameGetter.pngetOlongField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a Long field. |
java.lang.String |
PNameGetter.pngetStringField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a string field. |
byte[] |
PNameGetter.pngetByteArrayField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a byte[] field. |
char[] |
PNameGetter.pngetCharArrayField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a char[] field. |
java.util.Date |
PNameGetter.pngetDateField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a date field. |
java.math.BigInteger |
PNameGetter.pngetBigIntegerField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a BigInteger field. |
java.math.BigDecimal |
PNameGetter.pngetBigDecimalField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a BigDecimal field. |
void |
PNameCoder.setNullPName(java.lang.Object o)
It assignes a object which defines a null representation of a name within this naming context. |
PName |
PName.export(java.lang.Object conn,
PNamingContext pnc)
It associates a PName to an information item within a naming context. |
PName |
PName.export(java.lang.Object conn,
PNamingContext pnc,
java.lang.Object hints)
It associates a PName to an information item within a naming context. |
PName |
PName.resolve(java.lang.Object conn)
It retrieves the information item associated to the given PName (if any exists). |
void |
PName.unexport(java.lang.Object conn)
It removes this PName and all the associated information within a naming context (i.e., the association between the PName and its information item). |
void |
PName.unexport(java.lang.Object conn,
java.lang.Object hints)
It removes this PName and all the associated information within a naming context (i.e., the association between the PName and its information item). |
PBinding |
PBinder.lookup(PName pn)
It looks for a PBinding object with the given PName within a PBinder. |
void |
PBinder.bind(PName pn,
PBindingCtrl pb)
It associates a PBinding object with a PName within a PBinder. |
void |
PBinder.unbind(PBindingCtrl pb)
It releases the link between the PBinding passed as parameter and its associated DSI represented by the PName referenced by this PBinding. |
void |
PBinder.setCacheManager(CacheManager cm)
Assigns the cache manager associated with this binder. |
Constructors in org.objectweb.jorm.naming.api with parameters of type PException | |
PExceptionExistingName(PException e,
java.lang.String error)
|
Uses of PException in org.objectweb.jorm.naming.lib |
Methods in org.objectweb.jorm.naming.lib that throw PException | |
PName |
BasicPName.export(java.lang.Object conn,
PNamingContext pnc)
|
PName |
BasicPName.export(java.lang.Object conn,
PNamingContext pnc,
java.lang.Object hints)
|
PName |
BasicPName.resolve(java.lang.Object conn)
|
void |
BasicPName.unexport(java.lang.Object conn)
|
void |
BasicPName.unexport(java.lang.Object conn,
java.lang.Object hints)
|
PBinding |
BasicPBinder.lookup(PName pn)
|
void |
BasicPBinder.bind(PName pn,
PBindingCtrl pb)
|
void |
BasicPBinder.unbind(PBindingCtrl pb)
|
void |
BasicPBinder.setCacheManager(CacheManager cm)
|
void |
BasicPBinder.setNullPName(java.lang.Object o)
|
Uses of PException in org.objectweb.jorm.type.api |
Subclasses of PException in org.objectweb.jorm.type.api | |
class |
PExceptionTyping
This exception is raised when a problem occurs that relates to JORM typing. |
Uses of PException in org.objectweb.jorm.xml2mi.api |
Methods in org.objectweb.jorm.xml2mi.api that throw PException | |
java.util.Collection |
Parser.parse(java.util.Iterator files)
Launches the parsing process. |
MetaObject |
Parser.parse(java.lang.String file)
Launches the parsing process. |
void |
Parser.parseMapping(org.w3c.dom.Element mappingElem,
ClassProject classProject)
|
void |
Parser.addMappingParser(java.lang.String mappername,
MappingParser mappingParser)
Sets the parser which is able to parse the mapping part of the XML file. |
void |
MappingParser.parseMapping(org.w3c.dom.Element mappingElem,
Mapping mapping)
Parses the mapping information related to a particular mapper and builds the corresponding Jorm meta-information. |
Uses of PException in org.objectweb.jorm.xml2mi.lib |
Methods in org.objectweb.jorm.xml2mi.lib that throw PException | |
abstract void |
BasicMappingParser.parseMapping(org.w3c.dom.Element mappingElem,
Mapping mapping)
Parses the mapping information related to a particular mapper and builds the corresponding Jorm meta-information. |
void |
BasicDomParser.addMappingParser(java.lang.String mapperName,
MappingParser mappingParser)
Adds a MappingParser object. |
java.util.Collection |
BasicDomParser.parse(java.util.Iterator files)
Launches the parsing process. |
MetaObject |
BasicDomParser.parse(java.lang.String file)
Launches the parsing process. |
void |
BasicDomParser.parseMapping(org.w3c.dom.Element mappingElem,
ClassProject classProject)
Parses the mapping part of the XML file and builds the corresponding meta-information for a given Class object. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |