de.opsdesign.yax
Class Queue

java.lang.Object
  extended by de.opsdesign.yax.Element
      extended by de.opsdesign.yax.Component
          extended by de.opsdesign.yax.Queue
All Implemented Interfaces:
Graph

public class Queue
extends Component
implements Graph


Field Summary
 
Fields inherited from class de.opsdesign.yax.Component
componentType, componentTypeName, configuration, IMPLEMENTATION, NAME, QUEUE, STEP
 
Fields inherited from class de.opsdesign.yax.Element
attributes, elementQName, parameters
 
Constructor Summary
Queue(Configuration configuration, java.lang.Object parent, java.lang.String namespaceURIString, java.lang.String localNameString, java.lang.String qNameString)
           
Queue(Configuration configuration, java.lang.Object parent, java.lang.String namespaceURIString, java.lang.String localNameString, java.lang.String qNameString, org.xml.sax.Attributes attributes)
           
 
Method Summary
 boolean addQueue(Queue queue)
           
 boolean addStep(Step step)
           
 void buildOutputConnections()
           
 java.util.Queue<Component> getMembers()
           
 void init()
           
 boolean isToRun()
           
 boolean isTrapException()
           
 void run()
           
 void setComponentType()
           
 void setToRun(boolean toRun)
           
 void setTrapException(boolean trapException)
           
 int size()
           
 org.w3c.dom.Document toDocument()
           
 int toDotInit(int nodeCount)
           
 DotNode toDotPipeTrace()
           
 DotNode toDotPortTrace()
           
 org.w3c.dom.Element toElement(org.w3c.dom.Document document)
           
 
Methods inherited from class de.opsdesign.yax.Component
addImplicitPort, addParameter, addPort, addPort, addPort, addPort, getComponentClass, getComponentType, getConfiguration, getImplicitInputPort, getImplicitOutputPort, getName, getParameter, getParameters, getPorts, getPrefixName, getQName, getReferencePort, getRootInputPort, getSchemaPort, getStylesheetPort, getURIName, hasImplicitInputPort, hasImplicitOutputPort, hasReferencePort, hasRootInputPort, hasSchemaPort, hasStylesheetPort, init, isQueue, isStep, setComponentClass, setComponentType, setName
 
Methods inherited from class de.opsdesign.yax.Element
addAttribute, addAttribute, addParameter, addParameter, extractLocalPart, extractNSPrefix, getAttributes, getAttributeValue, getElementPrefixName, getElementQName, getElementURIName, getFunctionID, getNodeID, getParent, isCatch, isChoose, isGroup, isInput, isOtherwise, isOutput, isParameter, isTry, isWhen, resolveNSPrefix, resolveURI, setFunctionID, setNodeID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Queue

public Queue(Configuration configuration,
             java.lang.Object parent,
             java.lang.String namespaceURIString,
             java.lang.String localNameString,
             java.lang.String qNameString)

Queue

public Queue(Configuration configuration,
             java.lang.Object parent,
             java.lang.String namespaceURIString,
             java.lang.String localNameString,
             java.lang.String qNameString,
             org.xml.sax.Attributes attributes)
Method Detail

init

public void init()
          throws ConfigurationException
Throws:
ConfigurationException

setComponentType

public void setComponentType()
                      throws ConfigurationException
Throws:
ConfigurationException

addQueue

public boolean addQueue(Queue queue)

addStep

public boolean addStep(Step step)

size

public int size()

run

public void run()
         throws RunException
Throws:
RunException

buildOutputConnections

public void buildOutputConnections()
Overrides:
buildOutputConnections in class Component

toElement

public org.w3c.dom.Element toElement(org.w3c.dom.Document document)

toDocument

public org.w3c.dom.Document toDocument()

toDotPipeTrace

public DotNode toDotPipeTrace()
Specified by:
toDotPipeTrace in interface Graph

toDotPortTrace

public DotNode toDotPortTrace()
Specified by:
toDotPortTrace in interface Graph

toDotInit

public int toDotInit(int nodeCount)
Specified by:
toDotInit in interface Graph

getMembers

public java.util.Queue<Component> getMembers()

isToRun

public boolean isToRun()

setToRun

public void setToRun(boolean toRun)

isTrapException

public boolean isTrapException()

setTrapException

public void setTrapException(boolean trapException)


Copyright © 2008 OPS Design GmbH. All Rights Reserved.