brel.characteristics.typed_dimension_characteristic
This module contains the class for the typed dimension characteristic in Brel.
====================
- author: Robin Schmidiger
- version: 0.4
- date: 19 December 2023
====================
TypedDimensionCharacteristic Objects
class TypedDimensionCharacteristic(ICharacteristic)
Class for representing a typed dimension characteristic. A typed dimension characteristic assigns a dimension aspect a value. In Brel, the type of the value is omitted and the value is always a string.
get_aspect
def get_aspect() -> Aspect
Info: Both typed and explicit dimension characteristics are not core characteristics and therefore not available as attributes of the Aspect
class.
Returns:
Aspect
: the aspect of the explicit dimension characteristic.
get_value
def get_value() -> str
Returns:
str
: the value of the typed dimension characteristic as a string.
get_dimension
def get_dimension() -> Dimension
Info: this is not the same as calling get_aspect()
.
Returns:
Dimension
: the dimension of the typed dimension characteristic.