|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 internallyMethod Detail |
---|
public String value()
String
.
String
public String toString()
toString
in class Object
public static AppId valueOf(String id)
String
value to a AppId
object.
id
- String
value to use
AppId
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 |