|
||||||||||
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 objectMethod Detail |
---|
public WhoAmI birthMyChild(java.lang.String childsName)
birthMyChild
in interface Data
childsName
- the given name for the child.
IAmNobody
public WhoAmI birthMyChild(java.lang.String childsName, java.lang.String childsTag)
birthMyChild
in interface Data
childsName
- the given name for the child.childsTag
- the tag for the child.
WhoAmI
public java.lang.String toString()
toString
in interface Data
toString
in class java.lang.Object
WhoAmI
public java.lang.String toTag()
public WhoAmI getID()
getID
in interface Data
WhoAmI
public WhoAmI getCreatorID()
getCreatorID
in interface Data
WhoAmI
public int getNumeric()
getNumeric
in interface Data
public java.lang.String getNumericString()
getNumericString
in interface Data
public Data.Priority getPriority()
getPriority
in interface Data
public long getStamp()
getStamp
in interface Data
public java.lang.Object getThing()
getThing
in interface Data
public Data.Type getType()
getType
in interface Data
public AttributeReader getAttributes()
getAttributes
in interface Data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |