|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interfaces that represents an association between two objects. Those
objects are referenced via the WTReference
interface.
Supported API: true
Extendable: true
Field Summary | |
static String |
ALL_ROLES
Supported API: false |
static String |
BOTH_ROLES
Deprecated. replaced by ALL_ROLES |
static String |
ROLE_AOBJECT_REF
Supported API: false |
static String |
ROLE_AOBJECT_ROLE
Label for the attribute. |
static String |
ROLE_BOBJECT_REF
Supported API: false |
static String |
ROLE_BOBJECT_ROLE
Label for the attribute. |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Method Summary | |
LinkInfo |
getLinkInfo()
Gets the LinkInfo object for this Link Supported API: false |
Persistable |
getObject(String role)
Deprecated. replaced by getRoleObject(String) |
Persistable |
getOtherObject(Persistable obj)
Gets this link's other side role. |
String |
getRole(Persistable obj)
Gets this link's role name. |
Persistable |
getRoleAObject()
Gets the role A object of this Link for this Link. |
QueryKey |
getRoleAObjectId()
Gets the object id of the role A object for this Link. |
WTReference |
getRoleAObjectRef()
Gets the object for the association that plays role: ROLE_AOBJECT_REF. |
Persistable |
getRoleBObject()
Gets the role B object of this Link for this Link. |
QueryKey |
getRoleBObjectId()
Gets the object id of the role B object for this Link. |
WTReference |
getRoleBObjectRef()
Gets the object for the association that plays role: ROLE_BOBJECT_REF. |
void |
setRoleAObject(Persistable roleAObject)
Sets the role A object for this Link. |
void |
setRoleAObjectRef(WTReference a_RoleAObjectRef)
Sets the object for the association that plays role: ROLE_AOBJECT_REF. |
void |
setRoleBObject(Persistable roleBObject)
Sets the role B object for this Link. |
void |
setRoleBObjectRef(WTReference a_RoleBObjectRef)
Sets the object for the association that plays role: ROLE_BOBJECT_REF. |
Methods inherited from interface wt.fc.Link |
appendJoinCriteria, appendRoleCriteria, getAllObjects, getJoinValues, getRoleIdName, getRoleObject, setRoleObject |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.ObjectMappable |
readExternal, writeExternal |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo, getConceptualClassname |
Field Detail |
public static final String ROLE_AOBJECT_ROLE
public static final String ROLE_BOBJECT_ROLE
public static final String ALL_ROLES
public static final String BOTH_ROLES
public static final String ROLE_AOBJECT_REF
public static final String ROLE_BOBJECT_REF
Method Detail |
public WTReference getRoleAObjectRef()
getRoleAObjectRef
in interface Link
public void setRoleAObjectRef(WTReference a_RoleAObjectRef)
setRoleAObjectRef
in interface Link
a_RoleAObjectRef
- public WTReference getRoleBObjectRef()
getRoleBObjectRef
in interface Link
public void setRoleBObjectRef(WTReference a_RoleBObjectRef)
setRoleBObjectRef
in interface Link
a_RoleBObjectRef
- public LinkInfo getLinkInfo() throws WTIntrospectionException
getLinkInfo
in interface Link
WTIntrospectionException
public Persistable getObject(String role) throws WTException, InvalidRoleException
getObject
in interface Link
role
-
WTException
InvalidRoleException
public Persistable getOtherObject(Persistable obj) throws ObjectNotForLinkException
getOtherObject
in interface Link
obj
-
ObjectNotForLinkException
public String getRole(Persistable obj) throws WTException, ObjectNotForLinkException
getRole
in interface Link
obj
-
WTException
ObjectNotForLinkException
public Persistable getRoleAObject()
getRoleAObject
in interface Link
public void setRoleAObject(Persistable roleAObject)
setRoleAObject
in interface Link
roleAObject
- The role A object for this Link.public QueryKey getRoleAObjectId()
getRoleAObjectId
in interface Link
public Persistable getRoleBObject()
getRoleBObject
in interface Link
public void setRoleBObject(Persistable roleBObject)
setRoleBObject
in interface Link
roleBObject
- The role B object for this Link.public QueryKey getRoleBObjectId()
getRoleBObjectId
in interface Link
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |