|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectav.tob.TheObject
av.tob.TheRelation
public class TheRelation
This is the base class for all persistent relations managed by TOB.
See the Object-Relation-Kin Model.
| Nested Class Summary | |
|---|---|
class |
TheRelation.Tie<T extends TheObject>
This is the root class for all ties. |
| Field Summary |
|---|
| Fields inherited from class av.tob.TheObject |
|---|
DUPLICATED_UNARY_KIN, OBJECT_DATA_LOST, to$msgr, WRITE_CONFLICT |
| Constructor Summary | |
|---|---|
protected |
TheRelation()
The no-arg constructor. |
| Method Summary | ||
|---|---|---|
|
asKin()
This doesn't provide type safety but to enable generic casts for subclasses. |
|
TheRelation |
getO()
Get the related object of this kin. |
|
short |
getOnlinePriority()
It might be a little memory economic that load relations after plain objects for the reduced trigger queue size during chained loading processes. |
|
TheRelation |
getR()
Get the source relation object of this kin. |
|
int |
getTieCount()
This method will be overrided by TOB generated code and return the calculated count of tie fields of the actual relation class. |
|
| Methods inherited from class av.tob.TheObject |
|---|
beingBornNotify, bornNotify, changedNotify, clonedFromNotify, committedNotify, committingNotify, die, getID, getPersistentFieldCount, getTimeCreated, getTimeModified, getTOB, isBorn, isDead, killedNotify, killingNotify, onlineNotify, previousSelf, restoredNotify, setOnlinePriority, writtenNotify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected TheRelation()
| Method Detail |
|---|
public <R extends TheRelation> Kin<R,R> asKin()
R - must be assignable from the actual instance.
public TheRelation getR()
Kin
getR in interface Kin<TheRelation,TheRelation>public TheRelation getO()
Kin
getO in interface Kin<TheRelation,TheRelation>public int getTieCount()
-1 will be returned by a non-born object.
public short getOnlinePriority()
TheObject.getOnlinePriority().
getOnlinePriority in class TheObjectTheObject.getOnlinePriority()
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||