ENTITY classification_attribute SUBTYPE OF (property_definition); id_x : STRING; allowed_values : OPTIONAL SET [1:?] OF measure_representation_item; SELF\property_definition.definition RENAMED characterized_class : class_with_attributes; attribute_definition : general_property; DERIVE SELF\property_definition.id : identifier := id_x; END_ENTITY; -- classification_attribute |
Entity data types and their attributesproperty_definitionname: label; (OPT) description: text; definition: characterized_definition; (DER) id: identifier; classification_attribute id_x: STRING; (OPT) allowed_values: SET [1:?] OF measure_representation_item; (RT) definition->characterized_class: class_with_attributes; attribute_definition: general_property; (RT) (DER) id: identifier; |
Global rules for this entity data type- |
public interface EClassification_attribute extends EProperty_definitionid_x (explicit attribute)boolean testId_x(EClassification_attribute type)String getId_x(EClassification_attribute type) void setId_x(EClassification_attribute type, String value) void unsetId_x(EClassification_attribute type) allowed_values (explicit attribute)boolean testAllowed_values(EClassification_attribute type)AMeasure_representation_item getAllowed_values(EClassification_attribute type) AMeasure_representation_item createAllowed_values(EClassification_attribute type) void unsetAllowed_values(EClassification_attribute type) attribute_definition (explicit attribute)boolean testAttribute_definition(EClassification_attribute type)EGeneral_property getAttribute_definition(EClassification_attribute type) void setAttribute_definition(EClassification_attribute type, EGeneral_property value) void unsetAttribute_definition(EClassification_attribute type) |
public class CClassification_attribute implements EClassification_attributestatic EAttribute attributeId_x(EClassification_attribute type)static EAttribute attributeAllowed_values(EClassification_attribute type) static int usedinAllowed_values(EClassification_attribute type, EMeasure_representation_item instance, ASdaiModel domain, AClassification_attribute result) static EAttribute attributeAttribute_definition(EClassification_attribute type) static int usedinAttribute_definition(EClassification_attribute type, EGeneral_property instance, ASdaiModel domain, AClassification_attribute result) static EAttribute attributeId(EClassification_attribute type) |
public class AClassification_attribute extends AEntitypublic EClassification_attribute getByIndex(int index)public EClassification_attribute getCurrentMember(SdaiIterator it) |