|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.application.model.MStartable
jadex.application.model.MComponentInstance
public class MComponentInstance
Component instance representation.
| Field Summary | |
|---|---|
protected List |
arguments
The list of contained arguments. |
protected String |
configuration
The configuration. |
protected String |
name
The name. |
protected IParsedExpression |
number
The number of components. |
protected boolean |
start
The start flag. |
protected String |
typename
The type name. |
| Constructor Summary | |
|---|---|
MComponentInstance()
Create a new component. |
|
| Method Summary | |
|---|---|
void |
addArgument(MExpressionType arg)
Add an argument. |
List |
getArguments()
Get the list of arguments. |
String |
getConfiguration()
Get the configuration. |
String |
getName()
Get the name. |
IParsedExpression |
getNumber()
Get the number (expression). |
MComponentType |
getType(MApplicationType apptype)
Get the model of the component instance. |
String |
getTypeName()
Get the type name. |
boolean |
isStart()
Test if component should be started (not only created). |
void |
setConfiguration(String configuration)
Set the configuration. |
void |
setName(String name)
Set the name. |
void |
setNumber(IParsedExpression number)
Set the number text. |
void |
setStart(boolean start)
Set if the component should also be started. |
void |
setTypeName(String typename)
Set the type name. |
String |
toString()
A string of this object. |
| Methods inherited from class jadex.application.model.MStartable |
|---|
getAutoShutdown, getDaemon, getMaster, getSuspend, setAutoShutdown, setDaemon, setMaster, setSuspend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected String typename
protected String configuration
protected boolean start
protected IParsedExpression number
protected List arguments
| Constructor Detail |
|---|
public MComponentInstance()
| Method Detail |
|---|
public String getName()
public void setName(String name)
name - The name to set.public String getTypeName()
public void setTypeName(String typename)
type - The type name to set.public String getConfiguration()
public void setConfiguration(String configuration)
configuration - The configuration to set.public boolean isStart()
public void setStart(boolean start)
start - The start flag to set.public void setNumber(IParsedExpression number)
numbertext - The number text.public IParsedExpression getNumber()
public void addArgument(MExpressionType arg)
arg - The argument.public List getArguments()
public MComponentType getType(MApplicationType apptype)
apptype - The application type this component is used in.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||