net.sf.xaj.web
Enum XmlDbWebConstants.BatchTask

java.lang.Object
  extended by java.lang.Enum<XmlDbWebConstants.BatchTask>
      extended by net.sf.xaj.web.XmlDbWebConstants.BatchTask
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<XmlDbWebConstants.BatchTask>
Enclosing class:
XmlDbWebConstants

public static enum XmlDbWebConstants.BatchTask
extends java.lang.Enum<XmlDbWebConstants.BatchTask>

The batch task to perform.


Enum Constant Summary
DELETE
          Delete a document from the database.
DELETE_BY_XQUERY
          Delete via an XQuery.
GET
          Get a document by ID.
STORE
          Store XML into the database.
 
Method Summary
static XmlDbWebConstants.BatchTask valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static XmlDbWebConstants.BatchTask[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GET

public static final XmlDbWebConstants.BatchTask GET
Get a document by ID.


STORE

public static final XmlDbWebConstants.BatchTask STORE
Store XML into the database.


DELETE

public static final XmlDbWebConstants.BatchTask DELETE
Delete a document from the database.


DELETE_BY_XQUERY

public static final XmlDbWebConstants.BatchTask DELETE_BY_XQUERY
Delete via an XQuery.

Method Detail

values

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

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

valueOf

public static XmlDbWebConstants.BatchTask 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