ch.tatool.core.element
Class CompoundElement

java.lang.Object
  extended by ch.tatool.core.element.AbstractPropertyHolder
      extended by ch.tatool.core.element.NodeImpl
          extended by ch.tatool.core.element.AbstractElement
              extended by ch.tatool.core.element.CompoundElement
All Implemented Interfaces:
PropertyHolder, Element, Node

public class CompoundElement
extends AbstractElement

Element that holds two child elements, the execution of which is alternated when a special ExecutionOutcome is returned by a containing element execution.

Author:
Michael Ruflin

Field Summary
 
Fields inherited from interface ch.tatool.element.Element
EXECUTED
 
Constructor Summary
CompoundElement()
           
 
Method Summary
 List<Element> getChildren()
          This returns a list containing primary and secondary element.
 Executable getExecutable()
          Always returns null.
 Element getPrimary()
           
 Element getSecondary()
           
 void setPrimary(Element primary)
           
 void setSecondary(Element secondary)
           
 
Methods inherited from class ch.tatool.core.element.AbstractElement
addHandler, getHandlers, removeHandler, setHandlers
 
Methods inherited from class ch.tatool.core.element.NodeImpl
assignParent, assignParent, assignParents, getId, getLocalId, getParent, setId, setLocalId, setParent
 
Methods inherited from class ch.tatool.core.element.AbstractPropertyHolder
clearProperties, getKeys, getProperty, removeProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.tatool.element.Node
getParent, setParent
 
Methods inherited from interface ch.tatool.data.PropertyHolder
clearProperties, getId, getKeys, getProperty, removeProperty, setProperty
 

Constructor Detail

CompoundElement

public CompoundElement()
Method Detail

getPrimary

public Element getPrimary()

setPrimary

public void setPrimary(Element primary)

getSecondary

public Element getSecondary()

setSecondary

public void setSecondary(Element secondary)

getChildren

public List<Element> getChildren()
This returns a list containing primary and secondary element.


getExecutable

public Executable getExecutable()
Always returns null.



Copyright © 2012. All Rights Reserved.