TermBase and descendants indexed using hibernate search
[cdmlib.git] / cdmlib-model / src / main / java / eu / etaxonomy / cdm / model / common / IRelated.java
index 7441674b5a252d843d77de2a6875f2cb40ef09f7..1799dab91e63c3af0bc3c214dadf98c4f67a1395 100644 (file)
@@ -1,5 +1,16 @@
+/**
+* Copyright (C) 2009 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.cdm.model.common;
 
+import java.util.UUID;
+
 /**
  * PLEASE LOOK AT NameRelationship and TaxonRelationship
  * @author m.doering
@@ -7,5 +18,14 @@ package eu.etaxonomy.cdm.model.common;
  * @param <T>
  */
 public interface IRelated<T extends RelationshipBase> {
+       /**
+        * @param relation
+        */
        public void addRelationship(T relation);
+       
+       /**
+        * 
+        */
+       public UUID getUuid();
+       
 }