|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.gadgets.opensocial.model.AppId
@Immutable public final class AppId
Representation of the identifier for a particular application, e.g. gadget type such as the Chart Gadget.
| Constructor Summary | |
|---|---|
AppId(String id)
Creates a new AppId 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 AppId |
valueOf(String id)
Convert the String value to a AppId object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AppId(String id)
id - the String id stored internally| Method Detail |
|---|
public String value()
String.
Stringpublic String toString()
toString in class Objectpublic static AppId valueOf(String id)
String value to a AppId object.
id - String value to use
AppId 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 | |||||||||