ENTITY component_material_relationship_armx SUBTYPE OF (component_material_relationship); SELF\property_definition.definition RENAMED associated_design : part_design_view; component_1 : assembly_component_or_item_number; component_2 : OPTIONAL assembly_component_or_item_number; material : OPTIONAL assembly_component_or_item_number; role : bonding_or_coating; specification : OPTIONAL assembly_item_number_or_process_specification; DERIVE SELF\group.name : label := ?; SELF\property_definition.name : label := ?; WHERE wr1: component_1 <> component_2; wr2: component_1 <> material; wr3: component_1 <> specification; wr4: component_2 <> material; wr5: component_2 <> specification; wr6: material <> specification; wr7: valid_assembly_context_for_bond(associated_design, component_1); wr8: valid_assembly_context_for_bond(associated_design, component_2); wr9: valid_assembly_context_for_bond(associated_design, material); wr10: valid_assembly_context_for_bond(associated_design, specification); END_ENTITY; -- component_material_relationship_armx |
Entity data types and their attributesgroupname: label; (OPT) description: text; (DER) id: identifier; property_definition name: label; (OPT) description: text; definition: characterized_definition; (DER) id: identifier; component_material_relationship (RT) definition: physical_unit; component_material_relationship_armx (RT) definition->associated_design: part_design_view; component_1: assembly_component_or_item_number; (OPT) component_2: assembly_component_or_item_number; (OPT) material: assembly_component_or_item_number; role: bonding_or_coating; (OPT) specification: assembly_item_number_or_process_specification; (RT) (DER) name: label; (RT) (DER) name: label; |
Global rules for this entity data type- |
public interface EComponent_material_relationship_armx extends EComponent_material_relationshipcomponent_1 (explicit attribute)int testComponent_1(EComponent_material_relationship_armx type)case 1 EEntity getComponent_1(EComponent_material_relationship_armx type) void setComponent_1(EComponent_material_relationship_armx type, EEntity value, EEntity node1) void unsetComponent_1(EComponent_material_relationship_armx type) component_2 (explicit attribute)int testComponent_2(EComponent_material_relationship_armx type)case 1 EEntity getComponent_2(EComponent_material_relationship_armx type) void setComponent_2(EComponent_material_relationship_armx type, EEntity value, EEntity node1) void unsetComponent_2(EComponent_material_relationship_armx type) material (explicit attribute)int testMaterial(EComponent_material_relationship_armx type)case 1 EEntity getMaterial(EComponent_material_relationship_armx type) void setMaterial(EComponent_material_relationship_armx type, EEntity value, EEntity node1) void unsetMaterial(EComponent_material_relationship_armx type) role (explicit attribute)boolean testRole(EComponent_material_relationship_armx type)int getRole(EComponent_material_relationship_armx type) void setRole(EComponent_material_relationship_armx type, int value) void unsetRole(EComponent_material_relationship_armx type) specification (explicit attribute)int testSpecification(EComponent_material_relationship_armx type)case 1 EEntity getSpecification(EComponent_material_relationship_armx type) void setSpecification(EComponent_material_relationship_armx type, EEntity value, EEntity node1) void unsetSpecification(EComponent_material_relationship_armx type) |
public class CComponent_material_relationship_armx implements EComponent_material_relationship_armxstatic EAttribute attributeComponent_1(EComponent_material_relationship_armx type)static int usedinComponent_1(EComponent_material_relationship_armx type, EEntity instance, ASdaiModel domain, AComponent_material_relationship_armx result) static EAttribute attributeComponent_2(EComponent_material_relationship_armx type) static int usedinComponent_2(EComponent_material_relationship_armx type, EEntity instance, ASdaiModel domain, AComponent_material_relationship_armx result) static EAttribute attributeMaterial(EComponent_material_relationship_armx type) static int usedinMaterial(EComponent_material_relationship_armx type, EEntity instance, ASdaiModel domain, AComponent_material_relationship_armx result) static EAttribute attributeRole(EComponent_material_relationship_armx type) static EAttribute attributeSpecification(EComponent_material_relationship_armx type) static int usedinSpecification(EComponent_material_relationship_armx type, EEntity instance, ASdaiModel domain, AComponent_material_relationship_armx result) static EAttribute attributeName(EComponent_material_relationship_armx type) static EAttribute attributeName(EComponent_material_relationship_armx type) |
public class AComponent_material_relationship_armx extends AEntitypublic EComponent_material_relationship_armx getByIndex(int index)public EComponent_material_relationship_armx getCurrentMember(SdaiIterator it) |