ENTITY union; id : identifier; name : label; description : OPTIONAL text; operand : SET [2:?] OF class; resultant : class; END_ENTITY; -- union |
Entity data types and their attributesunionid: identifier; name: label; (OPT) description: text; operand: SET [2:?] OF class; resultant: class; |
Usersunion |
Global rules for this entity data type- |
public interface EUnion extends EEntityid (explicit attribute)boolean testId(EUnion type)String getId(EUnion type) void setId(EUnion type, String value) void unsetId(EUnion type) name (explicit attribute)boolean testName(EUnion type)String getName(EUnion type) void setName(EUnion type, String value) void unsetName(EUnion type) description (explicit attribute)boolean testDescription(EUnion type)String getDescription(EUnion type) void setDescription(EUnion type, String value) void unsetDescription(EUnion type) operand (explicit attribute)boolean testOperand(EUnion type)AClass getOperand(EUnion type) AClass createOperand(EUnion type) void unsetOperand(EUnion type) resultant (explicit attribute)boolean testResultant(EUnion type)EClass getResultant(EUnion type) void setResultant(EUnion type, EClass value) void unsetResultant(EUnion type) |
public class CUnion implements EUnionstatic EAttribute attributeId(EUnion type)static EAttribute attributeName(EUnion type) static EAttribute attributeDescription(EUnion type) static EAttribute attributeOperand(EUnion type) static int usedinOperand(EUnion type, EClass instance, ASdaiModel domain, AUnion result) static EAttribute attributeResultant(EUnion type) static int usedinResultant(EUnion type, EClass instance, ASdaiModel domain, AUnion result) |
public class AUnion extends AEntitypublic EUnion getByIndex(int index)public EUnion getCurrentMember(SdaiIterator it) |