Business object framework bof
This presentation is the property of its rightful owner.
Sponsored Links
1 / 16

Business Object Framework BOF PowerPoint PPT Presentation


  • 43 Views
  • Uploaded on
  • Presentation posted in: General

Business Object Framework BOF. Overview Erik Gyllenswärd Mladen Kap. Business Object Framework, BOF.

Download Presentation

Business Object Framework BOF

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Business object framework bof

Business Object FrameworkBOF

Overview

Erik GyllenswärdMladen Kap


Business object framework bof1

Business Object Framework, BOF

  • BOF provides a number of concept to help model the real world in an expressive way. It also provides a design environment to help you to build applications using the concept and a runtime environment to execute and view applications.

  • The information model supported by BOF is centered around concepts of,objectsaspectsrolesrelationsviews


Business object model

Business object model

School

Ann

  • Object - represent complex real-world entity; pump, valve, human, errend.

  • Aspect - represent natural related part of an object functionality; map, man-ual, web camera, operator display.

  • Relation - a powerful way to model connections to other objects; marrige, location structure, electrical structure.

  • Role – an object can play different roles; wife, mother, employee.

  • View, restrict visability and access.

A

Familyview

Organization

BO

Wife

Employee

A

A

Wife

role

Marrige

relation

R

Paul

Husband

role

Organization

BO

Husband

Employee

A

A

Familyview

A

Football


Business object and aspects

Business object and aspects

Pump

  • BOF objects are objects that represent complex real-world entities of interest to one or more application domains.

  • A BOF object can be regarded as a container keeping related behavior of the object together. Different logical units of functionality is delegated to BOF aspects.

  • Examples of BOF objects are organization, department, project, person, car, building, order, etc.

User manual

A

Operator

display

A

BO

Wiring

diagram

A

A

Maintenance

data

UI

UI

UI

Busi-

ness

BO

A

DS

DS

Data


Relations and roles

Husband

Wife

A

A

Marrige

Parent

Parent

BO

R

BO

A

A

Paul

Ann

Parenthood

R

R

Parenthood

John

BO

A

Child

Relations and roles

  • Business functionality is often provided by related and cooperating business objects.

  • To model and implement business applications a rich relationship concept must be provided.

  • A relation ties two roles together.

  • An object can play many roles.

  • To move in-between objects typed relations are useful.


Presentation views

Husband

Wife

A

A

Marrige

Parent

Parent

BO

R

BO

A

A

Parenthood

R

R

Parenthood

BO

A

Child

Presentation views

  • A business object facilitates that all related information can be kept together. To be able to restrict visibility and accessibility the concept of views are provided.

  • A family view shows all aspects and relations related to the family.

  • A marriage view shows only aspects and relations related to the marriage.

Paul

Ann

Family

Marrige

Family

Marrige

Family

Family

John

Family


Object services

Set As Root

Properties

Query

Change

Services

Create Aspect

Create Relation

Web Camera

Help

Delete

Object services

  • An object has a number of system defined services e.g. delete object, view properties, add user defined services.

  • A document or a Web Camera application can be added to the object and user services to activate the appropriate application can thus be added without programming.

UI

UI

UI

UI

Web-

Cam

Word

Busi-

ness

BO

DS

File

Data

File


Example object services

Example object services


Aspects

Aspects

  • A BOF aspects is a directory object representing a distinct aspect of information related to or behavior characteristic for a BOF object.

  • This delegation of information or behavioral aspects to Aspects facilitates building BOF objects from components that often already exists in different parts of larger business systems.

UI

UI

UI

Aspect

Busi-

ness

BO

DS

Data


New aspect type

Relations

Properties

Camera

Help

Change

Services

Delete

New aspect type

  • An aspect has a number of system defined services e.g. delete aspect, view properties, add user defined services.

  • A new aspect type can be created without programming, e.g. a Web Camera aspect type.

  • The Web Camera application, related documents and user services to activate appropriate applications can be added without programming.

UI

UI

UI

UI

UI

Asp.

Web-

Cam

Word

Busi-

ness

BO

DS

File

Data

File


New aspect implementation and type

New aspect implementation and type

  • To participate in the Business Object Framework IBofAspect interface must be implemented.

  • Object lifecycle suppport - AfterCreate, Initialize, BeforeDelete.

  • Object activation support – OnActivate, OnChange, OnDeactivate.

  • Get and set Name and get Type.

UI

UI

UI

IBofAspect

Asp.

Busi-

ness

dll

BO

IADs

DS

DB

File

Data


Ibofserviceprovider interface

Relations

Properties

MyService

Notepad

Change

Services

Delete

IBofServiceProvider interface

  • To be able to activate the aspect from the service menu IBofServiceProvider must be implemented.

  • The MenuItems function is used to define new custom services in the menu.

  • The Item function invokes a chosen service via an URL or progID.

  • Count returns number of services.

  • Add and Remove to configure new services at run-time.

UI

UI

UI

UI

UI

Asp.

Busi-

ness

dll

BO

Note-

pad

DS

DB

File

File

Data


Iads interface

IADs interface

  • The aspect can choose to store data either in AD or some other store.

  • IADs interface does not have to be implemented, can access IADs within the the code when appropriate.

  • The blob can be used via a propertybagBag.WriteProperty "Picture", mPicmDso.Put("bofBlob", Bag.Contents)mDso.SetInfoBag.Contents = mDso.Get("bofBlob")mPic = Bag.ReadProperty("Picture", "")

UI

UI

UI

UI

UI

Asp.

Busi-

ness

dll

BO

Note-

pad

DS

DB

File

File

Data


Object and aspect creation

Object and aspect creation

  • IBofSystem provides services to create and delete BofObjects. All objects are of a generic type and created in a default container. An object are mostly accessed via a view.

    Dim Sys As BOF.IBofSystem, Obj As BOF.IBofObject, Asp As BOF.IBofAspect

    Set Sys = BOFSYS.GetSystem()

    Set Obj = Sys.CreateObject(“Generic”, “MyObjectName”)

  • IBofObject provides services to create and delete aspects. Get current view and and attach a relation.

    Set Asp = Obj.CreateAspect(“Generic”, “MyAspectName”)


View creation

View creation

  • BOF views provide a way of structuring information about objects and their relations into ‘natural’ parts, which is meaningful to one or more categories of users.

    Dim MyView As BOF.IBofView, Rel As BOF.IBofRelation, MyViews As BOF.IBofViews

    MyViews = Sys.Views

    Set MyView = MyViews.Item(“MyPersonal1”)

    Set MyView = MyViews.Add(“MyPersonal2”)

    MyView = Obj.CurrentView


Relation creation and roles

Relation creation and roles

  • Business functionality is often provided by related and cooperating business objects.

  • BOF relations can have different meaning, they are typed.

  • A relation can be presented in different views. A generic relation is always presented in the view it is created.

  • A relation connects two roles.

    Dim MyView As BOF.IbofView, MyRel As BOF.IBofRelation

    Set MyRel = MyView.CreateRelation(“Generic”)

    MyRel.Role(1).Attach MyObj1

    MyRel.Role(2).Attach MyObj2


  • Login