|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.application.space.agr.MRoleType
public class MRoleType
An AGR role.
| Field Summary | |
|---|---|
protected int |
max
The maximum number of agents allowed for this role (-1 for no restriction). |
protected int |
min
The minimum number of agents required for this role. |
protected String |
name
The name. |
| Constructor Summary | |
|---|---|
MRoleType()
Create a new role. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected int min
protected int max
| Constructor Detail |
|---|
public MRoleType()
| Method Detail |
|---|
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()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||