|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlij.model.Role
public class Role
This class provides the definition of a role as specified in an IM.
Field Summary | |
---|---|
private java.lang.String |
kind
|
static java.lang.String |
KIND_AUXILIARY
|
static java.lang.String |
KIND_CYCLIC
|
static java.lang.String |
KIND_INITIAL
|
static java.lang.String |
KIND_NECESSARY
|
static java.lang.String |
KIND_OPTIONAL
|
static java.lang.String |
KIND_UNCOMMITTED
|
private int |
max
|
private int |
min
|
private Term |
type
|
Constructor Summary | |
---|---|
Role(Term _type,
java.lang.String _kind,
int _min,
int _max)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getKind()
Accessor. |
int |
getMax()
Accessor. |
int |
getMin()
Accessor. |
Term |
getType()
Accessor. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String KIND_INITIAL
public static final java.lang.String KIND_NECESSARY
public static final java.lang.String KIND_OPTIONAL
public static final java.lang.String KIND_AUXILIARY
public static final java.lang.String KIND_CYCLIC
public static final java.lang.String KIND_UNCOMMITTED
private Term type
private java.lang.String kind
private int min
private int max
Constructor Detail |
---|
public Role(Term _type, java.lang.String _kind, int _min, int _max)
_type
- The type of the Role._kind
- The "kind" of the role (i.e. initial, necessary etc)._min
- The minimum number of agents specified in the role declaration._max
- The maximum number of agents specified in the role declaration.Method Detail |
---|
public Term getType()
public java.lang.String getKind()
public int getMin()
public int getMax()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |