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

com.lapetus_ltd._2009.xml.types
Class XLptsDBStatementCriteriaType

java.lang.Object
  extended by com.lapetus_ltd._2009.xml.types.XLptsDBStatementCriteriaType
Direct Known Subclasses:
TLptsDBStatementCriteriaType

public class XLptsDBStatementCriteriaType
extends java.lang.Object

XSD Generated Class: This structure holds the criteria information for a statement. This information can also relate to another statement if there is a relationship of primary to dynamic. A dynamic statement is a statement that gets the values in the WHERE clause from another statement that is running. Actually, the data comes form the rowset that results from the other (primary) statement. This means that every row of the primary rowset is fed to the dynamic statement and the statement is executed repeatedly, producing a relative rowset, until the primary rowset is complete. The levels of the relations for the statement is unlimited, with all the processing being taken care of by the dbJAPI rowset processor. The XLptsDBParameterType holds the type of statement relation for the WHERE or JOIN. We have NONE, JOIN (for normal SQL JOIN capabilities), STATIC for the simple WHERE SOMETHING=VALUE static data, and DYNAMIC for relating one statement to another as mentioned above. Refs: XLptsDBStatementType.getCriteriaType(),TLptsStatement.setPrimaryStatement(java.lang.String, boolean), TLptsStatement.addPrimaryRelationship(int, int[], java.lang.String)

Java class for XLptsDBStatementCriteriaType complex type.

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

 <complexType name="XLptsDBStatementCriteriaType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="statementId" type="{http://www.lapetus-ltd.com/2009/xml/types}XLptsIdentifierType"/>
         <element name="type" type="{http://www.lapetus-ltd.com/2009/xml/types}XLptsDBCriteriaType"/>
         <element name="criteriaListItem" type="{http://www.lapetus-ltd.com/2009/xml/types}XLptsDBStatementCriteriaItemType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="substituteDynamicIntoSQLString" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.lapetus-ltd.com/2009/xml/types}XLptsIdentifierType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<XLptsDBStatementCriteriaItemType> criteriaListItem
           
protected  java.lang.String id
           
protected  java.lang.String statementId
           
protected  boolean substituteDynamicIntoSQLString
           
protected  XLptsDBCriteriaType type
           
 
Constructor Summary
XLptsDBStatementCriteriaType()
           
 
Method Summary
 java.util.List<XLptsDBStatementCriteriaItemType> getCriteriaListItem()
          Gets the value of the criteriaListItem property.
 java.lang.String getId()
          Gets the value of the id property.
 java.lang.String getStatementId()
          Gets the value of the statementId property.
 XLptsDBCriteriaType getType()
          Gets the value of the type property.
 boolean isSubstituteDynamicIntoSQLString()
          Gets the value of the substituteDynamicIntoSQLString property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setStatementId(java.lang.String value)
          Sets the value of the statementId property.
 void setSubstituteDynamicIntoSQLString(boolean value)
          Sets the value of the substituteDynamicIntoSQLString property.
 void setType(XLptsDBCriteriaType value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

criteriaListItem

protected java.util.List<XLptsDBStatementCriteriaItemType> criteriaListItem

id

protected java.lang.String id

statementId

protected java.lang.String statementId

substituteDynamicIntoSQLString

protected boolean substituteDynamicIntoSQLString

type

protected XLptsDBCriteriaType type
Constructor Detail

XLptsDBStatementCriteriaType

public XLptsDBStatementCriteriaType()
Method Detail

getCriteriaListItem

public java.util.List<XLptsDBStatementCriteriaItemType> getCriteriaListItem()
Gets the value of the criteriaListItem property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the criteriaListItem property.

For example, to add a new item, do as follows:

    getCriteriaListItem().add(newItem);
 

Objects of the following type(s) are allowed in the list XLptsDBStatementCriteriaItemType


getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

getStatementId

public java.lang.String getStatementId()
Gets the value of the statementId property.

Returns:
possible object is String

getType

public XLptsDBCriteriaType getType()
Gets the value of the type property.

Returns:
possible object is XLptsDBCriteriaType

isSubstituteDynamicIntoSQLString

public boolean isSubstituteDynamicIntoSQLString()
Gets the value of the substituteDynamicIntoSQLString property.


setId

public void setId(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

setStatementId

public void setStatementId(java.lang.String value)
Sets the value of the statementId property.

Parameters:
value - allowed object is String

setSubstituteDynamicIntoSQLString

public void setSubstituteDynamicIntoSQLString(boolean value)
Sets the value of the substituteDynamicIntoSQLString property.


setType

public void setType(XLptsDBCriteriaType value)
Sets the value of the type property.

Parameters:
value - allowed object is XLptsDBCriteriaType


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