|
Openfire 3.7.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<MUCRole.Affiliation> org.jivesoftware.openfire.muc.MUCRole.Affiliation
public static enum MUCRole.Affiliation
Enum Constant Summary | |
---|---|
admin
Administrator of the room. |
|
member
A user who is on the "whitelist" for a members-only room or who is registered with an open room. |
|
none
A user who doesn't have an affiliation. |
|
outcast
A user who has been banned from a room. |
|
owner
Owner of the room. |
Method Summary | |
---|---|
int |
getValue()
Returns the value for the role. |
static MUCRole.Affiliation |
valueOf(int value)
Returns the affiliation associated with the specified value. |
static MUCRole.Affiliation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MUCRole.Affiliation[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MUCRole.Affiliation owner
public static final MUCRole.Affiliation admin
public static final MUCRole.Affiliation member
public static final MUCRole.Affiliation outcast
public static final MUCRole.Affiliation none
Method Detail |
---|
public static final MUCRole.Affiliation[] values()
for(MUCRole.Affiliation c : MUCRole.Affiliation.values()) System.out.println(c);
public static MUCRole.Affiliation valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int getValue()
public static MUCRole.Affiliation valueOf(int value)
value
- the value.
|
Openfire 3.7.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |