|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for an algorithmic element used in algorithms. Actually this is used as a wrapper for IOperator instances. Algorithmic elements are connected by IConnection objects. These connections transport data between algorithmic elements.
Method Summary | |
void |
activate()
Activates this element. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a property change listener to this element. |
void |
firePropertyChangeEvent(java.beans.PropertyChangeEvent event)
Fires a property change event. |
IAlgorithm |
getAlgorithm()
Returns the algorithm this element is contained in. |
IConnection |
getIncoming(int index)
Gets an incoming connection. |
int |
getIncomingIndex(IConnection connection)
Returns the index of the given incoming connection. |
Metadata |
getMetadata(java.lang.String path)
Returns a metadata object for this element from the associated metadata store. |
IOperator |
getOperator()
Returns the operator that is assigned to this element. |
IConnection |
getOutgoing(int index)
Gets an outgoing connection. |
int |
getOutgoingIndex(IConnection connection)
Returns the index of the given outgoing connection. |
int |
incomingSize()
Returns the number of incoming connections. |
boolean |
isActivatable()
Checks if this element can activated. |
int |
outgoingSize()
Returns the number of outgoing connections. |
void |
removeConnection(IConnection connection)
Removes a connection from this element. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a property change listener from this element. |
void |
setAlgorithm(IAlgorithm algorithm)
Sets the algorithm this element belongs to. |
void |
setIncoming(IConnection connection,
int index)
Sets an incoming connection. |
void |
setIncomingSize(int size)
Sets a new value for the number of incoming slots. |
void |
setMetadata(Metadata data)
Sets a metadata object for this element. |
void |
setOutgoing(IConnection connection,
int index)
Sets an outgoing connection. |
void |
setOutgoingSize(int size)
Sets a new value for the number of outgoing slots. |
Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- property change listener to be addedpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- property change listener to be removedpublic void firePropertyChangeEvent(java.beans.PropertyChangeEvent event)
event
- event to be firedpublic IAlgorithm getAlgorithm()
public void setAlgorithm(IAlgorithm algorithm)
algorithm
- the algorithm this element belongs topublic IOperator getOperator()
public Metadata getMetadata(java.lang.String path)
path
- metadata path
public void setMetadata(Metadata data)
data
- metadata objectpublic int incomingSize()
public int outgoingSize()
public IConnection getIncoming(int index)
index
- index of the connection
public int getIncomingIndex(IConnection connection)
connection
- incoming connection
public void setIncoming(IConnection connection, int index)
connection
- connection to setindex
- index of the coonectionpublic void setIncomingSize(int size)
size
- number of incoming slotspublic IConnection getOutgoing(int index)
index
- index of the connection
public int getOutgoingIndex(IConnection connection)
connection
- outgoing connection
public void setOutgoing(IConnection connection, int index)
connection
- connection to setindex
- index of the coonectionpublic void setOutgoingSize(int size)
size
- number of outgoing slotspublic void removeConnection(IConnection connection)
connection
- connection to be removedpublic void activate()
public boolean isActivatable()
|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |