|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.gadgets.opensocial.model.Group
@Immutable public final class Group
Represents a group name. There are three distinguished groups: ALL, FRIENDS, and SELF. Groups are uniquely specified by their name
Field Summary | |
---|---|
static Group |
ALL
|
static Group |
FRIENDS
|
static Group |
SELF
|
Method Summary | |
---|---|
static Group |
of(String name)
Retrieve the group corresponding to the specified name |
String |
toString()
The String representation of a group (its name) |
String |
valueOf()
Fetch the (unique) name of this group |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Group ALL
public static final Group FRIENDS
public static final Group SELF
Method Detail |
---|
public static Group of(String name)
name
- The name of the group
Group
corresponding to the specified name. A new group will be created if one does not
already existpublic String valueOf()
public String toString()
String
representation of a group (its name)
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |