org.odftoolkit.simple.form
Enum FormTypeDefinition.FormCommandType

java.lang.Object
  extended by java.lang.Enum<FormTypeDefinition.FormCommandType>
      extended by org.odftoolkit.simple.form.FormTypeDefinition.FormCommandType
All Implemented Interfaces:
Serializable, Comparable<FormTypeDefinition.FormCommandType>
Enclosing class:
FormTypeDefinition

public static enum FormTypeDefinition.FormCommandType
extends Enum<FormTypeDefinition.FormCommandType>

Common used command type of form from users perspective. *

This attibute specifies the type of command to execute on a data source.


Enum Constant Summary
COMMAND
           
QUERY
           
TABLE
           
 
Method Summary
static FormTypeDefinition.FormCommandType enumValueOf(String aValue)
           
 String toString()
           
static FormTypeDefinition.FormCommandType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FormTypeDefinition.FormCommandType[] 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

COMMAND

public static final FormTypeDefinition.FormCommandType COMMAND

QUERY

public static final FormTypeDefinition.FormCommandType QUERY

TABLE

public static final FormTypeDefinition.FormCommandType TABLE
Method Detail

values

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

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

valueOf

public static FormTypeDefinition.FormCommandType 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

enumValueOf

public static FormTypeDefinition.FormCommandType enumValueOf(String aValue)

toString

public String toString()
Overrides:
toString in class Enum<FormTypeDefinition.FormCommandType>


Copyright © 2010-2017 The Apache Software Foundation. All Rights Reserved.