|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.vc.ObjectToVersionLink
public abstract class ObjectToVersionLink
The ObjectToVersionLink provides a binary type of link between a persistable
object (role A) and a version (role B). When used in navigating from
the persistable object to its associated version, only the latest iteration
is found. Navigating from the version to its associated persistable object
acts a typical navigation, but is applicable only from the latest iteration.
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
WTObject |
duplicate()
Create a deep copy of this Link. |
Object[] |
getAllObjects()
Gets all the role objects of this link. |
Object |
getRoleObject(String rolename)
Gets the role object of this link for the given role name. |
protected void |
initialize(Persistable roleAObject,
Iterated roleBObject)
Default initializer for Link objects. |
void |
setRoleBObject(Persistable roleBObject)
Sets the role B object for this Link. |
void |
setRoleObject(Object roleObject,
String rolename)
Sets the role object of this link for the given role name. |
| Methods inherited from class wt.fc.WTObject |
|---|
getDisplayIdentifier, getDisplayIdentity, getDisplayType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void setRoleBObject(Persistable roleBObject)
roleBObject - The role B object for this Link.public Object[] getAllObjects()
public Object getRoleObject(String rolename)
throws WTException
rolename -
WTException
public void setRoleObject(Object roleObject,
String rolename)
throws WTException
roleObject - The role A object for this Link.rolename -
WTException
public WTObject duplicate()
throws WTException
WTException
protected void initialize(Persistable roleAObject,
Iterated roleBObject)
throws WTException
roleAObject - roleBObject -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||