Package jadex.extension.agr
Class MGroupInstance
- java.lang.Object
-
- jadex.extension.agr.MGroupInstance
-
public class MGroupInstance extends java.lang.Object
Group instance representation.
-
-
Constructor Summary
Constructors Constructor Description MGroupInstance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMPosition(MPosition position)
Add a position.MGroupType
getGroupType(MAGRSpaceType spacetype)
Get the group type.MPosition[]
getMPositions()
Get the positions.java.lang.String
getName()
Get the name of the group type.java.lang.String
getTypeName()
Get the type name.void
setName(java.lang.String name)
Set the name of the group type.void
setTypeName(java.lang.String typename)
Set the type name.java.lang.String
toString()
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:
toString
in classjava.lang.Object
- Returns:
- A string representation of this AGR group instance.
-
-