com.softwareag.tamino.db.api.accessor
Class TXQueryBuilder

java.lang.Object
  extended by com.softwareag.tamino.db.api.accessor.TXQueryBuilder

public class TXQueryBuilder
extends java.lang.Object

TXQueryBuilder is a helper class that can be used for building TXQuery instances for often used xquery expressions. This class implements the singleton pattern, i.e. there is always only one instance of this class available.

Version:
$Revision: 1.2 $
Author:
Stefan Liebig

Constructor Summary
protected TXQueryBuilder()
          Initializes the TXQueryBuilder.
 
Method Summary
 TXQuery buildUpdate(java.lang.String xUpdateQueryExpression)
          Builds a TXQuery instance for a update query.
static TXQueryBuilder getInstance()
          Gets the singleton instance of the TXQueryBuilder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TXQueryBuilder

protected TXQueryBuilder()
Initializes the TXQueryBuilder.

Method Detail

getInstance

public static TXQueryBuilder getInstance()
Gets the singleton instance of the TXQueryBuilder.

Returns:
the singleton TXQueryBuilder instance.

buildUpdate

public TXQuery buildUpdate(java.lang.String xUpdateQueryExpression)
Builds a TXQuery instance for a update query.

Parameters:
xUpdateQuery - the update query expression.
Returns:
TXQuery instance for the update query expression.


Copyright (c) 2013 Software AG. All Rights Reserved.