Package jadex.extension.agr
Class MGroupInstance
- java.lang.Object
- 
- jadex.extension.agr.MGroupInstance
 
- 
 public class MGroupInstance extends java.lang.ObjectGroup instance representation.
- 
- 
Constructor SummaryConstructors Constructor Description MGroupInstance()
 - 
Method SummaryAll 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- 
setNamepublic void setName(java.lang.String name) Set the name of the group type.- Parameters:
- name- The name of the group type.
 
 - 
getNamepublic java.lang.String getName() Get the name of the group type.- Returns:
- The name of the group type.
 
 - 
getTypeNamepublic java.lang.String getTypeName() Get the type name.- Returns:
- The typename.
 
 - 
setTypeNamepublic void setTypeName(java.lang.String typename) Set the type name.- Parameters:
- typename- The typename to set.
 
 - 
getMPositionspublic MPosition[] getMPositions() Get the positions.
 - 
addMPositionpublic void addMPosition(MPosition position) Add a position.- Parameters:
- position- The position.
 
 - 
getGroupTypepublic MGroupType getGroupType(MAGRSpaceType spacetype) Get the group type.
 - 
toStringpublic java.lang.String toString() Get a string representation of this AGR group instance.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- A string representation of this AGR group instance.
 
 
- 
 
-