Uses of Class
wt.introspection.RoleDescriptor

Packages that use RoleDescriptor
wt.dataservice Provides a Datastore interface to an arbitrary database with a specific realization returned by the DataServiceFactory; this could allow for future support of other, non-Oracle databases in Windchill. 
wt.epm.query   
wt.epm.structure   
wt.fc.association   
wt.fc.manifest   
wt.introspection Uses WTIntrospector to provide enhanced introspection above and beyond normal Java introspection via the information objects ClassInfo, LinkInfo and DatabaseInfo
wt.pds Provides additional Persistent Database Services.  See PersistenceManager to fulfill most database access needs. 
wt.pom Provides low-level, yet database independent, access to a database. 
wt.step.processor.expressParser   
wt.tools.generation.sql   
 

Uses of RoleDescriptor in wt.dataservice
 

Methods in wt.dataservice with parameters of type RoleDescriptor
static List DatastoreAssociationUtilities.buildNonRemoveEventParticipantCascadeRoleClassInfos(RoleDescriptor a_roleDescriptor)
          This method builds a list of valid role ClassInfos if the role is Cascade and the class does not require remove event participation.
private static HashSet DatastoreAssociationUtilities.buildValidLinks(RoleDescriptor[] a_roles, ClassInfo a_targetClassInfo)
          This method builds a set of valid links for the specified Roles.
static List DatastoreAssociationUtilities.buildNonRemoveEventParticipantCascadeRoleClassInfos(RoleDescriptor a_roleDescriptor)
          This method builds a list of valid role ClassInfos if the role is Cascade and the class does not require remove event participation.
private static HashSet DatastoreAssociationUtilities.buildValidLinks(RoleDescriptor[] a_roles, ClassInfo a_targetClassInfo)
          This method builds a set of valid links for the specified Roles.
 

Uses of RoleDescriptor in wt.epm.query
 

Methods in wt.epm.query with parameters of type RoleDescriptor
private  void QueryTerminalServer.roleInfo(Map res, RoleDescriptor role, String roleSide)
           
 

Uses of RoleDescriptor in wt.epm.structure
 

Methods in wt.epm.structure with parameters of type RoleDescriptor
private  Relationship.Role Relationship.getRole(LinkInfo linkInfo, RoleDescriptor roleInfo)
           
 

Uses of RoleDescriptor in wt.fc.association
 

Fields in wt.fc.association declared as RoleDescriptor
private  RoleDescriptor AssociationRuntimeUtilities.RoleDescriptorKey.role
           
 

Methods in wt.fc.association that return RoleDescriptor
 RoleDescriptor AssociationRuntimeUtilities.RoleDescriptorKey.getRole()
           
 

Methods in wt.fc.association with parameters of type RoleDescriptor
 void StandardAssociationService.copyLinks(WTList originalCopies, RoleDescriptor[] roleDescriptors, WTList newCopies)
          

Supported API: false
 void AssociationServiceSvr.copyLinks(WTList originalCopies, RoleDescriptor[] roleDescriptors, WTList newCopies)
          

Supported API: false
static QuerySpec AssociationRuntimeUtilities.buildComponentRoleSpec(long[] a_objectIds, RoleDescriptor a_role, Class a_referenceType, Class a_validClass, String[] a_validClassNames, boolean a_selectLinkObjects, boolean a_linkObjectIds, ClassInfo a_targetClassInfo)
          This method builds a query to return role ObjectIdentifier columns and optionally link ObjectIdentifier columns (if a_selectLinkObjects=true) for the specified role.
 

Constructors in wt.fc.association with parameters of type RoleDescriptor
AssociationRuntimeUtilities.RoleDescriptorKey(RoleDescriptor a_role)
           
 

Uses of RoleDescriptor in wt.fc.manifest
 

Fields in wt.fc.manifest declared as RoleDescriptor
private  RoleDescriptor LinkExistenceCriteria.roleDescriptor
           
 

Methods in wt.fc.manifest that return RoleDescriptor
protected  RoleDescriptor LinkExistenceCriteria.getRoleDescriptor()
          Gets the RoleDescriptor for this LinkExistenceCriteria object.
 

Methods in wt.fc.manifest with parameters of type RoleDescriptor
static String ManifestServerHelper.addQueryLinkExistenceDirective(RoleDescriptor roleDescriptor, WTCollection roleObjects, Manifest manifest, String name)
          This method will properly add a QueryLinkExistenceDirective to the specified Manifest performing any appropriate merging or optimizations.
static String ManifestServerHelper.addQueryLinkExistenceDirective(RoleDescriptor roleDescriptor, WTCollection roleObjects, Manifest manifest, boolean queryRoleA, String name)
          This method will properly add a QueryLinkExistenceSingleRoleDirective to the specified Manifest performing any appropriate merging or optimizations.
private static QueryKey[] ManifestServerHelper.getQueryKeys(WTCollection c, RoleDescriptor rd)
          Given a WTCollection that may contain return a QueryKey[] where all QueryKeys are VersionForeignKeys or ObjectIdentifiers.
 

Constructors in wt.fc.manifest with parameters of type RoleDescriptor
QueryLinkExistenceSingleRoleDirective(RoleDescriptor rd, QueryKey[] queryKeys, boolean isQueryRoleA)
          

Supported API: false
QueryLinkExistenceDirective(RoleDescriptor rd, QueryKey[] queryKeys)
          This class should not be instantiated directly, helper methods from ManifestServerHelper should be utilized to create and add Directive objects to a Manifest.
LinkExistenceSingleRoleCriteria(RoleDescriptor rd, QueryKey[] qks, boolean a_useRoleA)
          

Supported API: false
LinkExistenceCriteria(RoleDescriptor rd, QueryKey[] qks)
          Protected constructor that should only be used by QueryLinkExistenceDirective or subclass.
 

Uses of RoleDescriptor in wt.introspection
 

Fields in wt.introspection declared as RoleDescriptor
private  RoleDescriptor LinkInfo.roleA
           
private  RoleDescriptor LinkInfo.roleB
           
private  RoleDescriptor[] ClassInfo.otherSideRoles
           
private  RoleDescriptor LinkInfo.roleA
           
private  RoleDescriptor LinkInfo.roleB
           
private  RoleDescriptor[] ClassInfo.otherSideRoles
           
 

Methods in wt.introspection that return RoleDescriptor
 RoleDescriptor RoleDescriptor.getOtherRole()
          Gets the other RoleDescriptor, for the association that owns them.
 RoleDescriptor LinkInfo.getOtherRole(RoleDescriptor otherRole)
          Gets the other RoleDescriptor, relative to the one passed.
 RoleDescriptor LinkInfo.getRole(String role_name)
          Gets the RoleDescriptor by role name.
 RoleDescriptor LinkInfo.getRoleA()
          Gets the roleA RoleDescriptor.
 RoleDescriptor LinkInfo.getRoleB()
          Gets the roleB RoleDescriptor.
 RoleDescriptor ClassInfo.getOtherSideRole(String name)
          Gets a named RoleDescriptor, which is opposite of this class.
 RoleDescriptor ClassInfo.getOtherSideRole(String name, LinkInfo info)
          Gets a named RoleDescriptor, for a particular association, which is opposite of this class.
 RoleDescriptor[] ClassInfo.getOtherSideRoles()
          Gets an array of RoleDescriptors, which are opposite instances of this class, in all of the associations, within which this class can participate.
 RoleDescriptor RoleDescriptor.getOtherRole()
          Gets the other RoleDescriptor, for the association that owns them.
 RoleDescriptor LinkInfo.getOtherRole(RoleDescriptor otherRole)
          Gets the other RoleDescriptor, relative to the one passed.
 RoleDescriptor LinkInfo.getRole(String role_name)
          Gets the RoleDescriptor by role name.
 RoleDescriptor LinkInfo.getRoleA()
          Gets the roleA RoleDescriptor.
 RoleDescriptor LinkInfo.getRoleB()
          Gets the roleB RoleDescriptor.
 RoleDescriptor ClassInfo.getOtherSideRole(String name)
          Gets a named RoleDescriptor, which is opposite of this class.
 RoleDescriptor ClassInfo.getOtherSideRole(String name, LinkInfo info)
          Gets a named RoleDescriptor, for a particular association, which is opposite of this class.
 RoleDescriptor[] ClassInfo.getOtherSideRoles()
          Gets an array of RoleDescriptors, which are opposite instances of this class, in all of the associations, within which this class can participate.
 

Methods in wt.introspection with parameters of type RoleDescriptor
private  void XmlClassIiGenerator.exerciseRoleInfos(RoleDescriptor[] roles, Element parent_element, String role_side_name)
          Exercise an array of RoleDescriptors.
private  void XmlClassIiGenerator.exerciseRoleInfo(RoleDescriptor role, Element parent_element, String role_side_name)
          Exercise the methods of the RoleDescriptor.
protected  void WTIntrospectorVerify.exerciseRoleInfo(RoleDescriptor role)
          Exercise the methods of the RoleDescriptor.
protected  void WTIntrospectorVerify.exerciseRoleInfos(RoleDescriptor[] roles)
          Exercise an array of RoleDescriptors.
protected  void WTIntrospectorTest.exerciseRoleInfo(RoleDescriptor role)
          Exercise the methods of the RoleDescriptor.
protected  void WTIntrospectorTest.exerciseRoleInfos(RoleDescriptor[] roles)
          Exercise an array of RoleDescriptors.
 RoleDescriptor LinkInfo.getOtherRole(RoleDescriptor otherRole)
          Gets the other RoleDescriptor, relative to the one passed.
private  void DatabaseViewInfo.addCriteria(ArrayList collector, String tableID, RoleDescriptor role, DatabaseInfo target)
           
private  void ClassInfo.addRole(ArrayList roles, RoleDescriptor newRole)
           
private  void ClassInfo.addRole(ArrayList roles, RoleDescriptor newRole, int add_index)
           
private  boolean ClassInfo.removeDuplicateRole(ArrayList roles, int index, RoleDescriptor newRole)
           
private  void XmlClassIiGenerator.exerciseRoleInfos(RoleDescriptor[] roles, Element parent_element, String role_side_name)
          Exercise an array of RoleDescriptors.
private  void XmlClassIiGenerator.exerciseRoleInfo(RoleDescriptor role, Element parent_element, String role_side_name)
          Exercise the methods of the RoleDescriptor.
protected  void WTIntrospectorVerify.exerciseRoleInfo(RoleDescriptor role)
          Exercise the methods of the RoleDescriptor.
protected  void WTIntrospectorVerify.exerciseRoleInfos(RoleDescriptor[] roles)
          Exercise an array of RoleDescriptors.
protected  void WTIntrospectorTest.exerciseRoleInfo(RoleDescriptor role)
          Exercise the methods of the RoleDescriptor.
protected  void WTIntrospectorTest.exerciseRoleInfos(RoleDescriptor[] roles)
          Exercise an array of RoleDescriptors.
 RoleDescriptor LinkInfo.getOtherRole(RoleDescriptor otherRole)
          Gets the other RoleDescriptor, relative to the one passed.
private  void DatabaseViewInfo.addCriteria(ArrayList collector, String tableID, RoleDescriptor role, DatabaseInfo target)
           
private  void ClassInfo.addRole(ArrayList roles, RoleDescriptor newRole)
           
private  void ClassInfo.addRole(ArrayList roles, RoleDescriptor newRole, int add_index)
           
private  boolean ClassInfo.removeDuplicateRole(ArrayList roles, int index, RoleDescriptor newRole)
           
 

Constructors in wt.introspection with parameters of type RoleDescriptor
LinkInfo(String[] theInterfaces, String aParentName, String aClassname, String aConcreteClassname, DatabaseInfo database_info, boolean persistentFlag, AttributeDescriptor[] attrs, boolean dups, boolean is_attributed, byte storage_type, String reference_name, String reference_type, RoleDescriptor role_A, RoleDescriptor role_B, String standard_icon, String open_icon, boolean has_displayName, String[] aliases_role_A, String[] aliases_role_B, DatastoreElementType datastore_elem_type, boolean isRemoveEventParticipant, HashMap extended_values)
          Constructor.
LinkInfo(String[] theInterfaces, String aParentName, String aClassname, String aConcreteClassname, DatabaseInfo database_info, boolean persistentFlag, AttributeDescriptor[] attrs, boolean dups, boolean is_attributed, byte storage_type, String reference_name, String reference_type, RoleDescriptor role_A, RoleDescriptor role_B, String standard_icon, String open_icon, boolean has_displayName, String[] aliases_role_A, String[] aliases_role_B, DatastoreElementType datastore_elem_type, boolean isRemoveEventParticipant, HashMap extended_values)
          Constructor.
 

Uses of RoleDescriptor in wt.pds
 

Fields in wt.pds declared as RoleDescriptor
private static RoleDescriptor[] WTResultSet.EMPTY_AUTO_NAVIGATE_ROLES
           
 

Methods in wt.pds that return RoleDescriptor
private  RoleDescriptor NavigateStatementBuilder.getOtherRole(ClassInfo classInfo)
          Return the RoleDescriptor for the specified link, role, and object.
 

Uses of RoleDescriptor in wt.pom
 

Methods in wt.pom that return RoleDescriptor
private  RoleDescriptor[] PersistentObjectManager.validateRoles(ClassInfo a_sourceClassInfo, LinkInfo a_linkInfo)
           
 

Methods in wt.pom with parameters of type RoleDescriptor
private  QuerySpec PersistentObjectManager.getRoleSpec(Persistable a_source, QuerySpec a_querySpec, RoleDescriptor a_role, boolean a_onlyOtherSide)
           
private  boolean PersistentObjectManager.validLink(RoleDescriptor rds, LinkInfo linkInfo)
           
 

Uses of RoleDescriptor in wt.step.processor.expressParser
 

Methods in wt.step.processor.expressParser with parameters of type RoleDescriptor
private  void ExpressSchema.addLinkType(Class linkClass, RoleDescriptor role)
           
 

Uses of RoleDescriptor in wt.tools.generation.sql
 

Methods in wt.tools.generation.sql with parameters of type RoleDescriptor
 void SQLGenerator.createRoleFKConstraintItems(DatabaseInfo a_dbInfo, RoleDescriptor a_roleDescriptor, String propertyName, String referenceType, boolean isLinkTable, StringBuffer create_buffer, StringBuffer drop_buffer, HashMap createMap)
           
 void SQLGenerator.createRoleTriggerConstraintItems(DatabaseInfo a_dbInfo, RoleDescriptor a_roleDescriptor, String role_side, StringBuffer create_buffer, StringBuffer drop_buffer)
           
 List SQLGenerator.getDescendentTables(RoleDescriptor a_roleDescriptor)
           
 void SQLGenerator.createRoleFKConstraintItems(DatabaseInfo a_dbInfo, RoleDescriptor a_roleDescriptor, String propertyName, String referenceType, boolean isLinkTable, StringBuffer create_buffer, StringBuffer drop_buffer, HashMap createMap)
           
 void SQLGenerator.createRoleTriggerConstraintItems(DatabaseInfo a_dbInfo, RoleDescriptor a_roleDescriptor, String role_side, StringBuffer create_buffer, StringBuffer drop_buffer)
           
 List SQLGenerator.getDescendentTables(RoleDescriptor a_roleDescriptor)