FUNCTION get_role

(* SCHEMA Ap236_furniture_catalog_and_interior_design_mim_LF; *)
(* REFERENCE FROM (basic_attribute_schema); *)
FUNCTION get_role
 (obj : role_select) : object_role; 
  LOCAL
    role_bag : BAG OF role_association := (USEDIN(obj, 'AP236_FURNITURE_CATALOG_AND_INTERIOR_DESIGN_MIM_LF.' + 'ROLE_ASSOCIATION.' + 'ITEM_WITH_ROLE'));
  END_LOCAL;

  IF SIZEOF(role_bag) = 1 THEN
    RETURN (role_bag[1].role);
  ELSE
    RETURN (?);
  END_IF;
END_FUNCTION; 

Referenced By

Defintion get_role is references by the following definitions:
DefinitionType
 action_assignment ENTITY
 action_request_assignment ENTITY
 approval_assignment ENTITY
 approval_date_time ENTITY
 certification_assignment ENTITY
 contract_assignment ENTITY
 document_reference ENTITY
 effectivity_assignment ENTITY
 group_assignment ENTITY
 name_assignment ENTITY
 security_classification_assignment ENTITY


[Top Level Definitions] [Exit]

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