com.google.gdata.model.atompub
Enum Categories.Fixed

java.lang.Object
  extended by java.lang.Enum<Categories.Fixed>
      extended by com.google.gdata.model.atompub.Categories.Fixed
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Categories.Fixed>
Enclosing class:
Categories

public static enum Categories.Fixed
extends java.lang.Enum<Categories.Fixed>

Indicates whether the list of categories is a fixed or an open set.


Enum Constant Summary
NO
          Is not fixed.
YES
          Is fixed.
 
Method Summary
static Categories.Fixed fromString(java.lang.String value)
          Convert from a string representation of Fixed to an instance.
 java.lang.String toString()
          Returns the string representation of this instance, suitable for use in output.
static Categories.Fixed valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Categories.Fixed[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NO

public static final Categories.Fixed NO
Is not fixed.


YES

public static final Categories.Fixed YES
Is fixed.

Method Detail

values

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

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

valueOf

public static Categories.Fixed valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Returns the string representation of this instance, suitable for use in output. This is a lowercase version of the name.

Overrides:
toString in class java.lang.Enum<Categories.Fixed>

fromString

public static Categories.Fixed fromString(java.lang.String value)
Convert from a string representation of Fixed to an instance. Unlike valueOf(String) this method will return null if an enum for the given value does not exist.

Parameters:
value - the string representation to look up.
Returns:
an instance if one matched the given string, or null if none was found.