Skip to content

modules/db/entities/PYLINEERIFERIMENTO.py

Overview

This file contains 4 documented elements.

Classes

PYLINEERIFERIMENTO

No description available. Authors: Serena Sensini; Enzo Cocca enzo.ccc@gmail.com

A data model class representing a reference line entity, storing its associated site, definition, description, and geometry. It is initialized with five attributes — id, sito, definizion, descrizion, and the_geom — which are directly assigned as instance fields. The class exposes a __repr__ property that returns a formatted string representation of all five attributes.

Inherits from: object

Methods

init(self, id, sito, definizion, descrizion, the_geom)

__init__PYLINEERIFERIMENTO

Initializes a new instance of the PYLINEERIFERIMENTO class by assigning the provided arguments to their corresponding instance attributes. Accepts five parameters — id, sito, definizion, descrizion, and the_geom — and binds each directly to self. No validation, transformation, or default values are applied to any of the parameters.

repr(self)

No description available. A property that returns the official string representation of a PYLINEERIFERIMENTO instance. The returned string follows the format <PYLINEERIFERIMENTO('id','sito', 'definizion', 'descrizion', 'the_geom')>, embedding the instance's id, sito, definizion, descrizion, and the_geom fields. Note that this is implemented as a @property rather than a standard method.