Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
S
T
U
W
A
add(PersistentObject)
- Method in class rmrs.persist.
ObjectSet
AUTO_SAVE
- Static variable in class rmrs.persist.
PersistentObject
object is supposed to be automatically saved upon finalization.
B
buildQuery(Object, SQLSelect, String, RelClassMapping)
- Method in class rmrs.persist.
RelationalBroker
C
CLASS_NOT_CONFORMANT
- Static variable in class rmrs.persist.
PersistException
The class found in the persistent store is not assignable to the class requested.
CLASS_NOT_FOUND
- Static variable in class rmrs.persist.
PersistException
Thrown if a java class can not be found.
CLASS_NOT_INSTANTIABLE
- Static variable in class rmrs.persist.
PersistException
Class is not instantiable for strange reasons.
classMap
- Variable in class rmrs.persist.
RelationalBroker
clone()
- Method in class rmrs.persist.
PersistentObject
Cloning becomes important to build convenient query examples (QE) and object views (OV).
cloneQueryExample()
- Method in class rmrs.persist.
PersistentObject
Create a query example to query for all objects that are like this object.
con
- Variable in class rmrs.persist.
RelationalBroker
CONSTRUCTOR_EXCEPTION
- Static variable in class rmrs.persist.
PersistException
An exception was thrown when the object was initialized for retrieval.
D
doLoad(Object, ResultSet, String, RelClassMapping)
- Method in class rmrs.persist.
RelationalBroker
doSave(Object, SQLStatement, String, RelClassMapping)
- Method in class rmrs.persist.
RelationalBroker
DUPLICATE_JAVA_OBJECT
- Static variable in class rmrs.persist.
PersistException
This is an internal error that should never occur: the same persistent object was instantiated twice in a JVM.
E
elements()
- Method in class rmrs.persist.
ObjectSet
equals(Object)
- Method in class rmrs.persist.
OID
Test for equality of two OIDs.
F
FIELD_NOT_FOUND
- Static variable in class rmrs.persist.
PersistException
The initialization tables mention a field that apparently doesn't exist (any more?)
finalize()
- Method in class rmrs.persist.
PersistentObject
This is for the auto save functionality, but finalize is not called at the end of the program, why? Is it not virtual?
G
getArg()
- Method in class rmrs.persist.
PersistException
getCheckOutTime()
- Method in class rmrs.persist.
PersistentObject
Get accessor to check out time.
getException()
- Method in class rmrs.persist.
PersistException
getFlags()
- Method in class rmrs.persist.
PersistentObject
Get accessor to the management bitset.
getLastSaveTime()
- Method in class rmrs.persist.
PersistentObject
Get accessor to time the object was last saved time.
getOID()
- Method in class rmrs.persist.
PersistentObject
Get accessor to OID field.
getPersistenceBroker()
- Method in class rmrs.persist.
PersistentObject
Get currently assigned persistence broker.
getType()
- Method in class rmrs.persist.
PersistException
H
hashCode()
- Method in class rmrs.persist.
OID
hasMoreElements()
- Method in class rmrs.persist.
ObjectSet.Enumerator
I
initializeClassMap()
- Method in class rmrs.persist.
RelationalBroker
INVALID_CONSTRUCTOR
- Static variable in class rmrs.persist.
PersistException
If there is no useful constructor that can be called by the broker when retrieving an object.
isAutoSave()
- Method in class rmrs.persist.
PersistentObject
Predicate telling whether the object is supposed to be saved on finalization.
isNew()
- Method in class rmrs.persist.
PersistentObject
Predicate telling whether the object has never been saved.
isObjectView()
- Method in class rmrs.persist.
PersistentObject
Predicate telling whether the java object is an object view.
isQueryExample()
- Method in class rmrs.persist.
PersistentObject
Predicate telling whether the java object is a query example.
isRealObject()
- Method in class rmrs.persist.
PersistentObject
Predicate telling whether the java object is a real object.
isSaveable()
- Method in class rmrs.persist.
PersistentObject
Predicate telling whether the object can be saved.
L
load(Class, OID)
- Method in class rmrs.persist.
RelationalBroker
LOAD
load(Class, OID)
- Method in interface rmrs.persist.
PersistenceBroker
load(Class, OID)
- Method in class rmrs.persist.
ObjectRelationalBroker
M
MISC_EXCEPTION
- Static variable in class rmrs.persist.
PersistException
A catch-all for unclassified or unpredictable exceptions.
N
NEW
- Static variable in class rmrs.persist.
PersistentObject
indicates the object is brand new, never saved before.
nextElement()
- Method in class rmrs.persist.
ObjectSet.Enumerator
NO_ACCESS_TO_FIELD
- Static variable in class rmrs.persist.
PersistException
Thrown if we can't access a field of a persistent object.
NO_BROKER
- Static variable in class rmrs.persist.
PersistException
Thrown if save, load or query is tried without a broker.
NO_INLINE
- Static variable in class rmrs.persist.
PersistException
If a field was designated for inline storage but contains a persistent object.
notifyRestored()
- Method in class rmrs.persist.
PersistentObject
Call-back method to check the consistency of a retireved object and to reset transient variables that were not stored, the persistent class should overload this method if it maintains transient state.
O
OBJECT_VIEW
- Static variable in class rmrs.persist.
PersistentObject
indicates that object is an object view, whose values reflect the values of another real object.
OBJECT_VIEW_EXPECTED
- Static variable in class rmrs.persist.
PersistException
objectCache
- Variable in class rmrs.persist.
RelationalBroker
ObjectRelationalBroker
- class rmrs.persist.
ObjectRelationalBroker
.
A persistence broker used with PostgreSQL (and perhaps other SQL3 data bases,) where an object can be stored in one table access.
ObjectRelationalBroker(Connection)
- Constructor for class rmrs.persist.
ObjectRelationalBroker
ObjectRelationalBroker(String, String, String)
- Constructor for class rmrs.persist.
ObjectRelationalBroker
ObjectSet
- class rmrs.persist.
ObjectSet
.
A set collection of objects used for to-many associations and returned by queries.
ObjectSet.Enumerator
- class rmrs.persist.
ObjectSet.Enumerator
.
ObjectSet(Class)
- Constructor for class rmrs.persist.
ObjectSet
ObjectSet(Class, int)
- Constructor for class rmrs.persist.
ObjectSet
OID
- class rmrs.persist.
OID
.
An object identifier used with the persistence broker.
OID_NOT_FOUND
- Static variable in class rmrs.persist.
PersistException
The OID could not be found in the realm of the persistence broker used to load an object
OTHER_BROKER
- Static variable in class rmrs.persist.
PersistException
Thrown if one tries to reassign a broker to a real object that already has a broker assigned.
P
password
- Variable in class rmrs.persist.
RelationalBroker
PersistenceBroker
- interface rmrs.persist.
PersistenceBroker
.
A persistence broker only needs to implement this little interface.
PersistentObject
- class rmrs.persist.
PersistentObject
.
Any class needing persistence for its object must inherit from the class PersistentObject.
PersistentObject()
- Constructor for class rmrs.persist.
PersistentObject
A constructor called automatically for any new persisten object created.
PersistException
- exception rmrs.persist.
PersistException
.
We only have a single exception class that can represent several exceptions.
PersistException(int)
- Constructor for class rmrs.persist.
PersistException
Raise a PersistException of specified type.
PersistException(int, String)
- Constructor for class rmrs.persist.
PersistException
Raise a PersistException of specified type with a string argument.
PersistException(int, String, Throwable)
- Constructor for class rmrs.persist.
PersistException
This variant is called if we forward another exception just caught.
prepareRestoring(PersistenceBroker, OID, int, Date, Date)
- Method in class rmrs.persist.
PersistentObject
The persistence broker calls this method shortly before retrieval to set the management field.
Q
QUERY_EXAMPLE
- Static variable in class rmrs.persist.
PersistentObject
indicates that object is a query example used in formulating queries.
QUERY_EXAMPLE_EXPECTED
- Static variable in class rmrs.persist.
PersistException
A query example was expected, yet a real object (or object view) was provided.
query()
- Method in class rmrs.persist.
PersistentObject
Query for all objects that are like this query example.
query(PersistenceBroker)
- Method in class rmrs.persist.
PersistentObject
Query for all objects that are like this query example.
query(PersistentObject)
- Method in class rmrs.persist.
RelationalBroker
QUERY
query(PersistentObject)
- Method in interface rmrs.persist.
PersistenceBroker
query(PersistentObject)
- Method in class rmrs.persist.
ObjectRelationalBroker
R
REAL_OBJECT
- Static variable in class rmrs.persist.
PersistentObject
indicates that object is a real perisistent object, it can be saved and retrieved.
REAL_OBJECT_EXPECTED
- Static variable in class rmrs.persist.
PersistException
register(PersistentObject)
- Method in class rmrs.persist.
RelationalBroker
RelationalBroker
- class rmrs.persist.
RelationalBroker
.
A persistence broker for relational data bases.
RelationalBroker(Connection)
- Constructor for class rmrs.persist.
RelationalBroker
RelationalBroker(String, String, String)
- Constructor for class rmrs.persist.
RelationalBroker
rmrs.persist
- package rmrs.persist
S
save()
- Method in class rmrs.persist.
PersistentObject
Save an object with a previously assigned persistence broker.
save(PersistenceBroker)
- Method in class rmrs.persist.
PersistentObject
Save an object with a persistence broker.
save(PersistentObject)
- Method in class rmrs.persist.
RelationalBroker
SAVE
save(PersistentObject)
- Method in interface rmrs.persist.
PersistenceBroker
save(PersistentObject)
- Method in class rmrs.persist.
ObjectRelationalBroker
SAVEABLE
- Static variable in class rmrs.persist.
PersistentObject
object is a real object an not write protected.
setAutoSave(boolean)
- Method in class rmrs.persist.
PersistentObject
Automatically save object in finalization.
SQL_EXCEPTION
- Static variable in class rmrs.persist.
PersistException
Exceptions from the underlying JDBC work.
T
toString()
- Method in class rmrs.persist.
OID
U
url
- Variable in class rmrs.persist.
RelationalBroker
user
- Variable in class rmrs.persist.
RelationalBroker
W
WRITE_PROTECTED
- Static variable in class rmrs.persist.
PersistException
Save was tried on an object that is write protected.
A
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
S
T
U
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES