|
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 |
java.lang.Objectorg.evolvica.engine.AbstractOperator
Abstract base class for algorithm operators.
Field Summary | |
protected OperatorDescriptor |
descriptor
Descriptor. |
protected IElement |
element
Associated algorithm element. |
protected java.lang.String |
id
ID of this operator. |
protected java.lang.String |
name
Name of this operator. |
Constructor Summary | |
AbstractOperator()
Constructor. |
Method Summary | |
void |
attachDescriptor(OperatorDescriptor descriptor)
Attaches a descriptor to this operator. |
void |
attachElement(IElement element)
Sets the algorithm element for this operator. |
OperatorDescriptor |
descriptor()
Returns a descriptor for this operator. |
IElement |
element()
Returns the algorithm element that is attached to this operator. |
java.lang.String |
getId()
Return the internal identifier of this operator. |
java.lang.String |
getName()
Returns the name of this operator. |
void |
setId(java.lang.String id)
Sets the identifier of this operator. |
void |
setName(java.lang.String name)
Sets the name of this operator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected OperatorDescriptor descriptor
protected IElement element
protected java.lang.String name
protected java.lang.String id
Constructor Detail |
public AbstractOperator()
Method Detail |
public void attachDescriptor(OperatorDescriptor descriptor)
IOperator
attachDescriptor
in interface IOperator
descriptor
- descriptor to be attachedIOperator.attachDescriptor(org.evolvica.engine.OperatorDescriptor)
public void attachElement(IElement element)
IOperator
attachElement
in interface IOperator
element
- associated algorithm element for this operatorIOperator.attachElement(org.evolvica.engine.IElement)
public OperatorDescriptor descriptor()
IOperator
descriptor
in interface IOperator
IOperator.descriptor()
public IElement element()
IOperator
element
in interface IOperator
IOperator.element()
public java.lang.String getId()
IOperator
getId
in interface IOperator
IOperator.getId()
public void setId(java.lang.String id)
IOperator
setId
in interface IOperator
id
- new identifier for this operatorIOperator.setId(java.lang.String)
public java.lang.String getName()
IOperator
getName
in interface IOperator
IOperator.getName()
public void setName(java.lang.String name)
IOperator
setName
in interface IOperator
name
- new name for this operatorIOperator.setName(java.lang.String)
|
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 |