org.datamixer.config.functions.datamixer
Class ForEachConfig

java.lang.Object
  extended byorg.datamixer.config.ElementBase
      extended byorg.datamixer.config.GeneratorConfig
          extended byorg.datamixer.config.collections.IteratorConfig
              extended byorg.datamixer.config.containers.CollectionContainerIteratorConfig
                  extended byorg.datamixer.config.functions.FunctionConfig
                      extended byorg.datamixer.config.functions.datamixer.ForEachConfig
All Implemented Interfaces:
DatamixerConfig

public class ForEachConfig
extends FunctionConfig


Field Summary
 
Fields inherited from class org.datamixer.config.containers.CollectionContainerIteratorConfig
done_, repeatAll_
 
Fields inherited from class org.datamixer.config.collections.IteratorConfig
null_, random_, replace_, seed_
 
Constructor Summary
ForEachConfig()
           
 
Method Summary
protected  void doGetSupportedAttrs(java.util.List names)
          A list of names of supported attributes.
protected  void doInitialize()
           
 java.lang.Integer getBegin()
           
 java.lang.Integer getEnd()
           
 FunctionStrategy getStrategy()
           
 boolean setAttribute(java.lang.String name, java.lang.Object value)
          Set value into the attribute named name.
 void setBegin(java.lang.Integer begin)
           
 void setBegin(java.lang.String begin)
           
 void setEnd(java.lang.Integer end)
           
 void setEnd(java.lang.String end)
           
 
Methods inherited from class org.datamixer.config.functions.FunctionConfig
getIteratorImpl
 
Methods inherited from class org.datamixer.config.containers.CollectionContainerIteratorConfig
addElement, getCollectionContainerIteratorImpl, getDone, getRepeatAll, setDone, setRepeatAll, setRepeatAll
 
Methods inherited from class org.datamixer.config.collections.IteratorConfig
getCollectionId, getCurrent, getName, getReferenceId, getReplace, getSeed, initIteratorImpl, initRandomIteratorImpl, isNull, isRandom, resolveCollection, setCollectionId, setCurrent, setCurrent, setFormatPattern, setImplAttributes, setIteratorImpl, setName, setNull, setNull, setRandom, setRandom, setReferenceId, setReplace, setReplace, setSeed, setSeed, validate
 
Methods inherited from class org.datamixer.config.GeneratorConfig
getRepeat, setRepeat, setRepeat
 
Methods inherited from class org.datamixer.config.ElementBase
addField, addListener, error, error, error, findContext, findInContext, findInContext, findNearestContext, getAttribute, getContext, getElement, getElements, getField, getFields, getId, getImpl, getLineNumber, getListeners, getNamespace, getParent, getParentByTag, getQName, getScope, getSupportedAttrs, getSystemId, getTag, getText, initialize, initializeElements, setId, setImpl, setInContext, setInContext, setLineNumber, setListenerImpls, setNamespace, setParent, setScope, setScope, setScope, setSystemId, setTag, setText, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForEachConfig

public ForEachConfig()
Method Detail

doInitialize

protected void doInitialize()
                     throws DatamixerException
Overrides:
doInitialize in class FunctionConfig
Throws:
DatamixerException

setAttribute

public boolean setAttribute(java.lang.String name,
                            java.lang.Object value)
Set value into the attribute named name. Returns true if element was set, false otherwise.

Specified by:
setAttribute in interface DatamixerConfig
Overrides:
setAttribute in class CollectionContainerIteratorConfig

doGetSupportedAttrs

protected void doGetSupportedAttrs(java.util.List names)
A list of names of supported attributes.

Overrides:
doGetSupportedAttrs in class CollectionContainerIteratorConfig

getStrategy

public FunctionStrategy getStrategy()
Specified by:
getStrategy in class FunctionConfig

getBegin

public java.lang.Integer getBegin()

setBegin

public void setBegin(java.lang.Integer begin)

setBegin

public void setBegin(java.lang.String begin)

getEnd

public java.lang.Integer getEnd()

setEnd

public void setEnd(java.lang.Integer end)

setEnd

public void setEnd(java.lang.String end)


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