Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Implementation of fault tolerance in Default Mapping.
[mapping.git] / src / and / Mapping / Association.java
index 543c849..7d24134 100644 (file)
@@ -90,6 +90,26 @@ public class Association implements Serializable
                return t ;
        }
        
+       
+       /**
+        * Replace the GNode of the association.
+        * @param _g The replacing GNode
+        */
+       public void setGNode( GNode _g )
+       {
+               g = _g ;
+       }
+       
+       
+       /**
+        * Replace the GTask of the association.
+        * @param _t The replacing GTask
+        */
+       public void setGtask( GTask _t )
+       {
+               t = _t ;
+       }
+       
 }
 
 /** La programmation est un art, respectons ceux qui la pratiquent !! **/