Package jadex.extension.agr
Class MGroupType
- java.lang.Object
- 
- jadex.extension.agr.MGroupType
 
- 
 public class MGroupType extends java.lang.ObjectAn AGR group type.
- 
- 
Constructor SummaryConstructors Constructor Description MGroupType()
 - 
Method SummaryAll 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- 
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.
 
 - 
getMRoleTypespublic MRoleType[] getMRoleTypes() Get the roles of this group type.- Returns:
- An array of roles (if any).
 
 - 
addMRoleTypepublic void addMRoleType(MRoleType role) Add a role to this group type.- Parameters:
- role- The role to add.
 
 - 
removeMRoleTypepublic void removeMRoleType(MRoleType role) Remove a role from this group type.- Parameters:
- role- The role to remove.
 
 - 
toStringpublic java.lang.String toString() Get a string representation of this group type.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- A string representation of this group type.
 
 
- 
 
-