labs4capella / python4capella

Python for Capella
Eclipse Public License 2.0
52 stars 10 forks source link

Remove get_class methods #17

Open Aurelien-Pin opened 3 years ago

Aurelien-Pin commented 3 years ago

Python API defines some methods "get_class" which are not defined in the Capella simplified metamodel. Impacted elements are (at least those which appear in the test report): BehaviorPC LogicalActor LogicalComponent NodePC Operand Operation OperationalActor OperationalEntity PhysicalActor PhysicalComponent REC RPL

ylussaud commented 3 years ago

The string "get_class" doesn't appears anymore in the test report. This method is a static method defined in the EObject class to retrieve a Python class form a Java EClass. It's needed, but we could move it somewhere else.