Profile

Showing posts with label Object Identification. Show all posts
Showing posts with label Object Identification. Show all posts

Saturday, August 9, 2014

Object Model: The basic objects in our model


7 nouns (distinct objects) that are immediately visible are
(1)         Provider Person
(2)         Borrower Person
(3)         Provided Capital
(4)         Borrowed Capital
(5)         Provider Pool
(6)         Borrower Pool
(7)         Connection

In the above list compound nouns have been used for some of the objects.  The rules that we defined stipulate that in case in our model there are objects with compound nouns and if a part of the compound noun is common amongst two or more objects then a new object must be created.  Applying this rule, the new object model will have the following objects
(1)         Person
(2)         Provider Person
(3)         Borrower Person
(4)         Capital
(5)         Provided Capital
(6)         Borrowed Capital
(7)         Pool
(8)         Provider Pool
(9)         Borrower Pool
(10)     Connection

Resilient Object Model. Rules for Identifying Objects


The question then is how does one identify objects such that each object has a unique capability. The trick to identifying such objects is to look at the vocabulary of the conceptual model and look for Nouns. Each noun connotes a distinct capability.

When the vocabulary of conceptual model uses compound nouns then the above rule for identifying objects needs to be modified a little bit.  A compound noun is usually of the form Adjective + Noun (example Pink ball) or Noun + noun (Tennis + Shoe). 

Let’s illustrate as to what is to be done, in these cases, through the example of two objects - Tennis shoes and Football shoes. Both of these objects share a noun – shoes. A commonality of nouns would imply that the two objects share some common capability. Our rule for objects is that there should not be any overlap of capabilities between different objects.  Hence there is a case to split the object 3 ways – Shoes, Tennis shoes and Football shoes. As explained in previous section the object Tennis shoes as well as Football shoes will inherit the common capability of shoes from the object Shoes.  In such an arrangement of objects if a change were to be made in the capability of shoes then it will need to be done in one place only, namely in the object called Shoes.