ENTITY person_and_organization; the_person : person; the_organization : organization; DERIVE name : label := get_name_value(SELF); description : text := get_description_value(SELF); WHERE wr1: SIZEOF(USEDIN(SELF, 'BASIC_ATTRIBUTE_SCHEMA.' + 'NAME_ATTRIBUTE.NAMED_ITEM')) <= 1; wr2: SIZEOF(USEDIN(SELF, 'BASIC_ATTRIBUTE_SCHEMA.' + 'DESCRIPTION_ATTRIBUTE.DESCRIBED_ITEM')) <= 1; END_ENTITY; -- person_and_organization |
Entity data types and their attributesperson_and_organizationthe_person: person; the_organization: organization; (DER) name: label; (DER) description: text; |
characterized_person_and_organization (AP239_PART_DEFINITION_INFORMATION_MIM) |
ds_characterizable_person_and_organization (DECISION_SUPPORT_MIM) |
os_characterizable_person_and_organization (ORGANIZATION_STRUCTURE_MIM) |
risk_person_and_organization_stakeholder (RISK_SCHEMA) |
rm_characterizable_person_and_organization (RISK_MANAGEMENT_MIM) |
syss_characterizable_person_and_organization (SYSTEM_STRUCTURE_MIM) |
Global rules for this entity data type- |
public interface EPerson_and_organization extends EEntitythe_person (explicit attribute)boolean testThe_person(EPerson_and_organization type)EPerson getThe_person(EPerson_and_organization type) void setThe_person(EPerson_and_organization type, EPerson value) void unsetThe_person(EPerson_and_organization type) the_organization (explicit attribute)boolean testThe_organization(EPerson_and_organization type)EOrganization getThe_organization(EPerson_and_organization type) void setThe_organization(EPerson_and_organization type, EOrganization value) void unsetThe_organization(EPerson_and_organization type) name (derived attribute)String getName(EPerson_and_organization type)boolean testName(EPerson_and_organization type) description (derived attribute)String getDescription(EPerson_and_organization type)boolean testDescription(EPerson_and_organization type) |
public class CPerson_and_organization implements EPerson_and_organizationstatic EAttribute attributeThe_person(EPerson_and_organization type)static int usedinThe_person(EPerson_and_organization type, EPerson instance, ASdaiModel domain, APerson_and_organization result) static EAttribute attributeThe_organization(EPerson_and_organization type) static int usedinThe_organization(EPerson_and_organization type, EOrganization instance, ASdaiModel domain, APerson_and_organization result) static EAttribute attributeName(EPerson_and_organization type) static EAttribute attributeDescription(EPerson_and_organization type) |
public class APerson_and_organization extends AEntitypublic EPerson_and_organization getByIndex(int index)public EPerson_and_organization getCurrentMember(SdaiIterator it) |