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

com.lapetus_ltd._2009.xml.types
Enum XLptsDBCriteriaType

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

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

Java class for XLptsDBCriteriaType.

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

 <simpleType name="XLptsDBCriteriaType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="NONE"/>
     <enumeration value="STATIC"/>
     <enumeration value="JOIN"/>
     <enumeration value="DYNAMIC"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
DYNAMIC
          This is specified in XLptsDBStatementParameterType of XLptsDBStatementType, and indicates that the data in the WHERE statement is being fed into the SQL Statement by another TLptsStatement.
JOIN
          This is specified in XLptsDBStatementParameterType of XLptsDBStatementType, and indicates that there is a JOIN clause in the SQL statement.
NONE
          This is specified in XLptsDBStatementParameterType of XLptsDBStatementType, and indicates that there are no criteria (no WHERE CLAUSE).
STATIC
          This is specified in XLptsDBStatementParameterType of XLptsDBStatementType, and indicates that there is static criteria (WHERE COLUMN='A').
 
Method Summary
static XLptsDBCriteriaType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static XLptsDBCriteriaType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static XLptsDBCriteriaType[] 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

DYNAMIC

public static final XLptsDBCriteriaType DYNAMIC
This is specified in XLptsDBStatementParameterType of XLptsDBStatementType, and indicates that the data in the WHERE statement is being fed into the SQL Statement by another TLptsStatement. This means that this statement is dynamic and the other statement is the primary. For every record of the primary the current SQL statement is executed with values from the primary's current row.


JOIN

public static final XLptsDBCriteriaType JOIN
This is specified in XLptsDBStatementParameterType of XLptsDBStatementType, and indicates that there is a JOIN clause in the SQL statement. The XLptsDBJoinType indicates what kind of JOIN is required.


NONE

public static final XLptsDBCriteriaType NONE
This is specified in XLptsDBStatementParameterType of XLptsDBStatementType, and indicates that there are no criteria (no WHERE CLAUSE).


STATIC

public static final XLptsDBCriteriaType STATIC
This is specified in XLptsDBStatementParameterType of XLptsDBStatementType, and indicates that there is static criteria (WHERE COLUMN='A').

Method Detail

fromValue

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

value

public java.lang.String value()

valueOf

public static XLptsDBCriteriaType 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 XLptsDBCriteriaType[] 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 (XLptsDBCriteriaType c : XLptsDBCriteriaType.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)