Tutorial on Product views

From WikiSTEP

Jump to: navigation, search

A Part_version and also other kinds of Product_version typically have at least one or even several views or product definitions. These views have two main purposes:

  • They specified the "point of view" for the product, this is the life cycle stage and the application domain
  • they collect property and compoenet inforation for that view

In AP214-ARM this is called Design_discipline_item_definition', and in the STEP modules it is Part_view_definition

ARM

Image:EXPRESS-G_diagram_for_Product_view_definition_ARM.png

ENTITY Product_view_definition;
  id : OPTIONAL STRING;
  name : OPTIONAL STRING;
  additional_characterization : OPTIONAL STRING;
  initial_context : View_definition_context;
  additional_contexts : SET [0:?] OF View_definition_context;
  defined_version : Product_version;
WHERE
  WR1: NOT (initial_context IN additional_contexts);
  WR2: EXISTS(id) OR (TYPEOF(SELF\Product_view_definition) <> TYPEOF(SELF));
END_ENTITY;

ENTITY Part_view_definition
  SUBTYPE OF (Product_view_definition);
  SELF\Product_view_definition.defined_version : Part_version;
END_ENTITY;

ENTITY Assembly_definition
  SUBTYPE OF (Part_view_definition);
WHERE
  WR1: 'assembly' IN types_of_product(SELF\Product_view_definition.defined_version.of_product);
END_ENTITY;

ENTITY Collection_definition
  SUBTYPE OF (Part_view_definition);
WHERE
  WR1: 'collection' IN types_of_product(SELF\Product_view_definition.defined_version.of_product);
END_ENTITY;

MIM/IR

Image:EXPRESS-G_diagram_for_product_definition_IR.png

ENTITY product_definition;
  id : identifier;
  description : OPTIONAL text;
  formation : product_definition_formation;
  frame_of_reference : product_definition_context;
DERIVE
  ...
END_ENTITY;

ENTITY product_definition_context
  SUBTYPE OF (application_context_element);
  life_cycle_stage : label;
END_ENTITY;

ENTITY product_definition_context_association;
  definition : product_definition;
  frame_of_reference : product_definition_context;
  role : product_definition_context_role;
END_ENTITY;

ENTITY product_definition_context_role;
  name : label;
  description : OPTIONAL text;
END_ENTITY;
Personal tools