ENTITY product_category_hierarchy SUBTYPE OF (product_category_relationship); SELF\product_category_relationship.category RENAMED super_category : product_category; DERIVE SELF\product_category_relationship.description : text := ?; SELF\product_category_relationship.name : label := ?; END_ENTITY; -- product_category_hierarchy |
Entity data types and their attributesproduct_category_relationshipname: label; (OPT) description: text; category: product_category; sub_category: product_category; product_category_hierarchy (RT) category->super_category: product_category; (RT) (DER) description: text; (RT) (DER) name: label; |
Global rules for this entity data type- |
public interface EProduct_category_hierarchy extends EProduct_category_relationship |
public class CProduct_category_hierarchy implements EProduct_category_hierarchystatic EAttribute attributeDescription(EProduct_category_hierarchy type)static EAttribute attributeName(EProduct_category_hierarchy type) |
public class AProduct_category_hierarchy extends AEntitypublic EProduct_category_hierarchy getByIndex(int index)public EProduct_category_hierarchy getCurrentMember(SdaiIterator it) |