|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectist.palcom.simulated.mstone.DiabetesTest
public class DiabetesTest
A simple DiabetesTest used with the MStone device contain one value; test, and is taggable
| Constructor Summary | |
|---|---|
DiabetesTest()
|
|
DiabetesTest(java.lang.String test)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
int |
getid()
|
java.lang.String |
getTest()
|
byte[] |
persist()
Called to persist an object. |
void |
resurrect(byte[] data)
Called to resurrect a persistent object. |
void |
setid(int id)
Handle object id, i.e. makes objects unique |
void |
setTest(java.lang.String test)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DiabetesTest()
public DiabetesTest(java.lang.String test)
| Method Detail |
|---|
public int getid()
getid in interface Taggablepublic void setid(int id)
Taggable
setid in interface Taggablepublic java.lang.Object clone()
clone in interface Taggableclone in class java.lang.Objectpublic java.lang.String getTest()
public void setTest(java.lang.String test)
public byte[] persist()
throws java.io.IOException
Persistent
persist in interface Persistentjava.io.IOException
public void resurrect(byte[] data)
throws java.io.IOException
Persistent
resurrect in interface Persistentdata - the seralized byte array
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||