5.1.3.18 IfcPropertyTemplateDefinition (属性模板定义)
抽象 该定义可能不会被直接实例化。
5.1.3.18.1 语义定义(Semantic definition)
IfcPropertyTemplateDefinition 是所有属性和属性集模板的概括。模板定义了项目中使用的各个属性的集合、类型、名称、适用的度量类型和单位。属性模板定义可以是:
- 属性集模板 - IfcPropertySetTemplate,属性模板的集合,用于确定项目上下文中使用的属性的定义。
- 属性模板 - IfcPropertyTemplate,单个模板,用于确定在同一项目上下文中使用的特定属性的定义。该模板可以确定基于该模板的每个属性的名称、描述、数据类型、单位或标准表达式。
IfcPropertyTemplateDefinition 的子类型在项目上下文中声明。最顶层的模板定义(例如,包含多个 IfcPropertyTemplate 的 IfcPropertySetTemplate)应使用继承的 HasContext 逆向特性关联到上下文,即 IfcProject 或 IfcProjectLibrary。
5.1.3.18.2 实体继承(Entity inheritance)
5.1.3.18.3 特性(Attributes)
| # | 特性(Attributes) | 类型 | 描述 |
|---|---|---|---|
| IfcRoot (4) | |||
| 1 | GlobalId | IfcGloballyUniqueId |
在整个软件世界中分配全局唯一标识符。 |
| 2 | OwnerHistory | OPTIONAL IfcOwnerHistory |
分配有关该对象当前所有权的信息,包括所有者参与者、应用程序、本地标识以及捕获到的关于对象近期更改的信息。 |
| 3 | Name | OPTIONAL IfcLabel |
供参与的软件系统或用户使用的可选名称。对于某些 IfcRoot 的子类型,可能需要插入 Name 特性。这将通过 where 规则强制执行。 |
| 4 | Description | OPTIONAL IfcText |
可选的描述,用于提供信息性注释。 |
| 点击显示 4 个隐藏的继承特性 点击隐藏 4 个继承特性 | |||
| IfcPropertyDefinition (2) | |||
| HasContext | SET [0:1] OF IfcRelDeclares FOR RelatedDefinitions |
引用 IfcRelDeclares 关系,从而引用 IfcProject 或 IfcProjectLibrary。 |
|
| HasAssociations | SET [0:?] OF IfcRelAssociates FOR RelatedObjects |
引用 IfcRelAssociates 关系,从而引用那些外部定义的概念,如分类、文档或库信息,这些概念与属性定义相关联。 |
|
5.1.3.18.4 概念用法(Concept usage)
| 概念 | 用法 | 描述 | |
|---|---|---|---|
| IfcRoot (2) | |||
| Revision Control | General |
使用 IfcOwnerHistory 捕获所有权、历史记录和合并状态。 |
|
| Software Identity | General |
IfcRoot 分配全局唯一 ID。此外,它还可以为概念提供名称和描述。 |
|
| IfcPropertyDefinition (2) | |||
| Revision Control | General |
使用 IfcOwnerHistory 捕获所有权、历史记录和合并状态。 |
|
| Software Identity | General |
IfcRoot 分配全局唯一 ID。此外,它还可以为概念提供名称和描述。 |
|
| 点击显示 4 个隐藏的继承概念 点击隐藏 4 个继承概念 | |||
| IfcPropertyTemplateDefinition (2) | |||
| Revision Control | General |
使用 IfcOwnerHistory 捕获所有权、历史记录和合并状态。 |
|
| Software Identity | General |
IfcRoot 分配全局唯一 ID。此外,它还可以为概念提供名称和描述。 |
|
5.1.3.18.5 形式化表示(Formal representation)
ENTITY IfcPropertyTemplateDefinition
ABSTRACT SUPERTYPE OF (ONEOF
(IfcPropertySetTemplate
,IfcPropertyTemplate))
SUBTYPE OF (IfcPropertyDefinition);
END_ENTITY;