org.jcoderz.phoenix.sqlparser
Class CreateSequenceStatement

java.lang.Object
  extended by org.jcoderz.phoenix.sqlparser.SqlStatement
      extended by org.jcoderz.phoenix.sqlparser.CreateSequenceStatement

public class CreateSequenceStatement
extends SqlStatement

Author:
Albrecht Messner

Constructor Summary
CreateSequenceStatement(String name)
           
 
Method Summary
 long getCache()
           
 long getIncrementBy()
           
 Long getMaxValue()
           
 Long getMinValue()
           
 String getName()
           
 Long getStartWith()
           
 boolean isCycle()
           
 boolean isNoMaxValue()
           
 boolean isNoMinValue()
           
 boolean isOrder()
           
 void setCache(long cache)
           
 void setCycle(boolean cycle)
           
 void setIncrementBy(long incrementBy)
           
 void setMaxValue(Long maxValue)
           
 void setMinValue(Long minValue)
           
 void setNoMaxValue(boolean noMaxValue)
           
 void setNoMinValue(boolean noMinValue)
           
 void setOrder(boolean order)
           
 void setStartWith(Long startWith)
           
 String toString()
          
 
Methods inherited from class org.jcoderz.phoenix.sqlparser.SqlStatement
getAnnotation, setAnnotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateSequenceStatement

public CreateSequenceStatement(String name)
Method Detail

toString

public String toString()

Overrides:
toString in class Object

getName

public String getName()
Returns:
Returns the name.

getCache

public long getCache()
Returns:
Returns the cache.

setCache

public void setCache(long cache)
Parameters:
cache - The cache to set.

isCycle

public boolean isCycle()
Returns:
Returns the cycle.

setCycle

public void setCycle(boolean cycle)
Parameters:
cycle - The cycle to set.

getIncrementBy

public long getIncrementBy()
Returns:
Returns the incrementBy.

setIncrementBy

public void setIncrementBy(long incrementBy)
Parameters:
incrementBy - The incrementBy to set.

getMaxValue

public Long getMaxValue()
Returns:
Returns the maxValue.

setMaxValue

public void setMaxValue(Long maxValue)
Parameters:
maxValue - The maxValue to set.

getMinValue

public Long getMinValue()
Returns:
Returns the minValue.

setMinValue

public void setMinValue(Long minValue)
Parameters:
minValue - The minValue to set.

isNoMaxValue

public boolean isNoMaxValue()
Returns:
Returns the noMaxValue.

setNoMaxValue

public void setNoMaxValue(boolean noMaxValue)
Parameters:
noMaxValue - The noMaxValue to set.

isNoMinValue

public boolean isNoMinValue()
Returns:
Returns the noMinValue.

setNoMinValue

public void setNoMinValue(boolean noMinValue)
Parameters:
noMinValue - The noMinValue to set.

isOrder

public boolean isOrder()
Returns:
Returns the order.

setOrder

public void setOrder(boolean order)
Parameters:
order - The order to set.

getStartWith

public Long getStartWith()
Returns:
Returns the startWith.

setStartWith

public void setStartWith(Long startWith)
Parameters:
startWith - The startWith to set.


Copyright 2007 The jCoderZ Project.