Class inheritance in AE Datastore


#1

Could someone explain how the class inheritance mechanism works ? Could it be used to create some kind of abstract classes ?


#2

Class inheritance means that you inherit all of the parent classes methods and attributes.


#3

Well a class can have other types of fields : relationship, state, etc… I guess they are also inherited, ain’t they ?

My concern is more about field ordering. When you create a state machine, it is a class with ordered steps (either states or relationships) and the order is key to the behaviour of your state machine. How it it taken in account with inheritance ?


Generic objects in AE Model
#4

A quick test tends to show that order the daughter class concatenates its fields after those from the mother class. So if one want to extend the AE model, it has to be considered.