jadex.application.space.agr
Class MAGRSpaceInstance

java.lang.Object
  extended by jadex.application.model.MSpaceInstance
      extended by jadex.application.space.agr.MAGRSpaceInstance

public class MAGRSpaceInstance
extends MSpaceInstance

An instance of an AGR space.


Field Summary
protected  List groups
          The groups.
 
Fields inherited from class jadex.application.model.MSpaceInstance
name, spacetype, type
 
Constructor Summary
MAGRSpaceInstance()
           
 
Method Summary
 void addMGroupInstance(MGroupInstance group)
          Add a group to this space.
 Class getClazz()
          Get the implementation class of the space.
 MGroupInstance getMGroupInstance(String name)
          Get a group per name.
 MGroupInstance[] getMGroupInstances()
          Get the groups of this space.
 String toString()
          Get a string representation of this AGR space instance.
 
Methods inherited from class jadex.application.model.MSpaceInstance
getName, getType, getTypeName, setName, setType, setTypeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

groups

protected List groups
The groups.

Constructor Detail

MAGRSpaceInstance

public MAGRSpaceInstance()
Method Detail

getMGroupInstances

public MGroupInstance[] getMGroupInstances()
Get the groups of this space.

Returns:
An array of groups (if any).

addMGroupInstance

public void addMGroupInstance(MGroupInstance group)
Add a group to this space.

Parameters:
group - The group to add.

getMGroupInstance

public MGroupInstance getMGroupInstance(String name)
Get a group per name.

Parameters:
name - The name.
Returns:
The group.

toString

public String toString()
Get a string representation of this AGR space instance.

Overrides:
toString in class Object
Returns:
A string representation of this AGR space instance.

getClazz

public Class getClazz()
Get the implementation class of the space.

Specified by:
getClazz in class MSpaceInstance


Copyright © 2010. All Rights Reserved.