DataSection
dataclass
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/__init__.py
ModelData = field(default_factory=list, metadata={'type': 'Elements', 'choices': ({'name': 'ModelData', 'type': Imd_ModelData, 'namespace': imd_namespace_map['IlisMeta16']})})
class-attribute
instance-attribute
ModelTranslation = field(default_factory=list, metadata={'type': 'Elements', 'choices': ({'name': 'ModelTranslation', 'type': Imd_ModelTranslation, 'namespace': imd_namespace_map['IlisMeta16']})})
class-attribute
instance-attribute
__init__(*, ModelData=list(), ModelTranslation=list())
ImdTransfer
dataclass
Bases: Transfer
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/__init__.py
datasection = field(metadata={'namespace': imd_namespace_map['ili']})
class-attribute
instance-attribute
__init__(headersection, *, datasection)
helper
index_modeldata(transfer)
Little helper method to perform the indexing of the metamodel information in an easy-to-use one dimensional tree. Args: transfer: The full metamodel tree of dataclass objects which should be indexed.
Returns: The index containing the already resolved references between the dataclass objects.
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/helper.py
resolve_references(index)
Little helper method to resolve references in the index based on the REF elements.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
index
|
dict
|
The index with all the elements identifiable by their unique key. |
required |
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/helper.py
unwrap_tree(element, index)
A little helper method to assemble a one dimensional index with the elements unique identifiers tid as the key.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
index
|
dict
|
the dictionary which should be filled with the elements. |
required |
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/helper.py
model_data
abstract_element
AbstractElement
dataclass
DocTextElement
dataclass
Bases: AbstractElement
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/abstract_element.py
Name = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Text = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(Text, Name=None)
Ili1FormatElement
dataclass
Bases: AbstractElement
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/abstract_element.py
Font = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
LineSize = field(default=None, metadata={'type': 'Attribute', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
blankCode = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
continueCode = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
isFree = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
tidExplanation = field(default=None, metadata={'type': 'Attribute', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
tidKind = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
tidSize = field(default=None, metadata={'type': 'Attribute', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
undefinedCode = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
TidKind
Bases: StrEnum
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/abstract_element.py
TID_ANY = auto()
class-attribute
instance-attribute
TID_EXPLANATION = auto()
class-attribute
instance-attribute
TID_I16 = auto()
class-attribute
instance-attribute
TID_I32 = auto()
class-attribute
instance-attribute
__init__(isFree, blankCode, undefinedCode, continueCode, Font, tidKind, LineSize=None, tidSize=None, tidExplanation=None)
MetaAttributeElement
dataclass
Bases: HasRef, AbstractElement
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/abstract_element.py
MetaElement_ref = field(metadata={'name': 'MetaElement', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Name = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Value = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
tid = field(metadata={'type': 'Attribute', 'namespace': imd_namespace_map['ili']})
class-attribute
instance-attribute
__init__(Name, Value, tid, MetaElement_ref)
constraints
Constraint
dataclass
Bases: MetaElement
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/constraints.py
ToClass_ref = field(metadata={'name': 'ToClass', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(ToClass_ref, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None)
SimpleConstraint
dataclass
Bases: Constraint
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/constraints.py
Kind = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
LogicalExpression = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Percentage = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
KindEnum
Bases: StrEnum
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/constraints.py
HighPercC = auto()
class-attribute
instance-attribute
LowPercC = auto()
class-attribute
instance-attribute
MandC = auto()
class-attribute
instance-attribute
__init__(ToClass_ref, Kind=None, LogicalExpression=None, Percentage=None, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None)
extendable_me
extendable_me
AttrOrParam
dataclass
Bases: ExtendableMe
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/extendable_me.py
AttrParent_ref = field(default=None, metadata={'name': 'AttrParent', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Derivates = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
ParamParent_ref = field(default=None, metadata={'name': 'ParamParent', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
SubdivisionKind = None
class-attribute
instance-attribute
Transient = None
class-attribute
instance-attribute
Type_ref = field(metadata={'name': 'Type', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
SubdivisionKindEnum
Bases: StrEnum
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/extendable_me.py
ContSubDiv = auto()
class-attribute
instance-attribute
NoSubDiv = auto()
class-attribute
instance-attribute
SubDiv = auto()
class-attribute
instance-attribute
__init__(Type_ref, SubdivisionKind=None, Transient=None, Derivates=list(), AttrParent_ref=None, ParamParent_ref=None, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None)
DataUnit
dataclass
Bases: ExtendableMe
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/extendable_me.py
DataUnitName = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
ViewUnit = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
name = 'BASKET'
class-attribute
instance-attribute
__init__(ViewUnit, DataUnitName, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None)
EnumNode
dataclass
Bases: ExtendableMe
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/extendable_me.py
EnumType_ref = field(default=None, metadata={'name': 'EnumType', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
ParentNode_ref = field(default=None, metadata={'name': 'ParentNode', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(EnumType_ref=None, ParentNode_ref=None, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None)
ExtendableMe
dataclass
Bases: MetaElement
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/extendable_me.py
Abstract = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Final = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Generic = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Super_ref = field(default=None, metadata={'name': 'Super', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(*, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None)
Unit
dataclass
Bases: ExtendableMe
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/extendable_me.py
Kind = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
KindEnum
Bases: StrEnum
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/extendable_me.py
BaseU = auto()
class-attribute
instance-attribute
ComposedU = auto()
class-attribute
instance-attribute
DerivedU = auto()
class-attribute
instance-attribute
__init__(Kind, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None)
type
domain_type
class_related_type
class_related_type
ClassRefType
dataclass
Bases: ClassRelatedType
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/class_related_type/class_related_type.py
__init__(*, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory)
ClassRelatedType
dataclass
Bases: DomainType
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/class_related_type/class_related_type.py
__init__(*, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory)
ObjectType
dataclass
Bases: ClassRelatedType
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/class_related_type/class_related_type.py
Multiple = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(Multiple, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory)
ReferenceType
dataclass
Bases: ClassRelatedType
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/class_related_type/class_related_type.py
External = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(External, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory)
role
Role
dataclass
Bases: ReferenceType
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/class_related_type/role.py
Association_ref = field(metadata={'name': 'Association', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
EmbeddedTransfer = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Multiplicity = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Ordered = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Strongness = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
StrongnessEnum
Bases: StrEnum
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/class_related_type/role.py
Aggr = auto()
class-attribute
instance-attribute
Assoc = auto()
class-attribute
instance-attribute
Comp = auto()
class-attribute
instance-attribute
_Multiplicity
dataclass
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/class_related_type/role.py
Multiplicity = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(Multiplicity=None)
__init__(External, Strongness, Ordered, EmbeddedTransfer, Association_ref, Multiplicity=None, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory)
domain_type
AxisSpec
dataclass
Bases: HasRef
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
Axis_ref = field(metadata={'name': 'Axis', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
CoordType_ref = field(metadata={'name': 'CoordType', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(CoordType_ref, Axis_ref)
BlackboxType
dataclass
Bases: DomainType
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
Kind = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
KindEnum
Bases: StrEnum
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
Binary = auto()
class-attribute
instance-attribute
Xml = auto()
class-attribute
instance-attribute
__init__(Kind, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory)
BooleanType
dataclass
Bases: DomainType
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
__init__(*, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory)
CoordType
dataclass
Bases: DomainType
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
Multi = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
NullAxis = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
PiHalfAxis = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(NullAxis=None, PiHalfAxis=None, Multi=None, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory)
DomainType
dataclass
Bases: Type
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
Mandatory = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(*, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory)
EnumType
dataclass
Bases: DomainType
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
Order = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
OrderEnum
Bases: StrEnum
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
Circular = auto()
class-attribute
instance-attribute
Ordered = auto()
class-attribute
instance-attribute
Unordered = auto()
class-attribute
instance-attribute
__init__(Order, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory)
FormattedType
dataclass
Bases: NumType
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
Format = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Struct_ref = field(metadata={'name': 'Struct', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(*, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory, Min=None, Max=None, Circular=None, Clockwise=None, Unit_ref=None, Format, Struct_ref)
LineType
dataclass
Bases: DomainType
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
CoordType_ref = field(default=None, metadata={'name': 'CoordType', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Kind = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
MaxOverlap = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Multi = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
KindEnum
Bases: StrEnum
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
Area = auto()
class-attribute
instance-attribute
DirectedPolyline = auto()
class-attribute
instance-attribute
Polyline = auto()
class-attribute
instance-attribute
__init__(Kind, MaxOverlap=None, Multi=None, CoordType_ref=None, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory)
MultiValue
dataclass
Bases: TypeRelatedType
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
Multiplicity = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Ordered = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
_Multiplicity
dataclass
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
Multiplicity = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(Multiplicity=None)
__init__(BaseType_ref, Ordered, Multiplicity=None, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory)
NumType
dataclass
Bases: DomainType, HasRef
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
Circular = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Clockwise = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Max = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Min = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Unit_ref = field(default=None, metadata={'name': 'Unit', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(*, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory, Min=None, Max=None, Circular=None, Clockwise=None, Unit_ref=None)
TextType
dataclass
Bases: DomainType
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
Kind = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
MaxLength = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
KindEnum
Bases: StrEnum
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
MText = auto()
class-attribute
instance-attribute
Name = auto()
class-attribute
instance-attribute
Text = auto()
class-attribute
instance-attribute
Uri = auto()
class-attribute
instance-attribute
__init__(Kind, MaxLength=None, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory)
TypeRelatedType
dataclass
Bases: DomainType, HasRef
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/domain_type/domain_type.py
BaseType_ref = field(metadata={'name': 'BaseType', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(BaseType_ref, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None, Mandatory)
expression
expression
CompoundExpr
dataclass
Bases: Expression
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/expression/expression.py
Operation = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
OperationEnum
Bases: StrEnum
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/expression/expression.py
And = 'And'
class-attribute
instance-attribute
Div = 'Div'
class-attribute
instance-attribute
Implication = 'Implication'
class-attribute
instance-attribute
Mult = 'Mult'
class-attribute
instance-attribute
Or = 'Or'
class-attribute
instance-attribute
Relation_Equal = 'Relation.Equal'
class-attribute
instance-attribute
Relation_Greater = 'Relation.Greater'
class-attribute
instance-attribute
Relation_GreaterOrEqual = 'Relation.GreaterOrEqual'
class-attribute
instance-attribute
Relation_Less = 'Relation.Less'
class-attribute
instance-attribute
Relation_LessOrEqual = 'Relation.LessOrEqual'
class-attribute
instance-attribute
Relation_NotEqual = 'Relation.NotEqual'
class-attribute
instance-attribute
__init__(Operation=None)
Expression
dataclass
UnaryExpr
dataclass
Bases: Expression
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/expression/expression.py
Operation = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
SubExpressions = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
OperationEnum
Bases: StrEnum
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/expression/expression.py
Defined = auto()
class-attribute
instance-attribute
Not = auto()
class-attribute
instance-attribute
__init__(Operation, SubExpressions)
factor
factor
Constant
dataclass
Bases: Factor
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/expression/factor/factor.py
Type
instance-attribute
Value
instance-attribute
TypeKind
Bases: StrEnum
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/expression/factor/factor.py
Enumeration = 'Enumeration'
class-attribute
instance-attribute
Numeric = 'Numeric'
class-attribute
instance-attribute
Text = 'Text'
class-attribute
instance-attribute
Undefined = 'Undefined'
class-attribute
instance-attribute
__init__(Value, Type)
Factor
dataclass
Bases: Expression
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/expression/factor/factor.py
__init__()
PathOrInspFactor
dataclass
UnitFunction
dataclass
UnitRef
dataclass
Bases: Factor
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/expression/factor/factor.py
Unit_ref = field(metadata={'name': 'Unit'})
class-attribute
instance-attribute
__init__(Unit_ref)
type_class
BaseClass
dataclass
Bases: HasRef
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/type_class.py
BaseClass_ref = field(metadata={'name': 'BaseClass', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
CRT_ref = field(metadata={'name': 'CRT', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(CRT_ref, BaseClass_ref)
Class
dataclass
Bases: Type
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/type_class.py
EmbeddedRoleTransfer = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Kind = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Multiplicity = field(default=None, metadata={'type': 'Attribute', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Oid_ref = field(default=None, metadata={'name': 'Oid', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
ili1OptionalTable = field(default=None, metadata={'type': 'Attribute', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
KindEnum
Bases: StrEnum
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/type_class.py
Association = auto()
class-attribute
instance-attribute
Class = auto()
class-attribute
instance-attribute
Structure = auto()
class-attribute
instance-attribute
View = auto()
class-attribute
instance-attribute
_Multiplicity
dataclass
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/type_class.py
multiplicity = field(default=None, metadata={'name': 'LTParent', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(multiplicity=None)
__init__(Kind, EmbeddedRoleTransfer, ili1OptionalTable=None, Multiplicity=None, Oid_ref=None, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None)
Type
dataclass
Bases: ExtendableMe
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/extendable_me/type/type_class.py
LTParent_ref = field(default=None, metadata={'name': 'LTParent', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(*, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None, Abstract, Final, Super_ref=None, Generic=None, LTParent_ref=None)
line_form
LineForm
dataclass
Bases: MetaElement
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/line_form.py
Structure_ref = field(metadata={'name': 'Structure', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(Structure_ref, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None)
LinesForm
dataclass
Bases: HasRef
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/line_form.py
LineForm_ref = field(metadata={'name': 'LineForm', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
LineType_ref = field(metadata={'name': 'LineType', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(LineType_ref, LineForm_ref)
meta_element
MetaElement
dataclass
Bases: HasRef, AbstractElement
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/meta_element.py
Documentation = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
ElementInPackage_ref = field(default=None, metadata={'name': 'ElementInPackage'})
class-attribute
instance-attribute
MetaAttribute = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Name = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
tid = field(metadata={'type': 'Attribute', 'namespace': imd_namespace_map['ili']})
class-attribute
instance-attribute
_Documentation
dataclass
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/meta_element.py
DocText = field(metadata={'name': 'DocText', 'type': 'Element', 'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(DocText)
__init__(*, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None)
model_data
ModelDataType
dataclass
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/model_data.py
AttrOrParam = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
AxisSpec = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
BaseClass = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
BlackboxType = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
BooleanType = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Class = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
ClassRefType = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
CoordType = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
DataUnit = None
class-attribute
instance-attribute
EnumNode = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
EnumType = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
FormattedType = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
LineForm = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
LineType = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
LinesForm = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
MetaAttribute = field(default_factory=list)
class-attribute
instance-attribute
Model = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
MultiValue = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
NumType = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
ObjectType = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
ReferenceType = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Role = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
SimpleConstraint = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
SubModel = field(default_factory=list)
class-attribute
instance-attribute
TextType = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Unit = field(default_factory=list, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
bid = field(metadata={'type': 'Attribute', 'namespace': imd_namespace_map['ili']})
class-attribute
instance-attribute
consistency = field(default=None, metadata={'type': 'Attribute', 'namespace': imd_namespace_map['ili']})
class-attribute
instance-attribute
__init__(bid, Model, SubModel=list(), DataUnit=None, MetaAttribute=list(), consistency=None, Class=list(), AttrOrParam=list(), TextType=list(), EnumNode=list(), EnumType=list(), NumType=list(), AxisSpec=list(), CoordType=list(), BaseClass=list(), ObjectType=list(), ClassRefType=list(), MultiValue=list(), BooleanType=list(), FormattedType=list(), LinesForm=list(), LineType=list(), LineForm=list(), Role=list(), SimpleConstraint=list(), ReferenceType=list(), BlackboxType=list(), Unit=list())
package
package
Model
dataclass
Bases: Package
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/package/package.py
At = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
CharSetIANAName = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Contracted = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Kind = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Language = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
NoIncrementalTransfer = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
Version = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
ili1Format = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
ili1Transfername = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
iliVersion = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
xmlns = field(default=None, metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
KindEnum
Bases: StrEnum
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/package/package.py
NormalM = auto()
class-attribute
instance-attribute
RefSystemM = auto()
class-attribute
instance-attribute
SymbologyM = auto()
class-attribute
instance-attribute
TypeM = auto()
class-attribute
instance-attribute
_Ili1Format
dataclass
__init__(iliVersion, Kind, Contracted=None, Language=None, At=None, Version=None, NoIncrementalTransfer=None, CharSetIANAName=None, xmlns=None, ili1Transfername=None, ili1Format=None, *, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None)
Package
dataclass
Bases: MetaElement
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/package/package.py
__init__(*, Name, tid, Documentation=list(), MetaAttribute=list(), ElementInPackage_ref=None)
SubModel
dataclass
path_elements
PathElElement
dataclass
Bases: HasRef
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/path_elements.py
Kind
instance-attribute
NumIndex = None
class-attribute
instance-attribute
Ref_ref = field(default=None, metadata={'name': 'Ref'})
class-attribute
instance-attribute
KindEnum
Bases: StrEnum
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/path_elements.py
AssocPath = auto()
class-attribute
instance-attribute
Attribute = auto()
class-attribute
instance-attribute
MetaObject = auto()
class-attribute
instance-attribute
Parent = auto()
class-attribute
instance-attribute
ReferenceAttr = auto()
class-attribute
instance-attribute
Role = auto()
class-attribute
instance-attribute
ThatArea = auto()
class-attribute
instance-attribute
This = auto()
class-attribute
instance-attribute
ThisArea = auto()
class-attribute
instance-attribute
ViewBase = auto()
class-attribute
instance-attribute
__init__(Kind, NumIndex=None, Ref_ref=None)
PathElsElement
dataclass
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/path_elements.py
PathEl = field(default_factory=list)
class-attribute
instance-attribute
__init__(PathEl=list())
PathOrInspFactorElement
dataclass
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/path_elements.py
PathOrInspFactor = field(metadata={'namespace': imd_namespace_map['IlisMeta16']})
class-attribute
instance-attribute
__init__(PathOrInspFactor)
references
log = logging.getLogger(__name__)
module-attribute
HasRef
Abstract base class which is used to implement decent behaviour on desired subclasses.
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/references.py
resolve_refs(index)
References the actual object based on the unique identifier in the index. It is based currently
on a naming pattern. The attribute to be referenced has to be of type Ref and its name has to
end with _ref. Lets assume the attribute name is Type_ref. This method then installs a new
runtime attribute Type at self. In addition it installs a new runtime attribute at the referenced
object in our example that would be Type_backref. If this attribute does not exists already.
This is currently always a list which is filled with the back referenced objects.
TODO: handle multilevel references (currently we go only one level deep) TODO: handle multiplicity m:n, 1:1, 1:n, etc
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
index
|
dict
|
The index containing all potential referencable objects. |
required |
Source code in .venv/lib/python3.13/site-packages/ili2py/interfaces/interlis/interlis_24/ilismeta16/model_data/references.py
OrderedRef
dataclass
Bases: Ref