ENTITY pitch_class SUBTYPE OF (representation); class_member : range_characteristic_armx; class_name : STRING; DERIVE SELF\representation.description : text := class_name; SELF\representation.items : SET [1:?] OF representation_item := ?; SELF\representation.context_of_items : representation_context := ?; SELF\representation.name : label := ?; WHERE wr1: SIZEOF(QUERY(np <* class_member\Representation.items | NOT ('VALUE_WITH_UNIT_EXTENSION_XIM.LENGTH_MEASURE_WITH_UNIT' IN TYPEOF(np)))) = 0; END_ENTITY; -- pitch_class |
Entity data types and their attributesrepresentationname: label; items: SET [1:?] OF representation_item; context_of_items: representation_context; (DER) id: identifier; (DER) description: text; pitch_class class_member: range_characteristic_armx; class_name: STRING; (RT) (DER) description: text; (RT) (DER) items: SET [1:?] OF representation_item; (RT) (DER) context_of_items: representation_context; (RT) (DER) name: label; |
Global rules for this entity data type- |
public interface EPitch_class extends ERepresentationclass_member (explicit attribute)boolean testClass_member(EPitch_class type)ERange_characteristic_armx getClass_member(EPitch_class type) void setClass_member(EPitch_class type, ERange_characteristic_armx value) void unsetClass_member(EPitch_class type) class_name (explicit attribute)boolean testClass_name(EPitch_class type)String getClass_name(EPitch_class type) void setClass_name(EPitch_class type, String value) void unsetClass_name(EPitch_class type) |
public class CPitch_class implements EPitch_classstatic EAttribute attributeClass_member(EPitch_class type)static int usedinClass_member(EPitch_class type, ERange_characteristic_armx instance, ASdaiModel domain, APitch_class result) static EAttribute attributeClass_name(EPitch_class type) static EAttribute attributeDescription(EPitch_class type) static EAttribute attributeItems(EPitch_class type) static int usedinItems(EPitch_class type, ERepresentation_item instance, ASdaiModel domain, APitch_class result) static EAttribute attributeContext_of_items(EPitch_class type) static int usedinContext_of_items(EPitch_class type, ERepresentation_context instance, ASdaiModel domain, APitch_class result) static EAttribute attributeName(EPitch_class type) |
public class APitch_class extends AEntitypublic EPitch_class getByIndex(int index)public EPitch_class getCurrentMember(SdaiIterator it) |