Page MenuHomec4science

User.html
No OneTemporary

File Metadata

Created
Sat, Jan 18, 05:05

User.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Fri Jan 10 14:26:15 CET 2014 -->
<title>User</title>
<meta name="date" content="2014-01-10">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="User";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/User.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../FrameWork/Type.html" title="enum in FrameWork"><span class="strong">Prev Class</span></a></li>
<li><a href="../FrameWork/Writer.html" title="class in FrameWork"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?FrameWork/User.html" target="_top">Frames</a></li>
<li><a href="User.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">FrameWork</div>
<h2 title="Class User" class="title">Class User</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>FrameWork.User</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../FrameWork/MedUnit.html" title="class in FrameWork">MedUnit</a>, <a href="../FrameWork/Patient.html" title="class in FrameWork">Patient</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">User</span>
extends java.lang.Object</pre>
<div class="block">The Class User.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#id">id</a></strong></code>
<div class="block">The id.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private com.cedarsoftware.util.io.JsonReader</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#jsrMU">jsrMU</a></strong></code>
<div class="block">The json reader from medical unit.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private com.cedarsoftware.util.io.JsonReader</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#jsrSPU">jsrSPU</a></strong></code>
<div class="block">The json reader from the SPU.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private com.cedarsoftware.util.io.JsonWriter</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#jswMU">jswMU</a></strong></code>
<div class="block">The json writer to medical unit.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private com.cedarsoftware.util.io.JsonWriter</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#jswSPU">jswSPU</a></strong></code>
<div class="block">The json writer to the SPU.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#name">name</a></strong></code>
<div class="block">The name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../FrameWork/ReadProperties.html" title="class in FrameWork">ReadProperties</a></code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#prop">prop</a></strong></code>
<div class="block">The properties.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../FrameWork/User.html#User()">User</a></strong>()</code>
<div class="block">Instantiates a new user.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../FrameWork/User.html#User(int, java.lang.String, com.cedarsoftware.util.io.JsonReader, com.cedarsoftware.util.io.JsonWriter)">User</a></strong>(int&nbsp;id,
java.lang.String&nbsp;name,
com.cedarsoftware.util.io.JsonReader&nbsp;jsrSPU,
com.cedarsoftware.util.io.JsonWriter&nbsp;jswSPU)</code>
<div class="block">Instantiates a new user.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.ArrayList&lt;<a href="../FrameWork/RequestPatient.html" title="class in FrameWork">RequestPatient</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#checkNewRequest()">checkNewRequest</a></strong>()</code>
<div class="block">Check if there are new request available for the patient</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#connexionToMU()">connexionToMU</a></strong>()</code>
<div class="block">Connection to medical unit.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#connexionToSPU()">connexionToSPU</a></strong>()</code>
<div class="block">Connection to spu.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#getID()">getID</a></strong>()</code>
<div class="block">Gets the id.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>com.cedarsoftware.util.io.JsonReader</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#getJsrSPU()">getJsrSPU</a></strong>()</code>
<div class="block">Gets the json reader from SPU</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>com.cedarsoftware.util.io.JsonWriter</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#getJswSPU()">getJswSPU</a></strong>()</code>
<div class="block">Gets the json writer to SPU</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#getName()">getName</a></strong>()</code>
<div class="block">Gets the name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.json.JSONObject</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#receiveFromSPU()">receiveFromSPU</a></strong>()</code>
<div class="block">Receive from spu.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#sendToSPU(org.json.JSONObject)">sendToSPU</a></strong>(org.json.JSONObject&nbsp;json)</code>
<div class="block">Send to spu.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#sentToMU(org.json.JSONObject)">sentToMU</a></strong>(org.json.JSONObject&nbsp;json)</code>
<div class="block">Sent to medical unit.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#setID(java.lang.String)">setID</a></strong>(java.lang.String&nbsp;id)</code>
<div class="block">Sets the id.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/User.html#setName(java.lang.String)">setName</a></strong>(java.lang.String&nbsp;n)</code>
<div class="block">Sets the name.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="jswSPU">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jswSPU</h4>
<pre>private&nbsp;com.cedarsoftware.util.io.JsonWriter jswSPU</pre>
<div class="block">The json writer to the SPU.</div>
</li>
</ul>
<a name="jsrSPU">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jsrSPU</h4>
<pre>private&nbsp;com.cedarsoftware.util.io.JsonReader jsrSPU</pre>
<div class="block">The json reader from the SPU.</div>
</li>
</ul>
<a name="jswMU">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jswMU</h4>
<pre>private&nbsp;com.cedarsoftware.util.io.JsonWriter jswMU</pre>
<div class="block">The json writer to medical unit.</div>
</li>
</ul>
<a name="jsrMU">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jsrMU</h4>
<pre>private&nbsp;com.cedarsoftware.util.io.JsonReader jsrMU</pre>
<div class="block">The json reader from medical unit.</div>
</li>
</ul>
<a name="name">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>name</h4>
<pre>private&nbsp;java.lang.String name</pre>
<div class="block">The name.</div>
</li>
</ul>
<a name="id">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>id</h4>
<pre>private&nbsp;int id</pre>
<div class="block">The id.</div>
</li>
</ul>
<a name="prop">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>prop</h4>
<pre>private&nbsp;<a href="../FrameWork/ReadProperties.html" title="class in FrameWork">ReadProperties</a> prop</pre>
<div class="block">The properties.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="User()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>User</h4>
<pre>public&nbsp;User()</pre>
<div class="block">Instantiates a new user.</div>
</li>
</ul>
<a name="User(int, java.lang.String, com.cedarsoftware.util.io.JsonReader, com.cedarsoftware.util.io.JsonWriter)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>User</h4>
<pre>public&nbsp;User(int&nbsp;id,
java.lang.String&nbsp;name,
com.cedarsoftware.util.io.JsonReader&nbsp;jsrSPU,
com.cedarsoftware.util.io.JsonWriter&nbsp;jswSPU)</pre>
<div class="block">Instantiates a new user.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - the id</dd><dd><code>name</code> - the name</dd><dd><code>jsrSPU</code> - the json reader from SPU</dd><dd><code>jswSPU</code> - the json writer to SPU</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="connexionToSPU()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connexionToSPU</h4>
<pre>public&nbsp;void&nbsp;connexionToSPU()</pre>
<div class="block">Connection to spu.</div>
</li>
</ul>
<a name="connexionToMU()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connexionToMU</h4>
<pre>public&nbsp;void&nbsp;connexionToMU()</pre>
<div class="block">Connection to medical unit.</div>
</li>
</ul>
<a name="sendToSPU(org.json.JSONObject)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendToSPU</h4>
<pre>public&nbsp;void&nbsp;sendToSPU(org.json.JSONObject&nbsp;json)</pre>
<div class="block">Send to spu.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>json</code> - the jsonobject</dd></dl>
</li>
</ul>
<a name="sentToMU(org.json.JSONObject)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sentToMU</h4>
<pre>public&nbsp;void&nbsp;sentToMU(org.json.JSONObject&nbsp;json)</pre>
<div class="block">Sent to medical unit.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>json</code> - the jsonobject</dd></dl>
</li>
</ul>
<a name="receiveFromSPU()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>receiveFromSPU</h4>
<pre>public&nbsp;org.json.JSONObject&nbsp;receiveFromSPU()</pre>
<div class="block">Receive from spu.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the jSON object</dd></dl>
</li>
</ul>
<a name="setName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setName</h4>
<pre>public&nbsp;void&nbsp;setName(java.lang.String&nbsp;n)</pre>
<div class="block">Sets the name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>n</code> - the new name</dd></dl>
</li>
</ul>
<a name="setID(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setID</h4>
<pre>public&nbsp;void&nbsp;setID(java.lang.String&nbsp;id)</pre>
<div class="block">Sets the id.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - the new id</dd></dl>
</li>
</ul>
<a name="getName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getName()</pre>
<div class="block">Gets the name.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the name</dd></dl>
</li>
</ul>
<a name="getID()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getID</h4>
<pre>public&nbsp;int&nbsp;getID()</pre>
<div class="block">Gets the id.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the id</dd></dl>
</li>
</ul>
<a name="getJswSPU()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJswSPU</h4>
<pre>public&nbsp;com.cedarsoftware.util.io.JsonWriter&nbsp;getJswSPU()</pre>
<div class="block">Gets the json writer to SPU</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the json writer to SPU</dd></dl>
</li>
</ul>
<a name="getJsrSPU()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJsrSPU</h4>
<pre>public&nbsp;com.cedarsoftware.util.io.JsonReader&nbsp;getJsrSPU()</pre>
<div class="block">Gets the json reader from SPU</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the json reader from SPU</dd></dl>
</li>
</ul>
<a name="checkNewRequest()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>checkNewRequest</h4>
<pre>public&nbsp;java.util.ArrayList&lt;<a href="../FrameWork/RequestPatient.html" title="class in FrameWork">RequestPatient</a>&gt;&nbsp;checkNewRequest()</pre>
<div class="block">Check if there are new request available for the patient</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the array list of request</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/User.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../FrameWork/Type.html" title="enum in FrameWork"><span class="strong">Prev Class</span></a></li>
<li><a href="../FrameWork/Writer.html" title="class in FrameWork"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?FrameWork/User.html" target="_top">Frames</a></li>
<li><a href="User.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

Event Timeline