ENTITY relative_event_occurrence SUBTYPE OF (event_occurrence); base_event : event_occurrence; offset : time_measure_with_unit; END_ENTITY; -- relative_event_occurrence |
Entity data types and their attributesevent_occurrenceid: identifier; name: label; (OPT) description: text; relative_event_occurrence base_event: event_occurrence; offset: time_measure_with_unit; |
Global rules for this entity data typeevent_occurrence_requires_event_occurrence_assignment (AUTOMOTIVE_DESIGN) |
public interface ERelative_event_occurrence extends EEvent_occurrencebase_event (explicit attribute)boolean testBase_event(ERelative_event_occurrence type)EEvent_occurrence getBase_event(ERelative_event_occurrence type) void setBase_event(ERelative_event_occurrence type, EEvent_occurrence value) void unsetBase_event(ERelative_event_occurrence type) offset (explicit attribute)boolean testOffset(ERelative_event_occurrence type)ETime_measure_with_unit getOffset(ERelative_event_occurrence type) void setOffset(ERelative_event_occurrence type, ETime_measure_with_unit value) void unsetOffset(ERelative_event_occurrence type) |
public class CRelative_event_occurrence implements ERelative_event_occurrencestatic EAttribute attributeBase_event(ERelative_event_occurrence type)static int usedinBase_event(ERelative_event_occurrence type, EEvent_occurrence instance, ASdaiModel domain, ARelative_event_occurrence result) static EAttribute attributeOffset(ERelative_event_occurrence type) static int usedinOffset(ERelative_event_occurrence type, ETime_measure_with_unit instance, ASdaiModel domain, ARelative_event_occurrence result) |
public class ARelative_event_occurrence extends AEntitypublic ERelative_event_occurrence getByIndex(int index)public ERelative_event_occurrence getCurrentMember(SdaiIterator it) |