|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object and.Mapping.Association
public class Association
Class representing an association between a tasks list and a cluster on which they are mapped, or between a task and a computing node
Constructor Summary | |
---|---|
Association()
Default constructor. |
|
Association(Cluster _c,
java.util.ArrayList<GTask> _at)
Constructor. |
|
Association(GNode _g,
GTask _t)
Constructor. |
Method Summary | |
---|---|
Cluster |
getCluster()
Return the associated cluster. |
GNode |
getGNode()
Return the associated computing node. |
java.util.ArrayList<GTask> |
getGtask()
Return the associated tasks list. |
GTask |
getGTask()
Return the associated task. |
void |
setGNode(GNode _g)
Replace the GNode of the association. |
void |
setGtask(GTask _t)
Replace the GTask of the association. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Association()
public Association(Cluster _c, java.util.ArrayList<GTask> _at)
_c
- Associated cluster_at
- Tasks listpublic Association(GNode _g, GTask _t)
_g
- Associated computing node_t
- Associated taskMethod Detail |
---|
public Cluster getCluster()
public java.util.ArrayList<GTask> getGtask()
public GNode getGNode()
public GTask getGTask()
public void setGNode(GNode _g)
_g
- The replacing GNodepublic void setGtask(GTask _t)
_t
- The replacing GTask
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |