[Mmil-commits] r77 - trunk/src/fr/loria/talaris/mmil

alexandredenis at users.gforge.inria.fr alexandredenis at users.gforge.inria.fr
Mar 14 Déc 19:34:32 CET 2010


Author: alexandredenis
Date: 2010-12-14 19:34:32 +0100 (Tue, 14 Dec 2010)
New Revision: 77

Modified:
   trunk/src/fr/loria/talaris/mmil/DefaultMMILComponent.java
Log:


Modified: trunk/src/fr/loria/talaris/mmil/DefaultMMILComponent.java
===================================================================
--- trunk/src/fr/loria/talaris/mmil/DefaultMMILComponent.java	2010-12-14 18:31:36 UTC (rev 76)
+++ trunk/src/fr/loria/talaris/mmil/DefaultMMILComponent.java	2010-12-14 18:34:32 UTC (rev 77)
@@ -13,19 +13,7 @@
 	protected Set<MMILRelation> relations;
 	protected Map<String, MMILEntity> entities;
 
-
-	public int getIndex()
-	{
-		return index;
-	}
-
-
-	public void setIndex(int index)
-	{
-		this.index = index;
-	}
-
-
+	
 	public DefaultMMILComponent()
 	{
 		entities = new HashMap<String, MMILEntity>();
@@ -469,8 +457,25 @@
 		}
 		return ret;
 	}
+	
+	@Override
+	public int getIndex()
+	{
+		return index;
+	}
 
+	@Override
+	public void setIndex(int index)
+	{
+		this.index = index;
+	}
 
+
+
+	/**
+	 * Creates a new unused id.
+	 * @return
+	 */
 	private String createId()
 	{
 		int id = entities.size();




More information about the Mmil-commits mailing list