org.apache.wink.common.model.app
Enum AppYesNo

java.lang.Object
  extended by java.lang.Enum<AppYesNo>
      extended by org.apache.wink.common.model.app.AppYesNo
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AppYesNo>

public enum AppYesNo
extends java.lang.Enum<AppYesNo>

An enum for specifying the value of a "fixed" attribute of the app:categories element


Enum Constant Summary
NO
           
YES
           
 
Method Summary
static AppYesNo fromValue(java.lang.String v)
           
 java.lang.String toString()
           
 java.lang.String value()
           
static AppYesNo valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AppYesNo[] 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, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

YES

public static final AppYesNo YES

NO

public static final AppYesNo NO
Method Detail

values

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

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

valueOf

public static AppYesNo 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

value

public java.lang.String value()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<AppYesNo>

fromValue

public static AppYesNo fromValue(java.lang.String v)


Copyright © 2009 The Apache Software Foundation. All Rights Reserved.