|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lapetus_ltd._2009.xml.types.XLptsDBStatementCriteriaType
public class XLptsDBStatementCriteriaType
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 |
---|
protected java.util.List<XLptsDBStatementCriteriaItemType> criteriaListItem
protected java.lang.String id
protected java.lang.String statementId
protected boolean substituteDynamicIntoSQLString
protected XLptsDBCriteriaType type
Constructor Detail |
---|
public XLptsDBStatementCriteriaType()
Method Detail |
---|
public java.util.List<XLptsDBStatementCriteriaItemType> getCriteriaListItem()
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
public java.lang.String getId()
String
public java.lang.String getStatementId()
String
public XLptsDBCriteriaType getType()
XLptsDBCriteriaType
public boolean isSubstituteDynamicIntoSQLString()
public void setId(java.lang.String value)
value
- allowed object is
String
public void setStatementId(java.lang.String value)
value
- allowed object is
String
public void setSubstituteDynamicIntoSQLString(boolean value)
public void setType(XLptsDBCriteriaType value)
value
- allowed object is
XLptsDBCriteriaType
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |