Package wt.introspection
Class LinkInfo
java.lang.Object
wt.introspection.ClassInfo
wt.introspection.LinkInfo
- All Implemented Interfaces:
Externalizable,Serializable
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
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetOtherRole(RoleDescriptor otherRole) Gets the other RoleDescriptor, relative to the one passed.Gets the RoleDescriptor by role name.getRoleA()Gets the roleA RoleDescriptor.getRoleB()Gets the roleB RoleDescriptor.booleanDetermines if the link is attributed.booleanDetermines if the implementation of the link is with a link table.booleanDetermines if the string is a roleA name.booleanDetermines 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, hashCode, isConcrete, isPersistable, isSuperclassOf, toDisplayNameMessage, toString
-
Method Details
-
getOtherRole
Gets the other RoleDescriptor, relative to the one passed.
Supported API: true- Returns:
- role from the other side of the link
-
getRole
Gets the RoleDescriptor by role name.
Supported API: true- Returns:
- name of the RoleDescriptor to be obtained
-
getRoleA
Gets the roleA RoleDescriptor.
Supported API: true- Returns:
- roleA descriptor
-
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
Determines if the string is a roleA name.
Supported API: true- Returns:
- true, if roleName plays roleA in the association
-
isRoleB
Determines if the string is a roleB name.
Supported API: true- Returns:
- true, if roleName plays roleB in the association
-