Package jadex.extension.agr
Class MGroupInstance
- java.lang.Object
-
- jadex.extension.agr.MGroupInstance
-
public class MGroupInstance extends java.lang.ObjectGroup instance representation.
-
-
Constructor Summary
Constructors Constructor Description MGroupInstance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMPosition(MPosition position)Add a position.MGroupTypegetGroupType(MAGRSpaceType spacetype)Get the group type.MPosition[]getMPositions()Get the positions.java.lang.StringgetName()Get the name of the group type.java.lang.StringgetTypeName()Get the type name.voidsetName(java.lang.String name)Set the name of the group type.voidsetTypeName(java.lang.String typename)Set the type name.java.lang.StringtoString()Get a string representation of this AGR group instance.
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
Set the name of the group type.- Parameters:
name- The name of the group type.
-
getName
public java.lang.String getName()
Get the name of the group type.- Returns:
- The name of the group type.
-
getTypeName
public java.lang.String getTypeName()
Get the type name.- Returns:
- The typename.
-
setTypeName
public void setTypeName(java.lang.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 java.lang.String toString()
Get a string representation of this AGR group instance.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of this AGR group instance.
-
-