123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_144) on Fri Apr 27 10:24:20 EDT 2018 -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <title>Staff (people2)</title>
  8. <meta name="date" content="2018-04-27">
  9. <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
  10. <script type="text/javascript" src="script.js"></script>
  11. </head>
  12. <body>
  13. <script type="text/javascript"><!--
  14. try {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="Staff (people2)";
  17. }
  18. }
  19. catch(err) {
  20. }
  21. //-->
  22. var methods = {"i0":10,"i1":10,"i2":10};
  23. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  24. var altColor = "altColor";
  25. var rowColor = "rowColor";
  26. var tableTab = "tableTab";
  27. var activeTableTab = "activeTableTab";
  28. </script>
  29. <noscript>
  30. <div>JavaScript is disabled on your browser.</div>
  31. </noscript>
  32. <!-- ========= START OF TOP NAVBAR ======= -->
  33. <div class="topNav"><a name="navbar.top">
  34. <!-- -->
  35. </a>
  36. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  37. <a name="navbar.top.firstrow">
  38. <!-- -->
  39. </a>
  40. <ul class="navList" title="Navigation">
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="package-tree.html">Tree</a></li>
  44. <li><a href="index-all.html">Index</a></li>
  45. <li><a href="help-doc.html">Help</a></li>
  46. </ul>
  47. </div>
  48. <div class="subNav">
  49. <ul class="navList">
  50. <li><a href="Person.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  51. <li><a href="Student.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  52. </ul>
  53. <ul class="navList">
  54. <li><a href="index.html?Staff.html" target="_top">Frames</a></li>
  55. <li><a href="Staff.html" target="_top">No&nbsp;Frames</a></li>
  56. </ul>
  57. <ul class="navList" id="allclasses_navbar_top">
  58. <li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
  59. </ul>
  60. <div>
  61. <script type="text/javascript"><!--
  62. allClassesLink = document.getElementById("allclasses_navbar_top");
  63. if(window==top) {
  64. allClassesLink.style.display = "block";
  65. }
  66. else {
  67. allClassesLink.style.display = "none";
  68. }
  69. //-->
  70. </script>
  71. </div>
  72. <div>
  73. <ul class="subNavList">
  74. <li>Summary:&nbsp;</li>
  75. <li>Nested&nbsp;|&nbsp;</li>
  76. <li>Field&nbsp;|&nbsp;</li>
  77. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  78. <li><a href="#method.summary">Method</a></li>
  79. </ul>
  80. <ul class="subNavList">
  81. <li>Detail:&nbsp;</li>
  82. <li>Field&nbsp;|&nbsp;</li>
  83. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  84. <li><a href="#method.detail">Method</a></li>
  85. </ul>
  86. </div>
  87. <a name="skip.navbar.top">
  88. <!-- -->
  89. </a></div>
  90. <!-- ========= END OF TOP NAVBAR ========= -->
  91. <!-- ======== START OF CLASS DATA ======== -->
  92. <div class="header">
  93. <h2 title="Class Staff" class="title">Class Staff</h2>
  94. </div>
  95. <div class="contentContainer">
  96. <ul class="inheritance">
  97. <li>java.lang.Object</li>
  98. <li>
  99. <ul class="inheritance">
  100. <li><a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></li>
  101. <li>
  102. <ul class="inheritance">
  103. <li>Staff</li>
  104. </ul>
  105. </li>
  106. </ul>
  107. </li>
  108. </ul>
  109. <div class="description">
  110. <ul class="blockList">
  111. <li class="blockList">
  112. <hr>
  113. <br>
  114. <pre>class <span class="typeNameLabel">Staff</span>
  115. extends <a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></pre>
  116. <div class="block">A class representing staff members for a simple BlueJ demo program.</div>
  117. <dl>
  118. <dt><span class="simpleTagLabel">Version:</span></dt>
  119. <dd>1.0, January 1999</dd>
  120. <dt><span class="simpleTagLabel">Author:</span></dt>
  121. <dd>Michael Kölling</dd>
  122. </dl>
  123. </li>
  124. </ul>
  125. </div>
  126. <div class="summary">
  127. <ul class="blockList">
  128. <li class="blockList">
  129. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  130. <ul class="blockList">
  131. <li class="blockList"><a name="constructor.summary">
  132. <!-- -->
  133. </a>
  134. <h3>Constructor Summary</h3>
  135. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  136. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  137. <tr>
  138. <th class="colOne" scope="col">Constructor and Description</th>
  139. </tr>
  140. <tr class="altColor">
  141. <td class="colOne"><code><span class="memberNameLink"><a href="Staff.html#Staff--">Staff</a></span>()</code>
  142. <div class="block">Create a staff member with default settings for detail information.</div>
  143. </td>
  144. </tr>
  145. <tr class="rowColor">
  146. <td class="colOne"><code><span class="memberNameLink"><a href="Staff.html#Staff-java.lang.String-int-java.lang.String-">Staff</a></span>(java.lang.String&nbsp;name,
  147. int&nbsp;yearOfBirth,
  148. java.lang.String&nbsp;roomNumber)</code>
  149. <div class="block">Create a staff member with given name, year of birth and room
  150. number.</div>
  151. </td>
  152. </tr>
  153. </table>
  154. </li>
  155. </ul>
  156. <!-- ========== METHOD SUMMARY =========== -->
  157. <ul class="blockList">
  158. <li class="blockList"><a name="method.summary">
  159. <!-- -->
  160. </a>
  161. <h3>Method Summary</h3>
  162. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  163. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  164. <tr>
  165. <th class="colFirst" scope="col">Modifier and Type</th>
  166. <th class="colLast" scope="col">Method and Description</th>
  167. </tr>
  168. <tr id="i0" class="altColor">
  169. <td class="colFirst"><code>java.lang.String</code></td>
  170. <td class="colLast"><code><span class="memberNameLink"><a href="Staff.html#getRoom--">getRoom</a></span>()</code>
  171. <div class="block">Return the room number of this person.</div>
  172. </td>
  173. </tr>
  174. <tr id="i1" class="rowColor">
  175. <td class="colFirst"><code>void</code></td>
  176. <td class="colLast"><code><span class="memberNameLink"><a href="Staff.html#setRoom-java.lang.String-">setRoom</a></span>(java.lang.String&nbsp;newRoom)</code>
  177. <div class="block">Set a new room number for this person.</div>
  178. </td>
  179. </tr>
  180. <tr id="i2" class="altColor">
  181. <td class="colFirst"><code>java.lang.String</code></td>
  182. <td class="colLast"><code><span class="memberNameLink"><a href="Staff.html#toString--">toString</a></span>()</code>
  183. <div class="block">Return a string representation of this object.</div>
  184. </td>
  185. </tr>
  186. </table>
  187. <ul class="blockList">
  188. <li class="blockList"><a name="methods.inherited.from.class.Person">
  189. <!-- -->
  190. </a>
  191. <h3>Methods inherited from class&nbsp;<a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></h3>
  192. <code><a href="Person.html#getAddress--">getAddress</a>, <a href="Person.html#getName--">getName</a>, <a href="Person.html#getYearOfBirth--">getYearOfBirth</a>, <a href="Person.html#setAddress-java.lang.String-java.lang.String-java.lang.String-">setAddress</a>, <a href="Person.html#setName-java.lang.String-">setName</a>, <a href="Person.html#setYearOfBirth-int-">setYearOfBirth</a></code></li>
  193. </ul>
  194. <ul class="blockList">
  195. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  196. <!-- -->
  197. </a>
  198. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  199. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
  200. </ul>
  201. </li>
  202. </ul>
  203. </li>
  204. </ul>
  205. </div>
  206. <div class="details">
  207. <ul class="blockList">
  208. <li class="blockList">
  209. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  210. <ul class="blockList">
  211. <li class="blockList"><a name="constructor.detail">
  212. <!-- -->
  213. </a>
  214. <h3>Constructor Detail</h3>
  215. <a name="Staff--">
  216. <!-- -->
  217. </a>
  218. <ul class="blockList">
  219. <li class="blockList">
  220. <h4>Staff</h4>
  221. <pre>Staff()</pre>
  222. <div class="block">Create a staff member with default settings for detail information.</div>
  223. </li>
  224. </ul>
  225. <a name="Staff-java.lang.String-int-java.lang.String-">
  226. <!-- -->
  227. </a>
  228. <ul class="blockListLast">
  229. <li class="blockList">
  230. <h4>Staff</h4>
  231. <pre>Staff(java.lang.String&nbsp;name,
  232. int&nbsp;yearOfBirth,
  233. java.lang.String&nbsp;roomNumber)</pre>
  234. <div class="block">Create a staff member with given name, year of birth and room
  235. number.</div>
  236. </li>
  237. </ul>
  238. </li>
  239. </ul>
  240. <!-- ============ METHOD DETAIL ========== -->
  241. <ul class="blockList">
  242. <li class="blockList"><a name="method.detail">
  243. <!-- -->
  244. </a>
  245. <h3>Method Detail</h3>
  246. <a name="getRoom--">
  247. <!-- -->
  248. </a>
  249. <ul class="blockList">
  250. <li class="blockList">
  251. <h4>getRoom</h4>
  252. <pre>public&nbsp;java.lang.String&nbsp;getRoom()</pre>
  253. <div class="block">Return the room number of this person.</div>
  254. </li>
  255. </ul>
  256. <a name="setRoom-java.lang.String-">
  257. <!-- -->
  258. </a>
  259. <ul class="blockList">
  260. <li class="blockList">
  261. <h4>setRoom</h4>
  262. <pre>public&nbsp;void&nbsp;setRoom(java.lang.String&nbsp;newRoom)</pre>
  263. <div class="block">Set a new room number for this person.</div>
  264. </li>
  265. </ul>
  266. <a name="toString--">
  267. <!-- -->
  268. </a>
  269. <ul class="blockListLast">
  270. <li class="blockList">
  271. <h4>toString</h4>
  272. <pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
  273. <div class="block">Return a string representation of this object.</div>
  274. <dl>
  275. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  276. <dd><code><a href="Person.html#toString--">toString</a></code>&nbsp;in class&nbsp;<code><a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></code></dd>
  277. </dl>
  278. </li>
  279. </ul>
  280. </li>
  281. </ul>
  282. </li>
  283. </ul>
  284. </div>
  285. </div>
  286. <!-- ========= END OF CLASS DATA ========= -->
  287. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  288. <div class="bottomNav"><a name="navbar.bottom">
  289. <!-- -->
  290. </a>
  291. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  292. <a name="navbar.bottom.firstrow">
  293. <!-- -->
  294. </a>
  295. <ul class="navList" title="Navigation">
  296. <li><a href="package-summary.html">Package</a></li>
  297. <li class="navBarCell1Rev">Class</li>
  298. <li><a href="package-tree.html">Tree</a></li>
  299. <li><a href="index-all.html">Index</a></li>
  300. <li><a href="help-doc.html">Help</a></li>
  301. </ul>
  302. </div>
  303. <div class="subNav">
  304. <ul class="navList">
  305. <li><a href="Person.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  306. <li><a href="Student.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  307. </ul>
  308. <ul class="navList">
  309. <li><a href="index.html?Staff.html" target="_top">Frames</a></li>
  310. <li><a href="Staff.html" target="_top">No&nbsp;Frames</a></li>
  311. </ul>
  312. <ul class="navList" id="allclasses_navbar_bottom">
  313. <li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
  314. </ul>
  315. <div>
  316. <script type="text/javascript"><!--
  317. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  318. if(window==top) {
  319. allClassesLink.style.display = "block";
  320. }
  321. else {
  322. allClassesLink.style.display = "none";
  323. }
  324. //-->
  325. </script>
  326. </div>
  327. <div>
  328. <ul class="subNavList">
  329. <li>Summary:&nbsp;</li>
  330. <li>Nested&nbsp;|&nbsp;</li>
  331. <li>Field&nbsp;|&nbsp;</li>
  332. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  333. <li><a href="#method.summary">Method</a></li>
  334. </ul>
  335. <ul class="subNavList">
  336. <li>Detail:&nbsp;</li>
  337. <li>Field&nbsp;|&nbsp;</li>
  338. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  339. <li><a href="#method.detail">Method</a></li>
  340. </ul>
  341. </div>
  342. <a name="skip.navbar.bottom">
  343. <!-- -->
  344. </a></div>
  345. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  346. </body>
  347. </html>