jadex.application.space.agr
Class MGroupInstance

java.lang.Object
  extended by jadex.application.space.agr.MGroupInstance

public class MGroupInstance
extends Object

Group instance representation.


Field Summary
protected  String name
          The name.
protected  List positions
          The positions.
protected  String typename
          The type name.
 
Constructor Summary
MGroupInstance()
           
 
Method Summary
 void addMPosition(MPosition position)
          Add a position.
 MGroupType getGroupType(MAGRSpaceType spacetype)
          Get the group type.
 MPosition[] getMPositions()
          Get the positions.
 String getName()
          Get the name of the group type.
 String getTypeName()
          Get the type name.
 void setName(String name)
          Set the name of the group type.
 void setTypeName(String typename)
          Set the type name.
 String toString()
          Get a string representation of this AGR group instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected String name
The name.


typename

protected String typename
The type name.


positions

protected List positions
The positions.

Constructor Detail

MGroupInstance

public MGroupInstance()
Method Detail

setName

public void setName(String name)
Set the name of the group type.

Parameters:
name - The name of the group type.

getName

public String getName()
Get the name of the group type.

Returns:
The name of the group type.

getTypeName

public String getTypeName()
Get the type name.

Returns:
The typename.

setTypeName

public void setTypeName(String typename)
Set the type name.

Parameters:
typename - The typename to set.

getMPositions

public MPosition[] getMPositions()
Get the positions.


addMPosition

public void addMPosition(MPosition position)
Add a position.

Parameters:
position - The position.

getGroupType

public MGroupType getGroupType(MAGRSpaceType spacetype)
Get the group type.


toString

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

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


Copyright © 2010. All Rights Reserved.