Closed kortef closed 6 years ago
A method getWholeAttributes (Entity) has been added in OcciHelper. It allows to retreive the different attributes of an entity as well as its mixinbases ones. commit d3de2476107c5e84b62ff3f75179e9f441e77aab resolves this issue.
Currently an
Entity
has a methodgetAttributes()
which returns allAttributeState
s that belong to theEntity
itself. To additionally retrieve allAttributeState
s that are defined by theMixinBase
s belonging to theEntity
, one has to retrieve theMixinBase
s first and then collect all theirAttributeState
s.For convenience, I suggest to add another method for
Entity
, e.g.,getAllAttributes()
that returns a combined list comprising theAttributeState
s that are part of theEntity
AND those that are part of itsMixinBase
s.