ENTITY resource_as_realized SUBTYPE OF (action_resource); quantity : OPTIONAL measure_with_unit; DERIVE SELF\action_resource.usage : SET [1:?] OF supported_item := ?; END_ENTITY; -- resource_as_realized |
Entity data types and their attributesaction_resourcename: label; (OPT) description: text; usage: SET [1:?] OF supported_item; kind: action_resource_type; resource_as_realized (OPT) quantity: measure_with_unit; (RT) (DER) usage: SET [1:?] OF supported_item; |
resource_as_realized_resource_item (RESOURCE_AS_REALIZED_XIM) |
Global rules for this entity data type- |
public interface EResource_as_realized extends EAction_resourcequantity (explicit attribute)boolean testQuantity(EResource_as_realized type)EMeasure_with_unit getQuantity(EResource_as_realized type) void setQuantity(EResource_as_realized type, EMeasure_with_unit value) void unsetQuantity(EResource_as_realized type) |
public class CResource_as_realized implements EResource_as_realizedstatic EAttribute attributeQuantity(EResource_as_realized type)static int usedinQuantity(EResource_as_realized type, EMeasure_with_unit instance, ASdaiModel domain, AResource_as_realized result) static EAttribute attributeUsage(EResource_as_realized type) static int usedinUsage(EResource_as_realized type, EEntity instance, ASdaiModel domain, AResource_as_realized result) |
public class AResource_as_realized extends AEntitypublic EResource_as_realized getByIndex(int index)public EResource_as_realized getCurrentMember(SdaiIterator it) |