org.datamixer.collections
Class ConstantsIterator

java.lang.Object
  extended byorg.datamixer.collections.DatamixerIterator
      extended byorg.datamixer.collections.ConstantsIterator
All Implemented Interfaces:
DatamixerEventGenerator, java.util.Iterator

public class ConstantsIterator
extends DatamixerIterator


Field Summary
protected  Value value_
          the constant value
 
Fields inherited from class org.datamixer.collections.DatamixerIterator
collection_, debugEnabled_, done_, doneChecked_, doneListeners_, format_, formatPattern_, id_, infoEnabled_, initialized_, logger_, name_, nextListeners_, path_, repeat_, repeatSet_
 
Constructor Summary
ConstantsIterator()
           
ConstantsIterator(Value value)
           
 
Method Summary
protected  Value doGetCurrentValue()
          Returns the value most recently returned by nextValue().
 int getDataType()
          Returns the datatype.
 Value getValue()
          Sets the constant.
 void setValue(Value value)
          Returns the constant.
 
Methods inherited from class org.datamixer.collections.DatamixerIterator
addDatamixerListener, doDone, doFireDatamixerEvent, doGenerate, doInitialize, doReset, fireDatamixerEvent, generate, getCollection, getContainer, getCurrent, getCurrentValue, getFormat, getFormatPattern, getHasNext, getId, getListeners, getName, getNext, getNextValue, getPath, getRepeat, hasNext, initialize, next, remove, removeDatamixerListener, reset, setCollection, setContainer, setCurrentValue, setDataType, setFormatPattern, setId, setName, setRepeat, toString, updateCurrentValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value_

protected Value value_
the constant value

Constructor Detail

ConstantsIterator

public ConstantsIterator()

ConstantsIterator

public ConstantsIterator(Value value)
Method Detail

getDataType

public int getDataType()
Returns the datatype. Datatypes are integers, defined in java.sql.Types.

Overrides:
getDataType in class DatamixerIterator

doGetCurrentValue

protected Value doGetCurrentValue()
Returns the value most recently returned by nextValue().

Specified by:
doGetCurrentValue in class DatamixerIterator
Returns:
the current value.

getValue

public Value getValue()
Sets the constant.


setValue

public void setValue(Value value)
Returns the constant.



Copyright © 2004-2006 datamixer.org. All Rights Reserved.