ENTITY value_domain; its_values : LIST [2:?] OF dic_value; source_doc_of_value_domain : OPTIONAL document; languages : OPTIONAL present_translations; terms : LIST [0:?] OF item_names; WHERE wr1: NOT EXISTS(languages) OR (QUERY(v <* its_values | languages :<>: v.meaning.languages) = []); wr2: codes_are_unique(its_values); END_ENTITY; -- value_domain |
Entity data types and their attributesvalue_domainits_values: LIST [2:?] OF dic_value; (OPT) source_doc_of_value_domain: document; (OPT) languages: present_translations; terms: LIST [0:?] OF item_names; |
Usersvalue_domainnon_quantitative_code_type.domain non_quantitative_int_type.domain |
Global rules for this entity data type- |
public interface EValue_domain extends EEntityits_values (explicit attribute)boolean testIts_values(EValue_domain type)ADic_value getIts_values(EValue_domain type) ADic_value createIts_values(EValue_domain type) void unsetIts_values(EValue_domain type) source_doc_of_value_domain (explicit attribute)boolean testSource_doc_of_value_domain(EValue_domain type)EDocument getSource_doc_of_value_domain(EValue_domain type) void setSource_doc_of_value_domain(EValue_domain type, EDocument value) void unsetSource_doc_of_value_domain(EValue_domain type) languages (explicit attribute)boolean testLanguages(EValue_domain type)EPresent_translations getLanguages(EValue_domain type) void setLanguages(EValue_domain type, EPresent_translations value) void unsetLanguages(EValue_domain type) terms (explicit attribute)boolean testTerms(EValue_domain type)AItem_names getTerms(EValue_domain type) AItem_names createTerms(EValue_domain type) void unsetTerms(EValue_domain type) |
public class CValue_domain implements EValue_domainstatic EAttribute attributeIts_values(EValue_domain type)static int usedinIts_values(EValue_domain type, EDic_value instance, ASdaiModel domain, AValue_domain result) static EAttribute attributeSource_doc_of_value_domain(EValue_domain type) static int usedinSource_doc_of_value_domain(EValue_domain type, EDocument instance, ASdaiModel domain, AValue_domain result) static EAttribute attributeLanguages(EValue_domain type) static int usedinLanguages(EValue_domain type, EPresent_translations instance, ASdaiModel domain, AValue_domain result) static EAttribute attributeTerms(EValue_domain type) static int usedinTerms(EValue_domain type, EItem_names instance, ASdaiModel domain, AValue_domain result) |
public class AValue_domain extends AEntitypublic EValue_domain getByIndex(int index)public EValue_domain getCurrentMember(SdaiIterator it) |