Angabe zu Autor und Zeit des letzten Objektzugriffs | |
Owner History | |
Historique des actions sur l'objet |
Item | SPF | XML | Change | Description | IFC2x3 to IFC4 |
---|---|---|---|---|
IfcOwnerHistory | ||||
ChangeAction | MODIFIED | Instantiation changed to OPTIONAL. |
IfcOwnerHistory defines all history and identification related information. In order to provide fast access it is directly attached to all independent objects, relationships and properties.
IfcOwnerHistory is used to identify the creating and owning application and user for the associated object, as well as capture the last modifying application and user.
HISTORY New entity in IFC1.0.
IFC4 CHANGE ChangeAction is now optional and a related WHERE rule enforces conditions when it is asserted.
Informal Propositions:
# | Attribute | Type | Cardinality | Description | C |
---|---|---|---|---|---|
1 | OwningUser | IfcPersonAndOrganization | [1:1] | Direct reference to the end user who currently "owns" this object. Note that IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User. | X |
2 | OwningApplication | IfcApplication | [1:1] | Direct reference to the application which currently "owns" this object on behalf of the owning user of the application. Note that IFC includes the concept of ownership transfer from one application to another and therefore distinguishes between the Owning Application and Creating Application. | X |
3 | State | IfcStateEnum | [0:1] | Enumeration that defines the current access state of the object. | X |
4 | ChangeAction | IfcChangeActionEnum | [0:1] | Enumeration that defines the actions associated with changes made to the object. | X |
5 | LastModifiedDate | IfcTimeStamp | [0:1] | Date and Time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by LastModifyingUser and LastModifyingApplication. | X |
6 | LastModifyingUser | IfcPersonAndOrganization | [0:1] | User who carried out the last modification using LastModifyingApplication. | X |
7 | LastModifyingApplication | IfcApplication | [0:1] | Application used to make the last modification. | X |
8 | CreationDate | IfcTimeStamp | [1:1] | The date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity. | X |
Rule | Description |
---|---|
CorrectChangeAction | If ChangeAction is asserted and LastModifiedDate is not defined, ChangeAction must be set to NOTDEFINED |
# | Attribute | Type | Cardinality | Description | C |
---|---|---|---|---|---|
IfcOwnerHistory | |||||
1 | OwningUser | IfcPersonAndOrganization | [1:1] | Direct reference to the end user who currently "owns" this object. Note that IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User. | X |
2 | OwningApplication | IfcApplication | [1:1] | Direct reference to the application which currently "owns" this object on behalf of the owning user of the application. Note that IFC includes the concept of ownership transfer from one application to another and therefore distinguishes between the Owning Application and Creating Application. | X |
3 | State | IfcStateEnum | [0:1] | Enumeration that defines the current access state of the object. | X |
4 | ChangeAction | IfcChangeActionEnum | [0:1] | Enumeration that defines the actions associated with changes made to the object. | X |
5 | LastModifiedDate | IfcTimeStamp | [0:1] | Date and Time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by LastModifyingUser and LastModifyingApplication. | X |
6 | LastModifyingUser | IfcPersonAndOrganization | [0:1] | User who carried out the last modification using LastModifyingApplication. | X |
7 | LastModifyingApplication | IfcApplication | [0:1] | Application used to make the last modification. | X |
8 | CreationDate | IfcTimeStamp | [1:1] | The date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity. | X |
<xs:element name="IfcOwnerHistory" type="ifc:IfcOwnerHistory" substitutionGroup="ifc:Entity" nillable="true"/>
<xs:complexType name="IfcOwnerHistory">
<xs:complexContent>
<xs:extension base="ifc:Entity">
<xs:sequence>
<xs:element name="OwningUser" type="ifc:IfcPersonAndOrganization" nillable="true"/>
<xs:element name="OwningApplication" type="ifc:IfcApplication" nillable="true"/>
<xs:element name="LastModifyingUser" type="ifc:IfcPersonAndOrganization" nillable="true" minOccurs="0"/>
<xs:element name="LastModifyingApplication" type="ifc:IfcApplication" nillable="true" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="State" type="ifc:IfcStateEnum" use="optional"/>
<xs:attribute name="ChangeAction" type="ifc:IfcChangeActionEnum" use="optional"/>
<xs:attribute name="LastModifiedDate" type="ifc:IfcTimeStamp" use="optional"/>
<xs:attribute name="CreationDate" type="ifc:IfcTimeStamp" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
ENTITY IfcOwnerHistory;
OwningUser : IfcPersonAndOrganization;
OwningApplication : IfcApplication;
State : OPTIONAL IfcStateEnum;
ChangeAction : OPTIONAL IfcChangeActionEnum;
LastModifiedDate : OPTIONAL IfcTimeStamp;
LastModifyingUser : OPTIONAL IfcPersonAndOrganization;
LastModifyingApplication : OPTIONAL IfcApplication;
CreationDate : IfcTimeStamp;
WHERE
CorrectChangeAction : (EXISTS(LastModifiedDate)) OR
(NOT(EXISTS(LastModifiedDate)) AND NOT(EXISTS(ChangeAction))) OR
(NOT(EXISTS(LastModifiedDate)) AND EXISTS(ChangeAction) AND ((ChangeAction = IfcChangeActionEnum.NOTDEFINED) OR (ChangeAction = IfcChangeActionEnum.NOCHANGE)));
END_ENTITY;