ENTITY specification_expression SUBTYPE OF (conditional_concept_feature); operation : expression_operator; operand : SET [1:?] OF specification_operand_select; DERIVE SELF\conditional_concept_feature.condition : concept_feature_relationship_with_condition := ?; WHERE wr1: (operation <> not_operator) OR (SIZEOF(operand)=1); END_ENTITY; -- specification_expression |
Entity data types and their attributesproduct_concept_featureid: identifier; name: label; (OPT) description: text; conditional_concept_feature condition: concept_feature_relationship_with_condition; specification_expression operation: expression_operator; operand: SET [1:?] OF specification_operand_select; (RT) (DER) condition: concept_feature_relationship_with_condition; |
Global rules for this entity data type- |
public interface ESpecification_expression extends EConditional_concept_featureoperation (explicit attribute)boolean testOperation(ESpecification_expression type)int getOperation(ESpecification_expression type) void setOperation(ESpecification_expression type, int value) void unsetOperation(ESpecification_expression type) operand (explicit attribute)boolean testOperand(ESpecification_expression type)ASpecification_operand_select getOperand(ESpecification_expression type) ASpecification_operand_select createOperand(ESpecification_expression type) void unsetOperand(ESpecification_expression type) |
public class CSpecification_expression implements ESpecification_expressionstatic EAttribute attributeOperation(ESpecification_expression type)static EAttribute attributeOperand(ESpecification_expression type) static int usedinOperand(ESpecification_expression type, EEntity instance, ASdaiModel domain, ASpecification_expression result) static EAttribute attributeCondition(ESpecification_expression type) static int usedinCondition(ESpecification_expression type, EConcept_feature_relationship_with_condition instance, ASdaiModel domain, ASpecification_expression result) |
public class ASpecification_expression extends AEntitypublic ESpecification_expression getByIndex(int index)public ESpecification_expression getCurrentMember(SdaiIterator it) |