tigase.server.sreceiver
Enum PropertyConstants.SenderRestrictions

java.lang.Object
  extended by java.lang.Enum<PropertyConstants.SenderRestrictions>
      extended by tigase.server.sreceiver.PropertyConstants.SenderRestrictions
All Implemented Interfaces:
Serializable, Comparable<PropertyConstants.SenderRestrictions>, DefaultValues
Enclosing class:
PropertyConstants

public static enum PropertyConstants.SenderRestrictions
extends Enum<PropertyConstants.SenderRestrictions>
implements DefaultValues


Enum Constant Summary
ALL
           
LIST
           
OWNER
           
SUBSCRIBED
           
 
Method Summary
 String[] strValues()
           
static PropertyConstants.SenderRestrictions valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PropertyConstants.SenderRestrictions[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALL

public static final PropertyConstants.SenderRestrictions ALL

SUBSCRIBED

public static final PropertyConstants.SenderRestrictions SUBSCRIBED

OWNER

public static final PropertyConstants.SenderRestrictions OWNER

LIST

public static final PropertyConstants.SenderRestrictions LIST
Method Detail

values

public static PropertyConstants.SenderRestrictions[] 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 (PropertyConstants.SenderRestrictions c : PropertyConstants.SenderRestrictions.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PropertyConstants.SenderRestrictions 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

strValues

public String[] strValues()
Specified by:
strValues in interface DefaultValues


Copyright © 2001-2006 Tigase Developers Team. All rights Reserved.