ENTITY part_feature_based_template_location SUBTYPE OF (template_location_in_structured_template); reference_feature : part_feature; DERIVE all_reference_feature : SET [1:?] OF part_feature := bag_to_set(USEDIN (SELF\Template_location_in_structured_template.assembly, 'LAYERED_INTERCONNECT_COMPLEX_TEMPLATE_XIM.TEMPLATE_LOCATION_IN_STRUCTURED_TEMPLATE.ASSEMBLY')); SELF\template_location_in_structured_template.reference_designation : STRING := reference_feature\Shape_element.element_name; WHERE wr1: SIZEOF(QUERY( arf <* all_reference_feature | NOT(reference_feature.associated_definition :=: arf.associated_definition))) = 0; END_ENTITY; -- part_feature_based_template_location |
Entity data types and their attributesproduct_definition_relationshipid: identifier; name: label; (OPT) description: text; relating_product_definition: product_definition; related_product_definition: product_definition; product_definition_usage - assembly_component_usage (OPT) reference_designator: identifier; template_location_in_structured_template (RT) relating_product_definition->assembly: structured_template_armx; (RT) related_product_definition->template: template_definition; (RT) reference_designator->reference_designation: STRING; placement_status: template_location_placement_status; (RT) (DER) id: identifier; (RT) (DER) name: label; (RT) (DER) description: text; (INV) transform: SET [0:?] OF template_location_in_structured_template_transform FOR reference_location; part_feature_based_template_location reference_feature: part_feature; (DER) all_reference_feature: SET [1:?] OF part_feature; (RT) (DER) reference_designation: STRING; |
Global rules for this entity data type- |
public interface EPart_feature_based_template_location extends ETemplate_location_in_structured_templatereference_feature (explicit attribute)boolean testReference_feature(EPart_feature_based_template_location type)EPart_feature getReference_feature(EPart_feature_based_template_location type) void setReference_feature(EPart_feature_based_template_location type, EPart_feature value) void unsetReference_feature(EPart_feature_based_template_location type) all_reference_feature (derived attribute)APart_feature getAll_reference_feature(EPart_feature_based_template_location type)boolean testAll_reference_feature(EPart_feature_based_template_location type) |
public class CPart_feature_based_template_location implements EPart_feature_based_template_locationstatic EAttribute attributeReference_feature(EPart_feature_based_template_location type)static int usedinReference_feature(EPart_feature_based_template_location type, EPart_feature instance, ASdaiModel domain, APart_feature_based_template_location result) static EAttribute attributeAll_reference_feature(EPart_feature_based_template_location type) static int usedinAll_reference_feature(EPart_feature_based_template_location type, EPart_feature instance, ASdaiModel domain, APart_feature_based_template_location result) static EAttribute attributeReference_designation(EPart_feature_based_template_location type) |
public class APart_feature_based_template_location extends AEntitypublic EPart_feature_based_template_location getByIndex(int index)public EPart_feature_based_template_location getCurrentMember(SdaiIterator it) |