On Sep 18, 2011, at 18:28 , Stéphane Ducasse wrote:
We have
MooseElement defines the minimal interface of an entity
Proposition:
MooseElement defines the minimal interface of an entity: any moose entity should answer
its mooseID, its mooseName and its mooseModel.
A mooseID is an Integer that uniquely identifies this entity within the entire Moose
environment.
It should not change nor be nil.
It is generated automatically during the creation of the MooseEntity.
The mooseModel of an entity is must be an instance of MooseModel. It may be nil if the
entity is not part of a model.
Each entity belongs to one and only one model, if an entity has not yet been added to a
model or if an entity has been removed from a model
the mooseModel is undefined, that is it may be nil.
An entity mooseName result a string version of the mooseID.
No, it returns the name of the entity, or the symbol #noname.
Jannik
Please comment.
Stef
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev