Product price:Double name:String spare:long review:Article sellOne():void buySome(quantity:int):void User : INetOrgPerson email:String password:String address:String authenticate():boolean sendMail(content:String):Email Node Article : Node title:String description:String author:User subscribers:User* comments:Comment* Comment date:Date author:User
Component foo() Composite : Component child:Component* foo() bar() Leaf : Component foo()