ENTITY week_of_year_and_day_date SUBTYPE OF (date); week_component : week_in_year_number; day_component : OPTIONAL day_in_week_number; END_ENTITY; -- week_of_year_and_day_date |
Entity data types and their attributesdateyear_component: year_number; week_of_year_and_day_date week_component: week_in_year_number; (OPT) day_component: day_in_week_number; |
Global rules for this entity data type- |
public interface EWeek_of_year_and_day_date extends EDateweek_component (explicit attribute)boolean testWeek_component(EWeek_of_year_and_day_date type)int getWeek_component(EWeek_of_year_and_day_date type) void setWeek_component(EWeek_of_year_and_day_date type, int value) void unsetWeek_component(EWeek_of_year_and_day_date type) day_component (explicit attribute)boolean testDay_component(EWeek_of_year_and_day_date type)int getDay_component(EWeek_of_year_and_day_date type) void setDay_component(EWeek_of_year_and_day_date type, int value) void unsetDay_component(EWeek_of_year_and_day_date type) |
public class CWeek_of_year_and_day_date implements EWeek_of_year_and_day_datestatic EAttribute attributeWeek_component(EWeek_of_year_and_day_date type)static EAttribute attributeDay_component(EWeek_of_year_and_day_date type) |
public class AWeek_of_year_and_day_date extends AEntitypublic EWeek_of_year_and_day_date getByIndex(int index)public EWeek_of_year_and_day_date getCurrentMember(SdaiIterator it) |