Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adding javadoc.
[mapping.git] / javadoc / and / Mapping / Association.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.6.0_0) on Tue Feb 02 14:44:19 CET 2010 -->
6 <TITLE>
7 Association
8 </TITLE>
9
10 <META NAME="date" CONTENT="2010-02-02">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17     if (location.href.indexOf('is-external=true') == -1) {
18         parent.document.title="Association";
19     }
20 }
21 </SCRIPT>
22 <NOSCRIPT>
23 </NOSCRIPT>
24
25 </HEAD>
26
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
29
30
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <A NAME="navbar_top"><!-- --></A>
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35 <TR>
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37 <A NAME="navbar_top_firstrow"><!-- --></A>
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39   <TR ALIGN="center" VALIGN="top">
40   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../and/Mapping/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
42   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Association.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
43   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
47   </TR>
48 </TABLE>
49 </TD>
50 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
51 </EM>
52 </TD>
53 </TR>
54
55 <TR>
56 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57 &nbsp;<A HREF="../../and/Mapping/Architecture.html" title="class in and.Mapping"><B>PREV CLASS</B></A>&nbsp;
58 &nbsp;<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping"><B>NEXT CLASS</B></A></FONT></TD>
59 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60   <A HREF="../../index.html?and/Mapping/Association.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61 &nbsp;<A HREF="Association.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
62 &nbsp;<SCRIPT type="text/javascript">
63   <!--
64   if(window==top) {
65     document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
66   }
67   //-->
68 </SCRIPT>
69 <NOSCRIPT>
70   <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
71 </NOSCRIPT>
72
73
74 </FONT></TD>
75 </TR>
76 <TR>
77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
81 </TR>
82 </TABLE>
83 <A NAME="skip-navbar_top"></A>
84 <!-- ========= END OF TOP NAVBAR ========= -->
85
86 <HR>
87 <!-- ======== START OF CLASS DATA ======== -->
88 <H2>
89 <FONT SIZE="-1">
90 and.Mapping</FONT>
91 <BR>
92 Class Association</H2>
93 <PRE>
94 java.lang.Object
95   <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>and.Mapping.Association</B>
96 </PRE>
97 <DL>
98 <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
99 </DL>
100 <HR>
101 <DL>
102 <DT><PRE>public class <B>Association</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
103 </PRE>
104
105 <P>
106 Class representing an association between a tasks list and a cluster
107  on which they are mapped, or between a task and a computing node
108 <P>
109
110 <P>
111 <DL>
112 <DT><B>Author:</B></DT>
113   <DD>S&eacute;bastien Miqu&eacute;e</DD>
114 <DT><B>See Also:</B><DD><A HREF="../../serialized-form.html#and.Mapping.Association">Serialized Form</A></DL>
115 <HR>
116
117 <P>
118
119 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
120
121 <A NAME="constructor_summary"><!-- --></A>
122 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
124 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
125 <B>Constructor Summary</B></FONT></TH>
126 </TR>
127 <TR BGCOLOR="white" CLASS="TableRowColor">
128 <TD><CODE><B><A HREF="../../and/Mapping/Association.html#Association()">Association</A></B>()</CODE>
129
130 <BR>
131 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default constructor.</TD>
132 </TR>
133 <TR BGCOLOR="white" CLASS="TableRowColor">
134 <TD><CODE><B><A HREF="../../and/Mapping/Association.html#Association(and.Mapping.Cluster, java.util.ArrayList)">Association</A></B>(<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A>&nbsp;_c,
135             java.util.ArrayList&lt;<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&gt;&nbsp;_at)</CODE>
136
137 <BR>
138 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
139 </TR>
140 <TR BGCOLOR="white" CLASS="TableRowColor">
141 <TD><CODE><B><A HREF="../../and/Mapping/Association.html#Association(and.Mapping.GNode, and.Mapping.GTask)">Association</A></B>(<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A>&nbsp;_g,
142             <A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&nbsp;_t)</CODE>
143
144 <BR>
145 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
146 </TR>
147 </TABLE>
148 &nbsp;
149 <!-- ========== METHOD SUMMARY =========== -->
150
151 <A NAME="method_summary"><!-- --></A>
152 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
153 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
154 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
155 <B>Method Summary</B></FONT></TH>
156 </TR>
157 <TR BGCOLOR="white" CLASS="TableRowColor">
158 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159 <CODE>&nbsp;<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A></CODE></FONT></TD>
160 <TD><CODE><B><A HREF="../../and/Mapping/Association.html#getCluster()">getCluster</A></B>()</CODE>
161
162 <BR>
163 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the associated cluster.</TD>
164 </TR>
165 <TR BGCOLOR="white" CLASS="TableRowColor">
166 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167 <CODE>&nbsp;<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A></CODE></FONT></TD>
168 <TD><CODE><B><A HREF="../../and/Mapping/Association.html#getGNode()">getGNode</A></B>()</CODE>
169
170 <BR>
171 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the associated computing node.</TD>
172 </TR>
173 <TR BGCOLOR="white" CLASS="TableRowColor">
174 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175 <CODE>&nbsp;java.util.ArrayList&lt;<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&gt;</CODE></FONT></TD>
176 <TD><CODE><B><A HREF="../../and/Mapping/Association.html#getGtask()">getGtask</A></B>()</CODE>
177
178 <BR>
179 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the associated tasks list.</TD>
180 </TR>
181 <TR BGCOLOR="white" CLASS="TableRowColor">
182 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183 <CODE>&nbsp;<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A></CODE></FONT></TD>
184 <TD><CODE><B><A HREF="../../and/Mapping/Association.html#getGTask()">getGTask</A></B>()</CODE>
185
186 <BR>
187 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the associated task.</TD>
188 </TR>
189 </TABLE>
190 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
191 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
192 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
193 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
194 </TR>
195 <TR BGCOLOR="white" CLASS="TableRowColor">
196 <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
197 </TR>
198 </TABLE>
199 &nbsp;
200 <P>
201
202 <!-- ========= CONSTRUCTOR DETAIL ======== -->
203
204 <A NAME="constructor_detail"><!-- --></A>
205 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
206 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
207 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
208 <B>Constructor Detail</B></FONT></TH>
209 </TR>
210 </TABLE>
211
212 <A NAME="Association()"><!-- --></A><H3>
213 Association</H3>
214 <PRE>
215 public <B>Association</B>()</PRE>
216 <DL>
217 <DD>Default constructor.
218 <P>
219 </DL>
220 <HR>
221
222 <A NAME="Association(and.Mapping.Cluster, java.util.ArrayList)"><!-- --></A><H3>
223 Association</H3>
224 <PRE>
225 public <B>Association</B>(<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A>&nbsp;_c,
226                    java.util.ArrayList&lt;<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&gt;&nbsp;_at)</PRE>
227 <DL>
228 <DD>Constructor.
229 <P>
230 <DL>
231 <DT><B>Parameters:</B><DD><CODE>_c</CODE> - Associated cluster<DD><CODE>_at</CODE> - Tasks list</DL>
232 </DL>
233 <HR>
234
235 <A NAME="Association(and.Mapping.GNode, and.Mapping.GTask)"><!-- --></A><H3>
236 Association</H3>
237 <PRE>
238 public <B>Association</B>(<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A>&nbsp;_g,
239                    <A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&nbsp;_t)</PRE>
240 <DL>
241 <DD>Constructor.
242 <P>
243 <DL>
244 <DT><B>Parameters:</B><DD><CODE>_g</CODE> - Associated computing node<DD><CODE>_t</CODE> - Associated task</DL>
245 </DL>
246
247 <!-- ============ METHOD DETAIL ========== -->
248
249 <A NAME="method_detail"><!-- --></A>
250 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
251 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
252 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
253 <B>Method Detail</B></FONT></TH>
254 </TR>
255 </TABLE>
256
257 <A NAME="getCluster()"><!-- --></A><H3>
258 getCluster</H3>
259 <PRE>
260 public <A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A> <B>getCluster</B>()</PRE>
261 <DL>
262 <DD>Return the associated cluster.
263 <P>
264 <DD><DL>
265 </DL>
266 </DD>
267 <DD><DL>
268
269 <DT><B>Returns:</B><DD>The associated cluster</DL>
270 </DD>
271 </DL>
272 <HR>
273
274 <A NAME="getGtask()"><!-- --></A><H3>
275 getGtask</H3>
276 <PRE>
277 public java.util.ArrayList&lt;<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&gt; <B>getGtask</B>()</PRE>
278 <DL>
279 <DD>Return the associated tasks list.
280 <P>
281 <DD><DL>
282 </DL>
283 </DD>
284 <DD><DL>
285
286 <DT><B>Returns:</B><DD>The associated tasks list</DL>
287 </DD>
288 </DL>
289 <HR>
290
291 <A NAME="getGNode()"><!-- --></A><H3>
292 getGNode</H3>
293 <PRE>
294 public <A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A> <B>getGNode</B>()</PRE>
295 <DL>
296 <DD>Return the associated computing node.
297 <P>
298 <DD><DL>
299 </DL>
300 </DD>
301 <DD><DL>
302
303 <DT><B>Returns:</B><DD>The associated node</DL>
304 </DD>
305 </DL>
306 <HR>
307
308 <A NAME="getGTask()"><!-- --></A><H3>
309 getGTask</H3>
310 <PRE>
311 public <A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A> <B>getGTask</B>()</PRE>
312 <DL>
313 <DD>Return the associated task.
314 <P>
315 <DD><DL>
316 </DL>
317 </DD>
318 <DD><DL>
319
320 <DT><B>Returns:</B><DD>The associated task</DL>
321 </DD>
322 </DL>
323 <!-- ========= END OF CLASS DATA ========= -->
324 <HR>
325
326
327 <!-- ======= START OF BOTTOM NAVBAR ====== -->
328 <A NAME="navbar_bottom"><!-- --></A>
329 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
330 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
331 <TR>
332 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
333 <A NAME="navbar_bottom_firstrow"><!-- --></A>
334 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
335   <TR ALIGN="center" VALIGN="top">
336   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../and/Mapping/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
337   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
338   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Association.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
339   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
340   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
341   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
342   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
343   </TR>
344 </TABLE>
345 </TD>
346 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
347 </EM>
348 </TD>
349 </TR>
350
351 <TR>
352 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
353 &nbsp;<A HREF="../../and/Mapping/Architecture.html" title="class in and.Mapping"><B>PREV CLASS</B></A>&nbsp;
354 &nbsp;<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping"><B>NEXT CLASS</B></A></FONT></TD>
355 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
356   <A HREF="../../index.html?and/Mapping/Association.html" target="_top"><B>FRAMES</B></A>  &nbsp;
357 &nbsp;<A HREF="Association.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
358 &nbsp;<SCRIPT type="text/javascript">
359   <!--
360   if(window==top) {
361     document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
362   }
363   //-->
364 </SCRIPT>
365 <NOSCRIPT>
366   <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
367 </NOSCRIPT>
368
369
370 </FONT></TD>
371 </TR>
372 <TR>
373 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
374   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
375 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
376 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
377 </TR>
378 </TABLE>
379 <A NAME="skip-navbar_bottom"></A>
380 <!-- ======== END OF BOTTOM NAVBAR ======= -->
381
382 <HR>
383
384 </BODY>
385 </HTML>