Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


waggle.common.modules.conversation.enums
Enum XConversationRequestState

java.lang.Object
  extended by java.lang.Enum<XConversationRequestState>
      extended by waggle.common.modules.conversation.enums.XConversationRequestState

All Implemented Interfaces:
Serializable, Comparable<XConversationRequestState>

public enum XConversationRequestState
extends Enum<XConversationRequestState>

Conversation Membership Request State.


Enum Constant Summary
PENDING
          Membership has been requested.
REJECTED
          Membership request has been rejected.
WITHDRAWN
          Membership request has been withdrawn.

 

Method Summary
 boolean isPending()
          Determine if the request state is pending.
 boolean isRejected()
          Determine if the request state is rejected.
 boolean isWithdrawn()
          Determine if the request state is withdrawn.
static XConversationRequestState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XConversationRequestState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

PENDING

public static final XConversationRequestState PENDING
Membership has been requested.

WITHDRAWN

public static final XConversationRequestState WITHDRAWN
Membership request has been withdrawn.

REJECTED

public static final XConversationRequestState REJECTED
Membership request has been rejected.

Method Detail

values

public static XConversationRequestState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (XConversationRequestState c : XConversationRequestState.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XConversationRequestState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

isPending

public boolean isPending()
Determine if the request state is pending.
Returns:
returns true if the request state is pending.

isWithdrawn

public boolean isWithdrawn()
Determine if the request state is withdrawn.
Returns:
returns true if the request state is withdrawn.

isRejected

public boolean isRejected()
Determine if the request state is rejected.
Returns:
returns true if the request state is rejected.

Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.