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 (
OneToOneFieldtoConstructionProduct) – 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 (
ForeignKeytoConstructionProduct) – Construction product (related name:classifications)components (
ManyToManyFieldtoComponent) – Components (related name:classifications)
Reverse relationships:
- Parameters
legacyclassification (Reverse
OneToOneFieldfromLegacyClassification) – The legacy classification of this Classification (related name ofclassification_ptr)classificationcomponent (Reverse
ForeignKeyfromClassificationComponent) – 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 (
ForeignKeytoClassification) – Classification (related name:classificationcomponent)component (
ForeignKeytoComponent) – Component (related name:classificationcomponent)
Reverse relationships:
- Parameters
legacyclassificationcomponent (Reverse
OneToOneFieldfromLegacyClassificationComponent) – 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 (
OneToOneFieldtoEnvironmentalDeclaration) – Environmental declaration (related name:construction_product)field_of_application (
ForeignKeytoFieldOfApplication) – Field of application (related name:constructionproduct)unit (
ForeignKeytoUnit) – Unit. This value should be determined based on the selected Element (related name:constructionproduct)
Reverse relationships:
- Parameters
legacyconstructionproduct (Reverse
OneToOneFieldfromLegacyConstructionProduct) – The legacy construction product of this Construction product (related name ofconstructionproduct_ptr)additional_product_information (Reverse
OneToOneFieldfromAdditionalProductInformation) – The additional product information of this Construction product (related name ofconstruction_product)classifications (Reverse
ForeignKeyfromClassification) – 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
remote_id (UUIDField) – Remote id
title (CharField) – Data owner
Reverse relationships:
- Parameters
environmentaldeclaration (Reverse
ForeignKeyfromEnvironmentalDeclaration) – All Environmental declarations of this data owner (related name ofowner)
- save(*args, **kwargs)¶
Save the current instance. Override this in a subclass if you want to control the saving process.
The ‘force_insert’ and ‘force_update’ parameters can be used to insist that the “save” must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.
- 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
lca_report_publication_date (DateField) – LCA Report Publication Date
Relationship fields:
- Parameters
registration (
ForeignKeytoRegistration) – Registration (related name:environmental_declarations)owner (
ForeignKeytoDataOwner) – Owner (related name:environmentaldeclaration)reviewer (
ForeignKeytoReviewer) – Reviewer (related name:reviewed_declarations)
Reverse relationships:
- Parameters
legacyenvironmentaldeclaration (Reverse
OneToOneFieldfromLegacyEnvironmentalDeclaration) – The legacy environmental declaration of this Environmental declaration (related name ofenvironmentaldeclaration_ptr)legacymeelifterprofile (Reverse
ForeignKeyfromLegacyMeelifterProfile) – All Legacy Meelifter Profiles of this Environmental declaration (related name ofenvironmental_declaration)construction_product (Reverse
OneToOneFieldfromConstructionProduct) – The construction product of this Environmental declaration (related name ofenvironmental_declaration)environmental_profiles (Reverse
ForeignKeyfromEnvironmentalProfile) – All environmental profiles of this Environmental declaration (related name ofenvironmental_declaration)audit_status (Reverse
OneToOneFieldfromAuditStatus) – The audit status of this Environmental declaration (related name ofenvironmental_declaration)audit_activities (Reverse
ForeignKeyfromAuditActivity) – All audit activities of this Environmental declaration (related name ofenvironmental_declaration)chart_comments (Reverse
ForeignKeyfromChartComment) – All chart comments of this Environmental declaration (related name ofenvironmental_declaration)supportive_documents (Reverse
ForeignKeyfromSupportiveDocument) – All supportive documents of this Environmental declaration (related name ofenvironmental_declaration)
- class registry.models.ManagedEnvironmentalDeclaration(id, created_at, updated_at, registration, owner, reviewer, active_from, active_until, lca_report_publication_date)¶
- 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
lca_report_publication_date (DateField) – LCA Report Publication Date
Relationship fields:
- Parameters
registration (
ForeignKeytoRegistration) – Registration (related name:environmental_declarations)owner (
ForeignKeytoDataOwner) – Owner (related name:environmentaldeclaration)reviewer (
ForeignKeytoReviewer) – Reviewer (related name:reviewed_declarations)
Reverse relationships:
- Parameters
legacyenvironmentaldeclaration (Reverse
OneToOneFieldfromLegacyEnvironmentalDeclaration) – The legacy environmental declaration of this Environmental declaration (related name ofenvironmentaldeclaration_ptr)legacymeelifterprofile (Reverse
ForeignKeyfromLegacyMeelifterProfile) – All Legacy Meelifter Profiles of this Environmental declaration (related name ofenvironmental_declaration)construction_product (Reverse
OneToOneFieldfromConstructionProduct) – The construction product of this Environmental declaration (related name ofenvironmental_declaration)environmental_profiles (Reverse
ForeignKeyfromEnvironmentalProfile) – All environmental profiles of this Environmental declaration (related name ofenvironmental_declaration)audit_status (Reverse
OneToOneFieldfromAuditStatus) – The audit status of this Environmental declaration (related name ofenvironmental_declaration)audit_activities (Reverse
ForeignKeyfromAuditActivity) – All audit activities of this Environmental declaration (related name ofenvironmental_declaration)chart_comments (Reverse
ForeignKeyfromChartComment) – All chart comments of this Environmental declaration (related name ofenvironmental_declaration)supportive_documents (Reverse
ForeignKeyfromSupportiveDocument) – All supportive documents 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 (
ForeignKeytoAccount) – Account (related name:registrations)
Reverse relationships:
- Parameters
legacyregistration (Reverse
OneToOneFieldfromLegacyRegistration) – The legacy registration of this Environmental declaration registration (related name ofregistration_ptr)environmental_declarations (Reverse
ForeignKeyfromEnvironmentalDeclaration) – All environmental declarations of this Environmental declaration registration (related name ofregistration)
- class registry.models.NlsfbSearch(id, code, title, slug)¶
- Parameters
id (BigAutoField) – Primary key: ID
code (CharField) – Code
title (CharField) – Title
slug (AutoSlugField) – Slug
- 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 (
ForeignKeytoAccount) – Account (related name:registrations)
Reverse relationships:
- Parameters
legacyregistration (Reverse
OneToOneFieldfromLegacyRegistration) – The legacy registration of this Environmental declaration registration (related name ofregistration_ptr)environmental_declarations (Reverse
ForeignKeyfromEnvironmentalDeclaration) – All environmental declarations of this Environmental declaration registration (related name ofregistration)
- class registry.models.RegistrationCategories(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶