5.1.3.2 IfcComplexPropertyTemplate (复杂属性模板)
5.1.3.2.1 语义定义(Semantic definition)
IfcComplexPropertyTemplate 定义了所有复杂属性的模板,包括 IfcComplexProperty 或 IfcPhysicalComplexQuantity。各个复杂属性模板根据其 Name 特性和可选的 UsageName 特性进行解释。
5.1.3.2.2 实体继承(Entity inheritance)
5.1.3.2.3 特性(Attributes)
| # | 特性(Attributes) | 类型 | 描述 |
|---|---|---|---|
| IfcRoot (4) | |||
| 1 | GlobalId | IfcGloballyUniqueId |
在整个软件世界中分配全局唯一标识符。 |
| 2 | OwnerHistory | OPTIONAL IfcOwnerHistory |
分配有关该对象当前所有权的信息,包括所有者参与者、应用程序、本地标识以及捕获到的关于对象近期更改的信息。 |
| 3 | Name | OPTIONAL IfcLabel |
供参与的软件系统或用户使用的可选名称。对于某些 IfcRoot 的子类型,可能需要插入 Name 特性。这将通过 where 规则强制执行。 |
| 4 | Description | OPTIONAL IfcText |
可选的描述,用于提供信息性注释。 |
| IfcPropertyDefinition (2) | |||
| HasContext | SET [0:1] OF IfcRelDeclares FOR RelatedDefinitions |
引用 IfcRelDeclares 关系,从而引用 IfcProject 或 IfcProjectLibrary。 |
|
| HasAssociations | SET [0:?] OF IfcRelAssociates FOR RelatedObjects |
引用 IfcRelAssociates 关系,从而引用那些外部定义的概念,如分类、文档或库信息,这些概念与属性定义相关联。 |
|
| IfcPropertyTemplate (2) | |||
| PartOfComplexTemplate | SET [0:?] OF IfcComplexPropertyTemplate FOR HasPropertyTemplates |
引用一个复杂属性模板。只有当被引用复杂属性模板的 PropertyType 设置为 COMPLEX 时,才应提供此项。 |
|
| PartOfPsetTemplate | SET [0:?] OF IfcPropertySetTemplate FOR HasPropertyTemplates |
引用定义 IfcPropertyTemplate 范围的 IfcPropertySetTemplate。单个 IfcPropertyTemplate 可以在零个、一个或多个 IfcPropertySetTemplate 实体的范围内定义。 |
|
| 点击显示 8 个隐藏的继承特性 点击隐藏 8 个继承特性 | |||
| IfcComplexPropertyTemplate (3) | |||
| 5 | UsageName | OPTIONAL IfcLabel |
IfcComplexPropertyTemplate 的用途描述。 |
| 6 | TemplateType | OPTIONAL IfcComplexPropertyTemplateTypeEnum |
属性类型,用于定义属性模板是将属性定义为 IfcComplexProperty 还是 IfcPhysicalComplexQuantity。 |
| 7 | HasPropertyTemplates | OPTIONAL SET [1:?] OF IfcPropertyTemplate |
对一组属性模板的引用。只有当 PropertyType 设置为 COMPLEX 时,才应提供此属性。 |
5.1.3.2.4 形式化命题(Formal propositions)
| 名称 | 描述 |
|---|---|
| NoSelfReference |
IfcComplexPropertyTemplate 不应在 HasPropertyTemplates 集合中引用自身。 |
|
|
| UniquePropertyNames |
复杂属性模板中的每个 IfcPropertyTemplate 都应具有唯一的 Name 特性值。 |
|
|
5.1.3.2.5 概念用法(Concept usage)
| 概念 | 用法 | 描述 | |
|---|---|---|---|
| IfcRoot (2) | |||
| Revision Control | General |
使用 IfcOwnerHistory 捕获所有权、历史记录和合并状态。 |
|
| Software Identity | General |
IfcRoot 分配全局唯一 ID。此外,它还可以为概念提供名称和描述。 |
|
| IfcPropertyDefinition (2) | |||
| Revision Control | General |
使用 IfcOwnerHistory 捕获所有权、历史记录和合并状态。 |
|
| Software Identity | General |
IfcRoot 分配全局唯一 ID。此外,它还可以为概念提供名称和描述。 |
|
| IfcPropertyTemplateDefinition (2) | |||
| Revision Control | General |
使用 IfcOwnerHistory 捕获所有权、历史记录和合并状态。 |
|
| Software Identity | General |
IfcRoot 分配全局唯一 ID。此外,它还可以为概念提供名称和描述。 |
|
| IfcPropertyTemplate (2) | |||
| Revision Control | General |
使用 IfcOwnerHistory 捕获所有权、历史记录和合并状态。 |
|
| Software Identity | General |
IfcRoot 分配全局唯一 ID。此外,它还可以为概念提供名称和描述。 |
|
| 点击显示 8 个隐藏的继承概念 点击隐藏 8 个继承概念 | |||
| IfcComplexPropertyTemplate (2) | |||
| Revision Control | General |
使用 IfcOwnerHistory 捕获所有权、历史记录和合并状态。 |
|
| Software Identity | General |
IfcRoot 分配全局唯一 ID。此外,它还可以为概念提供名称和描述。 |
|
5.1.3.2.6 形式化表示(Formal representation)
ENTITY IfcComplexPropertyTemplate
SUBTYPE OF (IfcPropertyTemplate);
UsageName : OPTIONAL IfcLabel;
TemplateType : OPTIONAL IfcComplexPropertyTemplateTypeEnum;
HasPropertyTemplates : OPTIONAL SET [1:?] OF IfcPropertyTemplate;
WHERE
NoSelfReference : SIZEOF(QUERY(temp <* HasPropertyTemplates | SELF :=: temp)) = 0;
UniquePropertyNames : IfcUniquePropertyTemplateNames(HasPropertyTemplates);
END_ENTITY;