Copyright 2009,2010, Lapetus Systems Ltd. (All rights reserved)

com.lapetus_ltd._2009.xml.types
Enum XLptsDBTypeOfStatementType

java.lang.Object
  extended by java.lang.Enum<XLptsDBTypeOfStatementType>
      extended by com.lapetus_ltd._2009.xml.types.XLptsDBTypeOfStatementType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<XLptsDBTypeOfStatementType>

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

Java class for XLptsDBTypeOfStatementType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="XLptsDBTypeOfStatementType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="SELECT"/>
     <enumeration value="CREATE"/>
     <enumeration value="UPDATE"/>
     <enumeration value="INSERT"/>
     <enumeration value="DELETE"/>
     <enumeration value="OTHER"/>
     <enumeration value="UPDATE_SOURCE"/>
     <enumeration value="DELETE_SOURCE"/>
     <enumeration value="INSERT_SOURCE"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
CREATE
          Set this in XLptsDBStatementType to create table and column with a statement (TLptsStatement) with TLptsStatementFactory.
DELETE
          Set this in XLptsDBStatementType to create a DELETE statement (TLptsStatement) with TLptsStatementFactory.
DELETE_SOURCE
          Used internally by TLptsStatementFactory.
INSERT
          Set this in XLptsDBStatementType to create aa INSERT statement (TLptsStatement) with TLptsStatementFactory.
INSERT_SOURCE
          Used internally by TLptsStatementFactory.
OTHER
          Set this in XLptsDBStatementType to declare a statement that is not any of the other supported types.
SELECT
          Set this in XLptsDBStatementType to create a SELECT statement (TLptsStatement) with TLptsStatementFactory.
UPDATE
          Set this in XLptsDBStatementType to create an UPDATE statement (TLptsStatement) with TLptsStatementFactory.
UPDATE_SOURCE
          Used internally by TLptsStatementFactory.
 
Method Summary
static XLptsDBTypeOfStatementType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static XLptsDBTypeOfStatementType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static XLptsDBTypeOfStatementType[] 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

CREATE

public static final XLptsDBTypeOfStatementType CREATE
Set this in XLptsDBStatementType to create table and column with a statement (TLptsStatement) with TLptsStatementFactory.


DELETE

public static final XLptsDBTypeOfStatementType DELETE
Set this in XLptsDBStatementType to create a DELETE statement (TLptsStatement) with TLptsStatementFactory.


DELETE_SOURCE

public static final XLptsDBTypeOfStatementType DELETE_SOURCE
Used internally by TLptsStatementFactory.


INSERT

public static final XLptsDBTypeOfStatementType INSERT
Set this in XLptsDBStatementType to create aa INSERT statement (TLptsStatement) with TLptsStatementFactory.


INSERT_SOURCE

public static final XLptsDBTypeOfStatementType INSERT_SOURCE
Used internally by TLptsStatementFactory.


OTHER

public static final XLptsDBTypeOfStatementType OTHER
Set this in XLptsDBStatementType to declare a statement that is not any of the other supported types. TLptsStatementFactory.executeOtherStatement should be used to execute this and the CREATE statement.


SELECT

public static final XLptsDBTypeOfStatementType SELECT
Set this in XLptsDBStatementType to create a SELECT statement (TLptsStatement) with TLptsStatementFactory.


UPDATE

public static final XLptsDBTypeOfStatementType UPDATE
Set this in XLptsDBStatementType to create an UPDATE statement (TLptsStatement) with TLptsStatementFactory.


UPDATE_SOURCE

public static final XLptsDBTypeOfStatementType UPDATE_SOURCE
Used internally by TLptsStatementFactory.

Method Detail

fromValue

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

value

public java.lang.String value()

valueOf

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

values

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

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


Copyright 2009,2010, Lapetus Systems Ltd. (All rights reserved)