ENTITY date SUPERTYPE OF (ONEOF (calendar_date, ordinal_date, week_of_year_and_day_date, year_month)); year_component : year_number; END_ENTITY; -- date |
Entity data types and their attributesdateyear_component: year_number; |
calendar_date (DATE_TIME_SCHEMA) |
date_representation_item (BASIC_DATA_REPRESENTATION_MIM) |
ordinal_date (DATE_TIME_SCHEMA) |
week_of_year_and_day_date (DATE_TIME_SCHEMA) |
year_month (DATE_TIME_SCHEMA) |
Global rules for this entity data typedependent_instantiable_date (AUTOMOTIVE_DESIGN) |
public interface EDate extends EEntityyear_component (explicit attribute)boolean testYear_component(EDate type)int getYear_component(EDate type) void setYear_component(EDate type, int value) void unsetYear_component(EDate type) |
public class CDate implements EDatestatic EAttribute attributeYear_component(EDate type) |
public class ADate extends AEntitypublic EDate getByIndex(int index)public EDate getCurrentMember(SdaiIterator it) |