org.castor.cpa.persistence.sql.query.expression
Class NextVal

java.lang.Object
  extended by org.castor.cpa.persistence.sql.query.expression.Expression
      extended by org.castor.cpa.persistence.sql.query.expression.Function
          extended by org.castor.cpa.persistence.sql.query.expression.NextVal
All Implemented Interfaces:
QueryObject

public final class NextVal
extends Function

Class for NEXTVAL sql function.

Version:
$Revision: 8994 $ $Date: 2011-08-02 01:40:59 +0200 (Di, 02 Aug 2011) $
Author:
Ahmad Hassan, Ralf Joachim

Constructor Summary
NextVal(java.lang.String seqName)
          Constructor.
 
Method Summary
 void accept(Visitor visitor)
          Accept method to handle incoming visitors.
 java.lang.String getSeqName()
          Method to get seqName currently set.
 java.lang.String toString()
          Method constructing query string.
 
Methods inherited from class org.castor.cpa.persistence.sql.query.expression.Expression
equal, greaterEqual, greaterThan, isNotNull, isNull, lessEqual, lessThan, notEqual
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NextVal

public NextVal(java.lang.String seqName)
Constructor.

Parameters:
seqName - Name of the sequence.
Method Detail

getSeqName

public java.lang.String getSeqName()
Method to get seqName currently set.

Returns:
SeqName currently set.

accept

public void accept(Visitor visitor)
Accept method to handle incoming visitors.

Parameters:
visitor - Visitor to be handled.

toString

public java.lang.String toString()
Method constructing query string.

Overrides:
toString in class java.lang.Object
Returns:
Constructed query string.


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com