Package jadex.extension.agr
Class MGroupType
- java.lang.Object
 - 
- jadex.extension.agr.MGroupType
 
 
- 
public class MGroupType extends java.lang.ObjectAn AGR group type. 
- 
- 
Constructor Summary
Constructors Constructor Description MGroupType() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMRoleType(MRoleType role)Add a role to this group type.MRoleType[]getMRoleTypes()Get the roles of this group type.java.lang.StringgetName()Get the name of the group type.voidremoveMRoleType(MRoleType role)Remove a role from this group type.voidsetName(java.lang.String name)Set the name of the group type.java.lang.StringtoString()Get a string representation of this group type. 
 - 
 
- 
- 
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.
 
 
- 
getMRoleTypes
public MRoleType[] getMRoleTypes()
Get the roles of this group type.- Returns:
 - An array of roles (if any).
 
 
- 
addMRoleType
public void addMRoleType(MRoleType role)
Add a role to this group type.- Parameters:
 role- The role to add.
 
- 
removeMRoleType
public void removeMRoleType(MRoleType role)
Remove a role from this group type.- Parameters:
 role- The role to remove.
 
- 
toString
public java.lang.String toString()
Get a string representation of this group type.- Overrides:
 toStringin classjava.lang.Object- Returns:
 - A string representation of this group type.
 
 
 - 
 
 -