|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthings.thinger.io.conduits.ConduitID
public class ConduitID
A ConduitID. It implements WHoAmI, so it can express a conduit ID as a unique String.
Version History
EPG - Adapted from autohit - 29 JUN 05
Field Summary | |
---|---|
static java.lang.String |
CONDUIT_ID_SEPERATOR
Defines the path separator for a conduit it. |
Constructor Summary | |
---|---|
ConduitID(java.lang.String imposedID)
Construct with an imposed ID; |
|
ConduitID(java.lang.String imposedID,
java.lang.String imposedTAG)
Construct with an imposed ID; |
Method Summary | |
---|---|
ConduitID |
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. |
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 |
---|
public static final java.lang.String CONDUIT_ID_SEPERATOR
Constructor Detail |
---|
public ConduitID(java.lang.String imposedID)
imposedID
- The id imposed by the constructing caller.public ConduitID(java.lang.String imposedID, java.lang.String imposedTAG)
imposedID
- The id imposed by the constructing caller.imposedTAG
- The optional TAG of the caller, not to be used to positive identification.Method Detail |
---|
public java.lang.String toString()
toString
in interface WhoAmI
toString
in class java.lang.Object
public java.lang.String toTag()
toTag
in interface WhoAmI
public ConduitID birthMyChild(java.lang.String childsName)
birthMyChild
in interface WhoAmI
childsName
- the given name for the child.
public WhoAmI birthMyChild(java.lang.String childsName, java.lang.String childsTag)
birthMyChild
in interface WhoAmI
childsName
- the given name for the child.childsTag
- the tag for the child.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |