[FLOW3-general] Extending a model
Dawid Pacholczyk
dpacholczyk at gmail.com
Sun Mar 13 14:54:08 CET 2011
Hello List,
I`m wondering on one thing
For example I have to simillar models
Person, Boss (lets not think about the best way of designing it but just
on the problem :) )
Person and Boss can be grouped in People group OR Boss can EXTEND Person
object
For example I would create a model Person with attributes: name, surname
And I would like to create a Boss object with attributes: name, surname,
region
Both objects are simillar so normaly I would do something like this
class Boss extends Person {
protected region;
}
That way I don`t need to copy attributes.
How should I manage this in FLOW3 ?
Best regards,
Dawid Pacholczyk
More information about the FLOW3-general
mailing list