|
特定别名映射只能在一种类型或其子类型中使用一次。如果使用相同映射定义另一个别名属性,则会出现错误。类型的 Logical Attributes Report 列出已用于该类型的映射,包括那些用于“类型和属性管理”实用程序中别名属性的映射。Logical Attributes Report 在 > 中提供。有关详细信息,请参阅 Customization Tools Overview (自定义工具概述)。
|
<关联>
|
含义:
|
||
<属性>^<类型>
|
导航至此对象所引用的其他对象
|
||
<属性>@<类型>
|
导航至引用此对象的其他对象
|
||
<属性>=<属性>@<类型>
|
导航至与此对象具有相同值的其他对象
|
||
<关联>~<关联>
|
导航至跨多个<关联>的对象,并将它们连接在一起
|
当前对象 | 映射属性值 | 说明 |
“活动”com.ptc.projectmanagement.plan.PlanActivity | containerReference^wt.projmgmt.admin.Project2~containerInfo.name | 导航至当前“活动”(com.ptc.projectmanagement.plan.PlanActivity) 对象上的“上下文”(containerReference) 属性所引用的“项目”(wt.projmgmt.admin.Project2) 对象,然后从“项目”(wt.projmgmt.admin.Project2) 对象中检索“名称”(containerInfo.name) 属性。 |
“文档”(wt.doc.WTDocument) | describedBy@wt.part.WTPartDescribeLink~describes^wt.part.WTPart~name | 先导航至如下 wt.part.WTPartDescribeLink 对象:具有引用当前“文档”(wt.doc.WTDocument) 对象的 describedBy 属性,然后导航至 wt.part.WTPartDescribeLink 对象上的 describes 属性所引用的“部件”(wt.part.WTPart) 对象,之后再检索“部件”(wt.part.WTPart) 对象上的 name 属性。 |
“资源分配”(com.ptc.projectmanagement.assignment.ResourceAssignment) | parentReference^com.ptc.projectmanagement.plan.PlanActivity~deadline | 导航至当前“资源分配”(com.ptc.projectmanagement.assignment.ResourceAssignment) 对象上的“父项参考”(parentReference) 属性所引用的“活动”(com.ptc.projectmanagement.plan.PlanActivity) 对象,然后从“活动”(com.ptc.projectmanagement.plan.PlanActivity) 对象中检索“最后期限”(deadline) 属性。 |
“部件”(wt.part.WTPart) | describes@wt.part.WTPartDescribeLink~describedBy^wt.doc.WTDocument~publisher | 此映射假定您已在“文档”(wt.doc.WTDocument 对象类型) 上创建了“发布者”(publisher) 属性。 导航至如下 wt.part.WTPartDescribeLink 对象:具有引用当前“部件”(wt.part.WTPart) 对象的 describes 属性,然后导航至“部件”(wt.part.WTPart) 对象上的 describedBy 属性所引用的“文档”(wt.doc.WTDocument) 对象,之后再检索这些“文档”(wt.doc.WTDocument) 对象上的“发布者”(publisher) 属性。 |
“部件”(wt.part.WTPart) | name=title@wt.doc.WTDocument~description | 导航至如下“文档”(wt.doc.WTDocument) 对象:具有与当前“部件”(wt.part.WTPart) 对象上的“名称”(name) 属性相匹配的“标题”(title) 属性,然后检索“文档”(wt.doc.WTDocument) 对象上的“说明”(说明) 属性。 |
“文档”(wt.doc.WTDocument) | usedBy@wt.doc.WTDocumentUsageLink~uses^wt.doc.WTDocumentMaster~name | 导航至如下 wt.doc.WTDocumentUsageLink 对象:具有引用当前“文档”(wt.doc.WTDocument) 对象的 usedBy 属性,然后导航至 wt.doc.WTDocumentUsageLink 对象上的使用属性所引用的“文档主数据”(wt.doc.WTDocumentMaster) 对象,然后检索这些“文档主数据”(wt.doc.WTDocumentMaster) 对象上的“名称”(name) 属性。 |
自对象 | 自关系 | 链接对象 | 至关系 | 至对象 |
wt.doc.WTDocument | usedBy | wt.doc.WTDocumentUsageLink | uses | wt.doc.WTDocumentMaster |
wt.doc.WTDocument | describes | wt.doc.WTDocumentDependencyLink | describedBy | wt.doc.WTDocument |
wt.doc.WTDocument | describedBy | wt.part.WTPartDescribeLink | describes | wt.part.WTPart |
wt.part.WTPart | usedBy | wt.part.WTPartUsageLink | uses | wt.part.WTPartMaster |
wt.part.WTPart | referencedBy | wt.part.WTPartReferenceLink | references | wt.doc.WTDocumentMaster |
wt.part.WTPart | buildTarget | wt.epm.EPMBuildRule | buildSource | wt.epm.EPMDocument |
wt.part.WTPart | describes | wt.epm.EPMDescribeLink | describedBy | wt.epm.EPMDocument |
wt.part.WTPartMaster | alternates | wt.part.WTPartAlternateLink | alternateFor | wt.part.WTPartMaster |
wt.part.WTPartUsageLink | substituteFor | wt.part.WTPartSubstituteLink | substitutes | wt.part.WTPartMaster |
wt.epm.EPMDocument | contains | wt.epm.structure.EPMContainedIn | containedIn | wt.epm.familytable.EPMFamilyTable |
wt.epm.EPMDocument | usedBy | wt.epm.structure.EPMMemberLink | uses | wt.epm.EPMDocumentMaster |
wt.epm.EPMDocument | referencedBy | wt.epm.structure.EPMReferenceLink | references | wt.epm.EPMDocumentMaster |
wt.epm.EPMDocument | variant | wt.epm.structure.EPMVariantLink | generic | wt.epm.EPMDocumentMaster |
wt.change2.WTChangeOrder2 | addressedBy | wt.change2.AddressedBy2 | addresses | wt.change2.WTChangeRequest2 |
wt.change2.WTChangeActivity2 | includedIn | wt.change2.IncludedIn2 | includes | wt.change2.WTChangeOrder2 |