You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2014/12/31 14:30:34 UTC

svn commit: r1648695 - in /isis/site/trunk/content/intro/tutorials: resources/petclinic/domain-model.png step-by-step-petclinic.md

Author: danhaywood
Date: Wed Dec 31 13:30:33 2014
New Revision: 1648695

URL: http://svn.apache.org/r1648695
Log:
petclinic tutorial

Modified:
    isis/site/trunk/content/intro/tutorials/resources/petclinic/domain-model.png
    isis/site/trunk/content/intro/tutorials/step-by-step-petclinic.md

Modified: isis/site/trunk/content/intro/tutorials/resources/petclinic/domain-model.png
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/intro/tutorials/resources/petclinic/domain-model.png?rev=1648695&r1=1648694&r2=1648695&view=diff
==============================================================================
Binary files - no diff available.

Modified: isis/site/trunk/content/intro/tutorials/step-by-step-petclinic.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/intro/tutorials/step-by-step-petclinic.md?rev=1648695&r1=1648694&r2=1648695&view=diff
==============================================================================
--- isis/site/trunk/content/intro/tutorials/step-by-step-petclinic.md (original)
+++ isis/site/trunk/content/intro/tutorials/step-by-step-petclinic.md Wed Dec 31 13:30:33 2014
@@ -12,10 +12,20 @@ This tutorial builds a simple petclinic
 
 The above diagram was built using [yuml.me](http://yuml.me]); the DSL that defines this diagram is:
 
-    [Pet|-name:String{bg:green}]<-0..*[Visit|-checkIn:LocalDate;-checkout:LocalDate;-diagnosis:String|+checkin();+checkout();+addNote(){bg:pink}]
+    [Pet|-name:String{bg:green}]<-0..*[Visit|-checkIn:LocalDate;-checkout:LocalDate;-diagnosis:String|{bg:pink}]
     [Owner|-firstName:String;-lastName:String{bg:green}]<0..1-0..*>[Pet]
     [PetSpecies|-name:String{bg:blue}]<species-[Pet]
 
+This supports the following use cases:
+
+* register an Owner
+* register a Pet
+* check in a Pet to visit the clinic
+* add a note to a Pet during a visit
+* enter a diagnosis
+* check out a Pet to visit the clinic
+
+    
 Either follow along or check out the tags from the corresponding [github repo](https://github.com/danhaywood/isis-app-petclinic).