com.uwyn.rife.database.queries
Class SequenceValue

java.lang.Object
  extended by com.uwyn.rife.database.queries.SequenceValue
All Implemented Interfaces:
Query, ReadQuery, Cloneable

public class SequenceValue
extends Object
implements Cloneable, ReadQuery


Nested Class Summary
static class SequenceValue.Operation
           
 
Field Summary
static SequenceValue.Operation CURRENT
           
protected  Datasource mDatasource
           
protected  boolean mExcludeUnsupportedCapabilities
           
protected  String mSql
           
static SequenceValue.Operation NEXT
           
 
Constructor Summary
SequenceValue(Datasource datasource)
           
 
Method Summary
 void clear()
           
protected  void clearGenerated()
           
 SequenceValue clone()
           
 SequenceValue current()
           
 com.uwyn.rife.database.capabilities.Capabilities getCapabilities()
           
 Datasource getDatasource()
           
 String getName()
           
 SequenceValue.Operation getOperation()
           
 QueryParameters getParameters()
           
 String getSql()
           
 SequenceValue name(String name)
           
 SequenceValue next()
           
 SequenceValue operation(SequenceValue.Operation operation)
           
 void setExcludeUnsupportedCapabilities(boolean flag)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.uwyn.rife.database.queries.Query
getParameters, setExcludeUnsupportedCapabilities
 

Field Detail

NEXT

public static final SequenceValue.Operation NEXT

CURRENT

public static final SequenceValue.Operation CURRENT

mDatasource

protected Datasource mDatasource

mSql

protected String mSql

mExcludeUnsupportedCapabilities

protected boolean mExcludeUnsupportedCapabilities
Constructor Detail

SequenceValue

public SequenceValue(Datasource datasource)
Method Detail

clear

public void clear()
Specified by:
clear in interface Query

getName

public String getName()

getOperation

public SequenceValue.Operation getOperation()

getCapabilities

public com.uwyn.rife.database.capabilities.Capabilities getCapabilities()
Specified by:
getCapabilities in interface Query

getSql

public String getSql()
              throws DbQueryException
Specified by:
getSql in interface Query
Throws:
DbQueryException

name

public SequenceValue name(String name)

operation

public SequenceValue operation(SequenceValue.Operation operation)

next

public SequenceValue next()

current

public SequenceValue current()

clone

public SequenceValue clone()

getDatasource

public Datasource getDatasource()

getParameters

public QueryParameters getParameters()
Specified by:
getParameters in interface Query

setExcludeUnsupportedCapabilities

public void setExcludeUnsupportedCapabilities(boolean flag)
Specified by:
setExcludeUnsupportedCapabilities in interface Query

clearGenerated

protected void clearGenerated()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.