!3 Person & Customer Role

!|using naked objects viewer for set up|
|on object|alias as|perform|using member|with arguments|
|customers|maryBloggsPerson|invoke action|new customer|
|maryBloggsPerson|maryBloggsName|get property|name|
|maryBloggsName||set property|title|mrsTitle|
||||last name|Bloggs|
||||first name|Mary|
|maryBloggsPerson||save||


!|using naked objects viewer for set up|
|on object|alias as|perform|using member|
|maryBloggsPerson|maryBloggsRoles|get collection|roles|


!|alias items in list|maryBloggsRoles|
|title|type|alias as|
|Mrs Mary Bloggs|com.pragprog.dhnako.carserv.dom.customer.Customer|maryBloggsCustomer|


