ENTITY resource_event ABSTRACT SUPERTYPE SUBTYPE OF (action); quantity : OPTIONAL measure_with_unit; resource : managed_resource; DERIVE SELF\action.chosen_method : action_method := ?; END_ENTITY; -- resource_event |
Entity data types and their attributesactionname: label; (OPT) description: text; chosen_method: action_method; (DER) id: identifier; resource_event (OPT) quantity: measure_with_unit; resource: managed_resource; (RT) (DER) chosen_method: action_method; |
decreasing_resource_event (RESOURCE_MANAGEMENT_XIM) |
increasing_resource_event (RESOURCE_MANAGEMENT_XIM) |
Global rules for this entity data type- |
public interface EResource_event extends EActionquantity (explicit attribute)boolean testQuantity(EResource_event type)EMeasure_with_unit getQuantity(EResource_event type) void setQuantity(EResource_event type, EMeasure_with_unit value) void unsetQuantity(EResource_event type) resource (explicit attribute)boolean testResource(EResource_event type)EManaged_resource getResource(EResource_event type) void setResource(EResource_event type, EManaged_resource value) void unsetResource(EResource_event type) |
public class CResource_event implements EResource_eventstatic EAttribute attributeQuantity(EResource_event type)static int usedinQuantity(EResource_event type, EMeasure_with_unit instance, ASdaiModel domain, AResource_event result) static EAttribute attributeResource(EResource_event type) static int usedinResource(EResource_event type, EManaged_resource instance, ASdaiModel domain, AResource_event result) static EAttribute attributeChosen_method(EResource_event type) static int usedinChosen_method(EResource_event type, EAction_method instance, ASdaiModel domain, AResource_event result) |
public class AResource_event extends AEntitypublic EResource_event getByIndex(int index)public EResource_event getCurrentMember(SdaiIterator it) |