Class LinkInfo

java.lang.Object
wt.introspection.ClassInfo
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:
  • Method Details

    • 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