wt.introspection
Class LinkInfo

java.lang.Object
  extended by wt.introspection.ClassInfo
      extended by wt.introspection.LinkInfo
All Implemented Interfaces:
Externalizable, Serializable

public class LinkInfo
extends ClassInfo
implements Externalizable

LinkInfo is the class for providing class meta-data There will be an instance of this class for each modeled link business class that is installed.

Supported API: true

Extendable: false

See Also:
WTIntrospector, ClassInfo, RoleDescriptor, Serialized Form

Method Summary
 RoleDescriptor getOtherRole(RoleDescriptor otherRole)
          Gets the other RoleDescriptor, relative to the one passed.
 RoleDescriptor getRole(String role_name)
          Gets the RoleDescriptor by role name.
 RoleDescriptor getRoleA()
          Gets the roleA RoleDescriptor.
 RoleDescriptor getRoleB()
          Gets the roleB RoleDescriptor.
 boolean isAttributed()
          Determines if the link is attributed.
 boolean isLinkTable()
          Determines if the implementation of the link is with a link table.
 boolean isRoleA(String roleName)
          Determines if the string is a roleA name.
 boolean isRoleB(String roleName)
          Determines if the string is a roleB name.
 
Methods inherited from class wt.introspection.ClassInfo
equals, getAttributeColumnDescriptors, getAttributeValueSet, getBusinessClass, getClassname, getConcreteClass, getDatastoreElementType, getDescendentInfos, getDirectDescendentInfos, getDisplayName, getDisplayName, getOpenIcon, getOtherSideRole, getOtherSideRole, getOtherSideRoles, getParentClassInfo, getParentClassname, getParentInterfaceInfos, getPropertyDescriptor, getPropertyDescriptors, getPropertyDisplayName, getPropertyShortDescription, getReadPropertyDescriptor, getStandardIcon, getValue, isConcrete, isPersistable, isSuperclassOf, toDisplayNameMessage, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getOtherRole

public RoleDescriptor getOtherRole(RoleDescriptor otherRole)
Gets the other RoleDescriptor, relative to the one passed.

Supported API: true

Returns:
role from the other side of the link

getRole

public RoleDescriptor getRole(String role_name)
Gets the RoleDescriptor by role name.

Supported API: true

Returns:
name of the RoleDescriptor to be obtained

getRoleA

public RoleDescriptor getRoleA()
Gets the roleA RoleDescriptor.

Supported API: true

Returns:
roleA descriptor

getRoleB

public RoleDescriptor getRoleB()
Gets the roleB RoleDescriptor.

Supported API: true

Returns:
roleB descriptor

isAttributed

public boolean isAttributed()
Determines if the link is attributed.

Supported API: true

Returns:
true, if the association was modeled with an explicit link class

isLinkTable

public boolean isLinkTable()
Determines if the implementation of the link is with a link table.

Supported API: true

Returns:
true, if the association is stored in a link table, separate from either side

isRoleA

public boolean isRoleA(String roleName)
Determines if the string is a roleA name.

Supported API: true

Returns:
true, if roleName plays roleA in the association

isRoleB

public boolean isRoleB(String roleName)
Determines if the string is a roleB name.

Supported API: true

Returns:
true, if roleName plays roleB in the association