ENTITY tool_contract

(* SCHEMA process_planning_schema; *)
  ENTITY tool_contract
    SUBTYPE OF (contract);
    WHERE
      wr1: SIZEOF(QUERY ( adr <* USEDIN(SELF,'PROCESS_PLANNING_SCHEMA.APPLIED_ACTION_REQUEST_ASSIGNMENT.ITEMS')
                | (('PROCESS_PLANNING_SCHEMA.VERSIONED_ACTION_REQUEST' IN 
               TYPEOF(adr.assigned_action_request)) AND (adr.
               assigned_action_request.description = 'design order')) )) = 
               1;
      wr2: SIZEOF(QUERY ( adr <* USEDIN(SELF,'PROCESS_PLANNING_SCHEMA.APPLIED_ACTION_REQUEST_ASSIGNMENT.ITEMS')
                | (('PROCESS_PLANNING_SCHEMA.VERSIONED_ACTION_REQUEST' IN 
               TYPEOF(adr.assigned_action_request)) AND (adr.
               assigned_action_request.description = 'fabrication order')) )) 
               = 1;
      wr3: SIZEOF(QUERY ( ap <* USEDIN(SELF,'PROCESS_PLANNING_SCHEMA.CONTRACT_ASSIGNMENT.ASSIGNED_CONTRACT')
                | (('PROCESS_PLANNING_SCHEMA.APPLIED_CONTRACT_ASSIGNMENT' 
               IN TYPEOF(ap)) AND (NOT (SIZEOF(QUERY ( it <* ap.items | ((
               'PROCESS_PLANNING_SCHEMA.PROCESS_PLAN_SPECIFICATION' IN 
               TYPEOF(it)) AND (it\document.description = 
               'tool contract document')) )) <= 1))) )) = 0;
  END_ENTITY; -- tool_contract

Explicit Attributes

Entity tool_contract has the following local and inherited explicit attributes:
AttributeTypeDefined By
 namelabel (STRING)contract
 purposetext (STRING)contract
 kindcontract_type (ENTITY)contract

Derived Attributes

    No derived attributes

Inverse Attributes

    No Inverse Attributes

Supertypes

Entity tool_contract inherits from the following supertypes:
  contract

Subtypes

    No subtypes

Referenced By

Entity tool_contract and its supertypes are referenced by the following definitions:
DefinitionTypeReferenced Entity
 action_request_item SELECT tool_contract
 contract_assignment ENTITY contract
 subtype_exclusiveness_contract RULE contract


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2012-03-27T17:19:47-04:00