FUNCTION get_role

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP214
FUNCTION get_role
      (obj : role_select ) : object_role;
   LOCAL
      role_bag : BAG OF role_association := USEDIN(obj, 'STEP_MERGED_AP_SCHEMA.' + '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
2017-01-19T11:17:24-05:00