|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthings.data.Nubblet
public class Nubblet
This is a nubblet, the simplest form of Data. Nubblets have no creator.
EPG - Rewrite from another - 22May04
, 1.0
Version History
EPG - Rewrite from another project - 22 MAY 04
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface things.data.Data |
|---|
Data.Priority, Data.Type |
| Field Summary | |
|---|---|
int |
numeric
Numeric |
Data.Priority |
priority
Numeric |
protected java.lang.Object |
thing
thing |
| Constructor Summary | |
|---|---|
Nubblet()
Default constructor is not allowed. |
|
Nubblet(Data.Type t,
Data.Priority p,
int n,
java.lang.Object o)
Constructor. |
|
| Method Summary | |
|---|---|
WhoAmI |
birthMyChild(java.lang.String childsName)
Create a child ID using the given name. |
WhoAmI |
birthMyChild(java.lang.String childsName,
java.lang.String childsTag)
Create a child ID using the given name and tag. |
AttributeReader |
getAttributes()
Get the attributes. |
WhoAmI |
getCreatorID()
Get the creator's ID. |
WhoAmI |
getID()
Get the objects ID. |
int |
getNumeric()
Get the numeric value. |
java.lang.String |
getNumericString()
Get the numeric value. |
Data.Priority |
getPriority()
Get the priority.ed. |
long |
getStamp()
Get the timestamp. |
java.lang.Object |
getThing()
Get the thing (Object). |
Data.Type |
getType()
Get the type. |
java.lang.String |
toString()
Give a textual ID. |
java.lang.String |
toTag()
Give a TAG version of the ID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Object thing
public int numeric
public Data.Priority priority
| Constructor Detail |
|---|
public Nubblet()
throws java.lang.Throwable
java.lang.Throwable
public Nubblet(Data.Type t,
Data.Priority p,
int n,
java.lang.Object o)
t - the typep - the priorityn - the numerico - the object| Method Detail |
|---|
public WhoAmI birthMyChild(java.lang.String childsName)
birthMyChild in interface DatachildsName - the given name for the child.
IAmNobody
public WhoAmI birthMyChild(java.lang.String childsName,
java.lang.String childsTag)
birthMyChild in interface DatachildsName - the given name for the child.childsTag - the tag for the child.
WhoAmIpublic java.lang.String toString()
toString in interface DatatoString in class java.lang.ObjectWhoAmIpublic java.lang.String toTag()
public WhoAmI getID()
getID in interface DataWhoAmIpublic WhoAmI getCreatorID()
getCreatorID in interface DataWhoAmIpublic int getNumeric()
getNumeric in interface Datapublic java.lang.String getNumericString()
getNumericString in interface Datapublic Data.Priority getPriority()
getPriority in interface Datapublic long getStamp()
getStamp in interface Datapublic java.lang.Object getThing()
getThing in interface Datapublic Data.Type getType()
getType in interface Datapublic AttributeReader getAttributes()
getAttributes in interface Data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||