ENTITY product_process_plan SUBTYPE OF (product_definition_process); WHERE wr1: SIZEOF ( QUERY ( ar <* USEDIN ( SELF , 'AUTOMOTIVE_DESIGN.'+'ACTION_RELATIONSHIP.'+ 'RELATED_ACTION' ) | SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'PROCESS_PLAN' , 'AUTOMOTIVE_DESIGN.'+ 'PRODUCT_PROCESS_PLAN']* TYPEOF ( ar. relating_action ) ) <>1 ) ) =0; wr2: SIZEOF ( QUERY ( ar <* USEDIN ( SELF , 'AUTOMOTIVE_DESIGN.'+'ACTION_RELATIONSHIP.'+ 'RELATING_ACTION' ) | ( SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'PROCESS_PLAN' , 'AUTOMOTIVE_DESIGN.'+ 'PRODUCT_PROCESS_PLAN']* TYPEOF ( ar. related_action ) ) =1 ) OR ( ( ar. name = 'process operation occurrence' ) AND ( 'AUTOMOTIVE_DESIGN.'+ 'PROCESS_OPERATION' IN TYPEOF ( ar. related_action.chosen_method ) ) ) ) ) = SIZEOF ( USEDIN ( SELF , 'AUTOMOTIVE_DESIGN.'+'ACTION_RELATIONSHIP.'+ 'RELATING_ACTION' ) ); wr3: SIZEOF ( QUERY ( ppa <* USEDIN ( SELF , 'AUTOMOTIVE_DESIGN.'+'PROCESS_PRODUCT_ASSOCIATION.'+ 'PROCESS' ) | ( ppa. name<> 'produced output' ) OR NOT ( 'AUTOMOTIVE_DESIGN.'+ 'PRODUCT_DEFINITION' IN TYPEOF ( ppa. defined_product ) ) ) ) =0; END_ENTITY; -- product_process_plan |
Entity data types and their attributesactionname: label; (OPT) description: text; chosen_method: action_method; (DER) id: identifier; product_definition_process identification: identifier; (INV) product_definitions: SET [1:?] OF process_product_association FOR process; product_process_plan - |
Global rules for this entity data type- |
public interface EProduct_process_plan extends EProduct_definition_process |
public class CProduct_process_plan implements EProduct_process_plan |
public class AProduct_process_plan extends AEntitypublic EProduct_process_plan getByIndex(int index)public EProduct_process_plan getCurrentMember(SdaiIterator it) |