Entity supertype behavior changes
PolicyCenter
changed how Gosu handles supertypes in the entity type information property
Supertype. This is the
property accessed with an entity type such as Address.Type.Supertype or with
an entity instance as myObj.IntrinsicType.Supertype.
In version 8.0:
- If an entity has a supertype,
the
Supertypeproperty is the supertype entity as typegw.entity.IEntityType. - If an entity has no supertype,
the
Supertypeproperty isnull.
In version 9.0:
- If an entity has a supertype,
the
Supertypeproperty is the supertype entity as typegw.lang.reflect.IType. - If an entity has no supertype,
the
Supertypeproperty isjava.lang.Object.
If you want the version 8.0 behavior, change your
code to use the new property Supertype_Entity
instead of Supertype.
This new property is intended only for upgrading existing code. Do not
use it for new code.
