I have the following classes:

Entity (the main one)
Person (Extends Entity)
Customer (Extends Entity)
Employee (Extends Person)

What I want, and is happening, is when I create a record under Employee it goes to Entity as well when a Customer or Person is created.

How can I see (looking to Entity) what kind of type is it ? (Person, Customer, etc..)

TIA

Rgrds

Nuno




Reply via email to