Registry¶
Fig. 6 Schematic overview of logical data model for Registry¶
- class registry.models.AdditionalProductInformation(*args, **kwargs)¶
Some addition product information is contained on this model for legacy purposes.
- Parameters
id (UUIDField) – Primary key: Id
created_at (DateTimeField) – Created at
updated_at (DateTimeField) – Updated at
u_value (FloatField) – U value
zta_value (FloatField) – Zta value
rc_value (FloatField) – Rc value
lambda_value (FloatField) – Lambda value
bim_code (FloatField) – Bim code
Relationship fields:
- Parameters
construction_product (
OneToOneField
toConstructionProduct
) – Construction product (related name:additional_product_information
)
- class registry.models.Classification(*args, **kwargs)¶
Please refer to the conceptual model on Classification.
- Parameters
id (UUIDField) – Primary key: Id
created_at (DateTimeField) – Created at
updated_at (DateTimeField) – Updated at
Relationship fields:
- Parameters
construction_product (
ForeignKey
toConstructionProduct
) – Construction product (related name:classifications
)components (
ManyToManyField
toComponent
) – Components (related name:classifications
)
Reverse relationships:
- Parameters
legacyclassification (Reverse
OneToOneField
fromLegacyClassification
) – The legacy classification of this Classification (related name ofclassification_ptr
)classificationcomponent (Reverse
ForeignKey
fromClassificationComponent
) – All Classification component of this Classification (related name ofclassification
)
- class registry.models.ClassificationComponent(*args, **kwargs)¶
Through model linking Classification and Component.
- Parameters
id (UUIDField) – Primary key: Id
created_at (DateTimeField) – Created at
updated_at (DateTimeField) – Updated at
Relationship fields:
- Parameters
classification (
ForeignKey
toClassification
) – Classification (related name:classificationcomponent
)component (
ForeignKey
toComponent
) – Component (related name:classificationcomponent
)
Reverse relationships:
- Parameters
legacyclassificationcomponent (Reverse
OneToOneField
fromLegacyClassificationComponent
) – The legacy classification component of this Classification component (related name ofclassificationcomponent_ptr
)
- class registry.models.ConstructionProduct(*args, **kwargs)¶
Please refer to the conceptual model on Construction Product (or process).
- Parameters
id (UUIDField) – Primary key: Id
created_at (DateTimeField) – Created at
updated_at (DateTimeField) – Updated at
title (CharField) – Title
description (TextField) – Description
brand (CharField) – Product brand
lifespan (IntegerField) – Lifespan
unforeseen_reuse_factor (FloatField) – Unforeseen reuse factor
Relationship fields:
- Parameters
environmental_declaration (
OneToOneField
toEnvironmentalDeclaration
) – Environmental declaration (related name:construction_product
)field_of_application (
ForeignKey
toFieldOfApplication
) – Field of application (related name:constructionproduct
)unit (
ForeignKey
toUnit
) – Unit. This value should be determined based on the selected Element (related name:constructionproduct
)
Reverse relationships:
- Parameters
legacyconstructionproduct (Reverse
OneToOneField
fromLegacyConstructionProduct
) – The legacy construction product of this Construction product (related name ofconstructionproduct_ptr
)additional_product_information (Reverse
OneToOneField
fromAdditionalProductInformation
) – The additional product information of this Construction product (related name ofconstruction_product
)classifications (Reverse
ForeignKey
fromClassification
) – All classifications of this Construction product (related name ofconstruction_product
)
- class registry.models.DataOwner(*args, **kwargs)¶
The DataOwner is the owner of a EnvironmentalDeclaration
- Parameters
id (UUIDField) – Primary key: Id
created_at (DateTimeField) – Created at
updated_at (DateTimeField) – Updated at
title (CharField) – Data owner
Reverse relationships:
- Parameters
environmentaldeclaration (Reverse
ForeignKey
fromEnvironmentalDeclaration
) – All Environmental declarations of this data owner (related name ofowner
)
- class registry.models.EnvironmentalDeclaration(*args, **kwargs)¶
Please refer to the conceptual model on Environmental Declaration.
- Parameters
id (UUIDField) – Primary key: Id
created_at (DateTimeField) – Created at
updated_at (DateTimeField) – Updated at
active_from (DateTimeField) – Active from
active_until (DateTimeField) – Active until
Relationship fields:
- Parameters
registration (
ForeignKey
toRegistration
) – Registration (related name:environmental_declarations
)owner (
ForeignKey
toDataOwner
) – Owner (related name:environmentaldeclaration
)reviewer (
ForeignKey
toReviewer
) – Reviewer (related name:reviewed_declarations
)
Reverse relationships:
- Parameters
legacyenvironmentaldeclaration (Reverse
OneToOneField
fromLegacyEnvironmentalDeclaration
) – The legacy environmental declaration of this Environmental declaration (related name ofenvironmentaldeclaration_ptr
)legacymeelifterprofile (Reverse
ForeignKey
fromLegacyMeelifterProfile
) – All Legacy Meelifter Profiles of this Environmental declaration (related name ofenvironmental_declaration
)construction_product (Reverse
OneToOneField
fromConstructionProduct
) – The construction product of this Environmental declaration (related name ofenvironmental_declaration
)environmental_profiles (Reverse
ForeignKey
fromEnvironmentalProfile
) – All environmental profiles of this Environmental declaration (related name ofenvironmental_declaration
)audit_status (Reverse
OneToOneField
fromAuditStatus
) – The audit status of this Environmental declaration (related name ofenvironmental_declaration
)audit_activities (Reverse
ForeignKey
fromAuditActivity
) – All audit activities of this Environmental declaration (related name ofenvironmental_declaration
)
- class registry.models.ManagedEnvironmentalDeclaration(id, created_at, updated_at, registration, owner, reviewer, active_from, active_until)¶
- Parameters
id (UUIDField) – Primary key: Id
created_at (DateTimeField) – Created at
updated_at (DateTimeField) – Updated at
active_from (DateTimeField) – Active from
active_until (DateTimeField) – Active until
Relationship fields:
- Parameters
registration (
ForeignKey
toRegistration
) – Registration (related name:environmental_declarations
)owner (
ForeignKey
toDataOwner
) – Owner (related name:environmentaldeclaration
)reviewer (
ForeignKey
toReviewer
) – Reviewer (related name:reviewed_declarations
)
Reverse relationships:
- Parameters
legacyenvironmentaldeclaration (Reverse
OneToOneField
fromLegacyEnvironmentalDeclaration
) – The legacy environmental declaration of this Environmental declaration (related name ofenvironmentaldeclaration_ptr
)legacymeelifterprofile (Reverse
ForeignKey
fromLegacyMeelifterProfile
) – All Legacy Meelifter Profiles of this Environmental declaration (related name ofenvironmental_declaration
)construction_product (Reverse
OneToOneField
fromConstructionProduct
) – The construction product of this Environmental declaration (related name ofenvironmental_declaration
)environmental_profiles (Reverse
ForeignKey
fromEnvironmentalProfile
) – All environmental profiles of this Environmental declaration (related name ofenvironmental_declaration
)audit_status (Reverse
OneToOneField
fromAuditStatus
) – The audit status of this Environmental declaration (related name ofenvironmental_declaration
)audit_activities (Reverse
ForeignKey
fromAuditActivity
) – All audit activities of this Environmental declaration (related name ofenvironmental_declaration
)
- class registry.models.ManagedRegistration(id, created_at, updated_at, account, registration_number, registered_at, category)¶
- Parameters
id (UUIDField) – Primary key: Id
created_at (DateTimeField) – Created at
updated_at (DateTimeField) – Updated at
registration_number (CharField) – Registration number
registered_at (DateTimeField) – Registered at. Date of first admittance
category (CharField) – Category
Relationship fields:
- Parameters
account (
ForeignKey
toAccount
) – Account (related name:registrations
)
Reverse relationships:
- Parameters
legacyregistration (Reverse
OneToOneField
fromLegacyRegistration
) – The legacy registration of this Environmental declaration registration (related name ofregistration_ptr
)environmental_declarations (Reverse
ForeignKey
fromEnvironmentalDeclaration
) – All environmental declarations of this Environmental declaration registration (related name ofregistration
)
- class registry.models.Registration(*args, **kwargs)¶
An Environmental Declaration is registered formally by the NMD, just like a license plate. Once an Environmental Declaration is registered, it will keep the same registration number throughout its life. Sometimes the Environmental Declaration is replaced by a new version (for instance due to a typo). In this case the registration number stays the same, but the Environmental Declaration version is increased by one.
As soon as a Environmental Declaration Owner starts adding his Environmental Declaration , a Preliminary Environmental Declaration will be created. This registration does not have a registration number yet. The number will be assigned after first admittance.
- Parameters
id (UUIDField) – Primary key: Id
created_at (DateTimeField) – Created at
updated_at (DateTimeField) – Updated at
registration_number (CharField) – Registration number
registered_at (DateTimeField) – Registered at. Date of first admittance
category (CharField) – Category
Relationship fields:
- Parameters
account (
ForeignKey
toAccount
) – Account (related name:registrations
)
Reverse relationships:
- Parameters
legacyregistration (Reverse
OneToOneField
fromLegacyRegistration
) – The legacy registration of this Environmental declaration registration (related name ofregistration_ptr
)environmental_declarations (Reverse
ForeignKey
fromEnvironmentalDeclaration
) – All environmental declarations of this Environmental declaration registration (related name ofregistration
)
- class registry.models.RegistrationCategories(value)¶
An enumeration.