ENTITY product_process_plan SUBTYPE OF (product_definition_process); WHERE wr1: SIZEOF( QUERY( ar <* USEDIN(SELF,'ACTION_SCHEMA.' + 'ACTION_RELATIONSHIP.RELATED_ACTION') | SIZEOF(['PROCESS_PLAN_MIM.PROCESS_PLAN', 'PROCESS_PLAN_MIM.PRODUCT_PROCESS_PLAN'] * TYPEOF(ar.relating_action) ) <> 1 )) = 0; wr2: SIZEOF( QUERY( ar <* USEDIN(SELF,'ACTION_SCHEMA.' + 'ACTION_RELATIONSHIP.RELATING_ACTION') | (SIZEOF(['PROCESS_PLAN_MIM.PROCESS_PLAN', 'PROCESS_PLAN_MIM.PRODUCT_PROCESS_PLAN'] * TYPEOF(ar.related_action)) = 1) OR ((ar.name = 'process operation occurrence') AND ('PROCESS_PLAN_MIM.PROCESS_OPERATION' IN TYPEOF(ar.related_action.chosen_method))) )) = SIZEOF(USEDIN(SELF,'ACTION_SCHEMA.' + 'ACTION_RELATIONSHIP.RELATING_ACTION')); wr3: SIZEOF( QUERY( ppa <* USEDIN(SELF,'PROCESS_PROPERTY_SCHEMA.' + 'PROCESS_PRODUCT_ASSOCIATION.PROCESS') | (ppa.name <> 'produced output') OR NOT('PROCESS_PLAN_MIM.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) |