Closed j4nos closed 7 years ago
Is Parent Entity supported. Tried to set superEntityName but it is not processed?!
Parent Entity
superEntityName
"entities": [{ "name": "Record", "attributes": [{ "name": "id", "type": "String" }] }, { "name": "Item", "superEntityName" : "Record",
In ObjectModelJsonParser there is a static class called Entity. It has superEntity field. Strange though from Json it does not read up value.
ObjectModelJsonParser
Entity
superEntity
static class Entity { String name; @SerializedName("extends") String superEntityName; List<Attribute> attributes; List<Relationship> relationships; List<EnumProperty> enums; }
For superEntity, the JSON field name is extends.
extends
Thanks, meantime figured out! 😊
Is
Parent Entity
supported. Tried to setsuperEntityName
but it is not processed?!In
ObjectModelJsonParser
there is a static class calledEntity
. It hassuperEntity
field. Strange though from Json it does not read up value.