|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.p2p.scribe.Topic
Field Summary | |
protected Id |
id
The Id to which this topic is mapped |
Constructor Summary | |
Topic(Id id)
Constructor which takes an Id for this topic |
|
Topic(IdFactory factory,
java.lang.String name)
Constructor which takes a name for this topic |
Method Summary | |
boolean |
equals(java.lang.Object o)
Returns whether this is equal to o or not |
Id |
getId()
Returns the Id to which this topic is mapped |
static Id |
getId(IdFactory factory,
java.lang.String name)
Returns the Id to which the string is mapped |
int |
hashCode()
Returns the hashCode for this topic |
java.lang.String |
toString()
Returns a String representation of this topic |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Id id
Constructor Detail |
public Topic(Id id)
id
- The Id for this topicpublic Topic(IdFactory factory, java.lang.String name)
factory
- The factory to use when creating the idname
- The name for this topicMethod Detail |
public Id getId()
public static Id getId(IdFactory factory, java.lang.String name)
factory
- The factory to use when creating the idname
- The string to map
public boolean equals(java.lang.Object o)
o
- The object to compare to
public int hashCode()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |