|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.gadgets.opensocial.model.ActivityId
@Immutable public final class ActivityId
Representation of the unique identifier for a particular activity.
Constructor Summary | |
---|---|
ActivityId(String id)
Creates a new ActivityId that wraps the id passed in |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
int |
hashCode()
|
String |
toString()
|
String |
value()
Returns the value of the identifier as a String . |
static ActivityId |
valueOf(String id)
Convert the String value to a ActivityId object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ActivityId(String id)
id
- the String
id stored internallyMethod Detail |
---|
public String value()
String
.
String
public String toString()
toString
in class Object
public static ActivityId valueOf(String id)
String
value to a ActivityId
object.
id
- String
value to use
ActivityId
with the underlying value of id
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |