From agiraudet@users.nuiton.org Fri Apr 19 11:18:22 2013
From: agiraudet@users.nuiton.org
To: sandbox-commits@list.nuiton.org
Subject: [Sandbox-commits] r594 - testEugeneUML-YAML/testsnakeyaml
Date: Fri, 19 Apr 2013 11:18:22 +0200
Message-ID: <20130419091822.55E9A15A0D@nuiton.codelutin.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2836085897022526523=="

--===============2836085897022526523==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Author: agiraudet
Date: 2013-04-19 11:18:22 +0200 (Fri, 19 Apr 2013)
New Revision: 594

Url: http://nuiton.org/projects/sandbox/repository/revisions/594

Log:
amelioration de la syntaxe uml/yaml uml2.yaml -> uml3.yaml : ajout d'idees po=
ur la gestion des collections et des types (imports) et du paquetage (package)

Added:
   testEugeneUML-YAML/testsnakeyaml/uml3.yaml

Added: testEugeneUML-YAML/testsnakeyaml/uml3.yaml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- testEugeneUML-YAML/testsnakeyaml/uml3.yaml	                        (rev 0)
+++ testEugeneUML-YAML/testsnakeyaml/uml3.yaml	2013-04-19 09:18:22 UTC (rev 5=
94)
@@ -0,0 +1,62 @@
+%YAML 1.1
+---
+# syntaxe uml/yaml version 2
+
+# http://yaml.org/
+# astuce : utiliser la coloration syntaxique sh/bash
+# attention a l'indentation !
+
+# exemple
+
+# gestion des collections
+
+# paquetage
+package: org.nuiton.uml3
+
+# imports
+imports:
+  String: java.lang.String
+  Integer: java.lang.Integer
+  Date: java.util.Date
+  List: java.util.List
+  Map: java.util.Map
+
+
+public class Classe1 <<entity>>:
+# attributs
+- private List<Date> events
+- private Date debut
+- private Date fin
+- private Integer entier
+- private static Float flottant
+- private String chaine
+# m=C3=A9thodes
+- public void methode1(int entier)
+- public String toString()
+
+public class Classe2 extends Classe1 <<entity>>:
+- private int entier1
+- private int entier2
+- public static void main (String[] args)
+
+public interface Interface1:
+- public int methode1()
+- public Classe1 methode2()
+- public methode3()
+
+abstract class ClasseAbstraite1:
+- abstract methode1()
+- abstract methode2()
+- public methode3()
+
+public class Classe3:
+- private Classe1 attribut1
+- private Classe2 attribut2
+- public static Classe1 methode1(Classe2 cls2)
+
+public class Classe4 implements Interface1:
+- .
+
+public enum Enumeration1:
+- .
+


--===============2836085897022526523==--


