|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 internally| Method Detail |
|---|
public String value()
String.
Stringpublic String toString()
toString in class Objectpublic static ActivityId valueOf(String id)
String value to a ActivityId object.
id - String value to use
ActivityId with the underlying value of idpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||