/**
- * Return the task's dependencies list.
+ * Return the task dependencies list.
* @return The dependencies list
*/
public ArrayList<GTask> getDependencies()
}
+ /**
+ * Return the ids of the dependences of the task in a list.
+ * @return The ids list
+ */
+ public ArrayList<Integer> getDependenciesIds()
+ {
+ ArrayList<Integer> ret = new ArrayList<Integer>() ;
+
+ for( int i = 0 ; i < dependencies.size() ; i++ )
+ {
+ ret.add( new Integer( dependencies.get( i ).getNum() ) ) ;
+ }
+
+ return ret;
+ }
+
+
/**
* Return the task's number.
* @return The task's number