performed javacscript:fix and worked on documentation
[taxeditor.git] / taxeditor-bulkeditor / src / main / java / eu / etaxonomy / taxeditor / annotatedlineeditor / IEntityCreator.java
index c5c057b9f88bd5427ece8c655f2a27ff7b0bd519..31e9d5220bf69b36aad04a69037c740966f7cb2d 100644 (file)
@@ -1,36 +1,52 @@
-// $Id$\r
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-\r
-package eu.etaxonomy.taxeditor.annotatedlineeditor;\r
-\r
-import java.util.Map;\r
-\r
-import eu.etaxonomy.cdm.model.common.CdmBase;\r
-\r
-\r
-/**\r
- * @author p.ciardelli\r
- * @created 03.07.2009\r
- * @version 1.0\r
- */\r
-public interface IEntityCreator<T extends CdmBase> {\r
-       \r
-       T createEntity(String text);\r
-       \r
-       T createEntity(Object key, String text);\r
-       \r
-       /**\r
-        * Get a map of keys for all objects that can be created by this entity creator\r
-        * along with their string representations.\r
-        * \r
-        * @return\r
-        */\r
-       Map<Object, String> getKeyLabelPairs();\r
-}\r
+// $Id$
+/**
+* Copyright (C) 2007 EDIT
+* European Distributed Institute of Taxonomy 
+* http://www.e-taxonomy.eu
+* 
+* The contents of this file are subject to the Mozilla Public License Version 1.1
+* See LICENSE.TXT at the top of this package for the full license terms.
+*/
+
+package eu.etaxonomy.taxeditor.annotatedlineeditor;
+
+import java.util.Map;
+
+import eu.etaxonomy.cdm.model.common.CdmBase;
+
+
+/**
+ * <p>IEntityCreator interface.</p>
+ *
+ * @author p.ciardelli
+ * @created 03.07.2009
+ * @version 1.0
+ */
+public interface IEntityCreator<T extends CdmBase> {
+       
+       /**
+        * <p>createEntity</p>
+        *
+        * @param text a {@link java.lang.String} object.
+        * @param <T> a T object.
+        * @return a T object.
+        */
+       T createEntity(String text);
+       
+       /**
+        * <p>createEntity</p>
+        *
+        * @param key a {@link java.lang.Object} object.
+        * @param text a {@link java.lang.String} object.
+        * @return a T object.
+        */
+       T createEntity(Object key, String text);
+       
+       /**
+        * Get a map of keys for all objects that can be created by this entity creator
+        * along with their string representations.
+        *
+        * @return a {@link java.util.Map} object.
+        */
+       Map<Object, String> getKeyLabelPairs();
+}