public class MRoleType extends Object
| Constructor and Description |
|---|
MRoleType()
Create a new role.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMax()
Get the maximum number of agents allowed for this role (-1 for no restriction).
|
int |
getMin()
Get the minimum number of agents required for this role.
|
String |
getName()
Get the name of the role.
|
void |
setMax(int max)
Set the maximum number of agents allowed for this role (-1 for no restriction).
|
void |
setMin(int min)
Set the minimum number of agents required for this role.
|
void |
setName(String name)
Set the name of the role.
|
String |
toString()
Get a string representation of this group type.
|
public void setName(String name)
name - The name of the role.public String getName()
public void setMin(int min)
min - The minimum number of agents required for this role.public int getMin()
public void setMax(int max)
max - The maximum number of agents allowed for this role (-1 for no restriction).public int getMax()
Copyright © 2012. All Rights Reserved.