|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.vc.VersionReference
public class VersionReference
The VersionReference is a kind of reference to Iterated objects by means of the overridden key. This key is a foreign key to the latest iteration in a branch.
Use the newVersionReference static factory method(s), not
the VersionReference constructor, to construct instances
of this class. Instances must be constructed using the static factory(s),
in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Supported API: true |
int |
hashCode()
Supported API: true |
protected void |
initialize(Iterated obj)
Supports initialization, following construction of an instance. |
protected void |
initialize(wt.vc.VersionForeignKey objId)
Supports initialization, following construction of an instance. |
static VersionReference |
newVersionReference(Iterated obj)
Constructs a VersionReference using an iterated object. |
static VersionReference |
newVersionReference(wt.vc.VersionForeignKey objId)
Constructs a VersionReference using a foreign key. |
boolean |
references(Persistable obj)
Supported API: true |
void |
refresh()
Supported API: true |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static VersionReference newVersionReference(Iterated obj)
throws WTException
obj -
WTException
public static VersionReference newVersionReference(wt.vc.VersionForeignKey objId)
throws WTException
objId -
WTException
public void refresh()
throws WTException
WTExceptionpublic boolean equals(Object obj)
equals in class Objectobj -
public int hashCode()
hashCode in class Objectpublic boolean references(Persistable obj)
obj -
protected void initialize(Iterated obj)
throws WTException
obj -
WTException
protected void initialize(wt.vc.VersionForeignKey objId)
throws WTException
objId -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||