jadex.application.space.agr
Class MGroupType

java.lang.Object
  extended by jadex.application.space.agr.MGroupType

public class MGroupType
extends Object

An AGR group type.


Field Summary
protected  String name
          The name.
protected  List roles
          The roles.
 
Constructor Summary
MGroupType()
           
 
Method Summary
 void addMRoleType(MRoleType role)
          Add a role to this group type.
 MRoleType[] getMRoleTypes()
          Get the roles of this group type.
 String getName()
          Get the name of the group type.
 void removeMRoleType(MRoleType role)
          Remove a role from this group type.
 void setName(String name)
          Set the name of the group type.
 String toString()
          Get a string representation of this group type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected String name
The name.


roles

protected List roles
The roles.

Constructor Detail

MGroupType

public MGroupType()
Method Detail

setName

public void setName(String name)
Set the name of the group type.

Parameters:
name - The name of the group type.

getName

public 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 String toString()
Get a string representation of this group type.

Overrides:
toString in class Object
Returns:
A string representation of this group type.


Copyright © 2010. All Rights Reserved.