Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.engine
Class SourceElement

java.lang.Object
  extended byorg.evolvica.engine.AbstractElement
      extended byorg.evolvica.engine.SourceElement
All Implemented Interfaces:
IElement

public class SourceElement
extends AbstractElement

Source element.

Since:
0.4.0
Version:
$Revision: 1.7 $ $Date: 2004/05/26 11:58:26 $
Author:
Andreas Rummler

Field Summary
protected  ISource source
          Underlying source operator.
 
Fields inherited from class org.evolvica.engine.AbstractElement
algorithm, incoming, input, outgoing, output
 
Constructor Summary
SourceElement(ISource source)
          Constructor.
 
Method Summary
 void activate()
          Activates this element.
 IOperator getOperator()
          Returns the operator that is assigned to this element.
 boolean isActivatable()
          Checks if this element can activated.
 void setIncomingSize(int size)
          Sets a new value for the number of incoming slots.
 void setOutgoingSize(int size)
          Sets a new value for the number of outgoing slots.
 
Methods inherited from class org.evolvica.engine.AbstractElement
addPropertyChangeListener, firePropertyChangeEvent, getAlgorithm, getIncoming, getIncomingIndex, getMetadata, getOutgoing, getOutgoingIndex, getOutput, incomingSize, outgoingSize, removeConnection, removePropertyChangeListener, setAlgorithm, setIncoming, setInput, setMetadata, setOutgoing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

protected ISource source
Underlying source operator.

Constructor Detail

SourceElement

public SourceElement(ISource source)
Constructor.

Parameters:
source - underlying source operator
Method Detail

getOperator

public IOperator getOperator()
Description copied from interface: IElement
Returns the operator that is assigned to this element.

Returns:
assigned operator
See Also:
IElement.getOperator()

activate

public void activate()
Description copied from interface: IElement
Activates this element.

See Also:
IElement.activate()

isActivatable

public boolean isActivatable()
Description copied from interface: IElement
Checks if this element can activated.

Returns:
true if this element can be activated, false instead
See Also:
IElement.isActivatable()

setIncomingSize

public void setIncomingSize(int size)
Description copied from interface: IElement
Sets a new value for the number of incoming slots.

Parameters:
size - number of incoming slots
See Also:
IElement.setIncomingSize(int)

setOutgoingSize

public void setOutgoingSize(int size)
Description copied from interface: IElement
Sets a new value for the number of outgoing slots.

Parameters:
size - number of outgoing slots
See Also:
IElement.setOutgoingSize(int)

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

Copyright © 2000-2004 Technical University of Ilmenau, Department Electronic Circuits and Systems