ENTITY generic_manufacturing_resource

(* SCHEMA cast_parts_schema; *)
  ENTITY generic_manufacturing_resource
    SUBTYPE OF (action_resource);
    WHERE
 (* --------quantity   -------------*)
   
 wr1:   SIZEOF(QUERY ( pdr <* get_resource_property_representation(SELF) | 
        (('CAST_PARTS_SCHEMA.REPRESENTATION' IN 
         TYPEOF(pdr.representation)) AND 
         (SIZEOF(QUERY (it <* pdr.representation.items |
        (('CAST_PARTS_SCHEMA.MEASURE_REPRESENTATION_ITEM' IN TYPEOF(it)) AND 
       ('CAST_PARTS_SCHEMA.COUNT_MEASURE' 
       IN TYPEOF(it\measure_with_unit.value_component)) AND 
       (it.name = 'resource quantity')) )) =1 ))))>=1;

(* --------unit    -------------*)
            
 wr2:  SIZEOF(QUERY ( pdr <* get_resource_property_representation(SELF) | 
        (('CAST_PARTS_SCHEMA.REPRESENTATION' IN 
         TYPEOF(pdr.representation)) AND 
         (SIZEOF(QUERY (it <* pdr.representation.items |
        (('CAST_PARTS_SCHEMA.MEASURE_REPRESENTATION_ITEM' IN TYPEOF(it)) AND 
       ('CAST_PARTS_SCHEMA.COUNT_MEASURE' 
       IN TYPEOF(it\measure_with_unit.value_component)) AND 
       (it.name = 'resource quantity')AND 
       ('CAST_PARTS_SCHEMA.CONTEXT_DEPENDENT_UNIT' IN TYPEOF(it\measure_with_unit.unit_component)) AND
       (it\measure_with_unit.unit_component\conversion_based_unit.name='each')
       ) )) =1 )) )) >=1;

  END_ENTITY; -- generic_manufacturing_resource

Explicit Attributes

Entity generic_manufacturing_resource has the following local and inherited explicit attributes:
AttributeTypeDefined By
 namelabel (STRING)action_resource
 descriptiontext (STRING)action_resource
 usageSET OF supported_item (SELECT)action_resource
 kindaction_resource_type (ENTITY)action_resource

Derived Attributes

    No derived attributes

Inverse Attributes

    No Inverse Attributes

Supertypes

Entity generic_manufacturing_resource inherits from the following supertypes:
  action_resource

Subtypes

Entity generic_manufacturing_resource has the following subtypes:
    resource_with_material*
    resource_with_representation*
* - Immediate Subtypes

Referenced By

Entity generic_manufacturing_resource and its supertypes are referenced by the following definitions:
DefinitionTypeReferenced Entity
 action_item SELECT action_resource
 action_resource_relationship ENTITY action_resource
 characterized_resource_definition SELECT action_resource
 date_item SELECT action_resource
 document_reference_item SELECT action_resource
 organization_item SELECT action_resource
 requirement_for_action_resource ENTITY action_resource


[Top Level Definitions] [Exit]

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