jadex.application.model
Class MApplicationInstance

java.lang.Object
  extended by jadex.application.model.MStartable
      extended by jadex.application.model.MApplicationInstance

public class MApplicationInstance
extends MStartable

Application instance representation.


Field Summary
protected  List arguments
          The map of argument default values.
protected  List components
          The list of contained components.
protected  String name
          The name.
protected  List spaces
          The list of spaces.
 
Constructor Summary
MApplicationInstance()
          Create a new application.
MApplicationInstance(String name)
          Create a new application.
 
Method Summary
 void addArgument(MExpressionType argument)
          Add an argument.
 void addMComponentInstance(MComponentInstance component)
          Add an component.
 void addMSpaceInstance(MSpaceInstance space)
          Add an space.
 List getArguments()
          Get the arguments.
 List getComponents()
          Get the components.
 List getMComponentInstances()
          Get all components.
 List getMSpaceInstances()
          Get all spaces.
 String getName()
          Get the name.
 List getSpaces()
          Get the spaces.
 void setName(String name)
          Set the name.
 
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, toString, wait, wait, wait
 

Field Detail

name

protected String name
The name.


spaces

protected List spaces
The list of spaces.


components

protected List components
The list of contained components.


arguments

protected List arguments
The map of argument default values.

Constructor Detail

MApplicationInstance

public MApplicationInstance()
Create a new application.


MApplicationInstance

public MApplicationInstance(String name)
Create a new application.

Method Detail

addMSpaceInstance

public void addMSpaceInstance(MSpaceInstance space)
Add an space.

Parameters:
space - The space.

getMSpaceInstances

public List getMSpaceInstances()
Get all spaces.

Returns:
The spaces.

addMComponentInstance

public void addMComponentInstance(MComponentInstance component)
Add an component.

Parameters:
component - The component.

getMComponentInstances

public List getMComponentInstances()
Get all components.

Returns:
The components.

getName

public String getName()
Get the name.

Returns:
The name.

setName

public void setName(String name)
Set the name.

Parameters:
name - The name to set.

addArgument

public void addArgument(MExpressionType argument)
Add an argument.

Parameters:
argument - The argument.

getSpaces

public List getSpaces()
Get the spaces.

Returns:
The spaces.

getComponents

public List getComponents()
Get the components.

Returns:
The components.

getArguments

public List getArguments()
Get the arguments.

Returns:
The arguments.


Copyright © 2010. All Rights Reserved.