ENTITY heat_treat_requirement

(* SCHEMA cast_parts_schema; *)
  ENTITY heat_treat_requirement
    SUBTYPE OF (process_requirement);
    WHERE
(*  ---------   additional_requirements ---------- *)
 
 wr1:(NOT(SIZEOF(QUERY ( pdr <* USEDIN(SELF ,
     'CAST_PARTS_SCHEMA.PROPERTY_DEFINITION_REPRESENTATION.DEFINITION') | 
     ( SIZEOF(QUERY ( it <* pdr.used_representation.items | 
     (('CAST_PARTS_SCHEMA.DESCRIPTIVE_REPRESENTATION_ITEM' IN TYPEOF(it)) AND 
     (it.name = 'additional requirement') 
     ) )) =1 )))=0));
            
(*  ---------    softening_anneal_required ---------- *)
 
 wr2:(NOT(SIZEOF(QUERY ( pdr <* USEDIN(SELF ,
     'CAST_PARTS_SCHEMA.PROPERTY_DEFINITION_REPRESENTATION.DEFINITION') | 
     ( SIZEOF(QUERY ( it <* pdr.used_representation.items | 
     (('CAST_PARTS_SCHEMA.DESCRIPTIVE_REPRESENTATION_ITEM' IN TYPEOF(it)) AND 
     (it.name = 'softening anneal required') AND 
     (it.description IN (['TRUE','FALSE']))
     ) )) =1 )))=0));            
            
(*  ---------   stress_relief_required ---------- *)
 
 wr3:(NOT(SIZEOF(QUERY ( pdr <* USEDIN(SELF ,
     'CAST_PARTS_SCHEMA.PROPERTY_DEFINITION_REPRESENTATION.DEFINITION') | 
     ( SIZEOF(QUERY ( it <* pdr.used_representation.items | 
     (('CAST_PARTS_SCHEMA.DESCRIPTIVE_REPRESENTATION_ITEM' IN TYPEOF(it)) AND 
     (it.name = 'stress relief required') AND 
     (it.description IN (['TRUE','FALSE']))
     ) )) =1 )))=0));    
            
(*  --- to organization (as where_heat_treat_is_to_be_performed---------- *)

 wr4:(SIZEOF(QUERY ( aam <* USEDIN(SELF ,
     'CAST_PARTS_SCHEMA.APPLIED_ORGANIZATION_ASSIGNMENT.ITEMS') |
     ((aam\organization_assignment.role.name='activity organization id') AND
     ('CAST_PARTS_SCHEMA.ORGANIZATION' 
     IN TYPEOF(aam\organization_assignment.assigned_organization)))))=1);
           
(*  -----   to process_property (as heat_treatment_per_design_data) ----- *)

 wr5:(SIZEOF(QUERY ( pdr <* USEDIN(SELF ,
      'CAST_PARTS_SCHEMA.'+
      'PROPERTY_DEFINITION_RELATIONSHIP.RELATING_PROPERTY_DEFINITION') | 
      (('CAST_PARTS_SCHEMA.PROPERTY_DEFINITION'
      IN TYPEOF(pdr.related_property_definition)) AND
     (pdr.related_property_definition.name='process property'))
      ))=1);  
                 
(*  ------to specification (as heat_treat_specification) ---------- *)

 wr6:SIZEOF(QUERY ( adr <* USEDIN(SELF,
     'CAST_PARTS_SCHEMA.APPLIED_DOCUMENT_REFERENCE.ITEMS') | 
     (adr.assigned_document.kind.product_data_type= 
     'heat_treat_specification') )) 
      =1;  
            
(*  ---- to mechanical_property_requirements (as mechanical_property) ---- *) 

 wr7:(SIZEOF(QUERY ( pdr <* USEDIN(SELF ,
     'CAST_PARTS_SCHEMA.'+
     'PROPERTY_DEFINITION_RELATIONSHIP.RELATING_PROPERTY_DEFINITION') | 
     ('CAST_PARTS_SCHEMA.MECHANICAL_PROPERTY_REQUIREMENTS'
     IN TYPEOF(pdr.related_property_definition))
     ))=1); 

  END_ENTITY; -- heat_treat_requirement

Explicit Attributes

Entity heat_treat_requirement has the following local and inherited explicit attributes:
AttributeTypeDefined By
 namelabel (STRING)property_definition
 descriptiontext (STRING)property_definition
 definitioncharacterized_definition (SELECT)property_definition

Derived Attributes

Entity heat_treat_requirement has the following local and inherited derived attributes:
AttributeTypeDefined By
 ididentifier (STRING)property_definition

Inverse Attributes

    No Inverse Attributes

Supertypes

Entity heat_treat_requirement inherits from the following supertypes:
  property_definition
    customer_casting_requirement
      process_requirement

Subtypes

    No subtypes

Referenced By

Entity heat_treat_requirement and its supertypes are referenced by the following definitions:
DefinitionTypeReferenced Entity
 action_item SELECT property_definition
 action_method_item SELECT property_definition
 action_request_item SELECT property_definition
 date_item SELECT property_definition
 derived_property_select SELECT property_definition
 document_reference_item SELECT property_definition
 effectivity_item SELECT property_definition
 get_property_definition_representations FUNCTION property_definition
 get_property_definition_shape_aspect FUNCTION property_definition
 id_attribute_select SELECT property_definition
 material_property ENTITY property_definition
 organization_item SELECT property_definition
 person_and_organization_item SELECT property_definition
 product_definition_shape ENTITY property_definition
 property_definition_relationship ENTITY property_definition
 property_or_shape_select SELECT property_definition
 represented_definition SELECT property_definition


[Top Level Definitions] [Exit]

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