|
OMS (v3.0.25) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oms3.util.Annotations
public class Annotations
Annotation utilities.
Method Summary | |
---|---|
static boolean |
isIn(java.lang.reflect.Field f)
Checks is a field is tagged as 'In' |
static boolean |
isInOut(java.lang.reflect.Field f)
|
static boolean |
isOut(java.lang.reflect.Field f)
|
static boolean |
plays(Role role,
java.lang.String r)
Checks if one role is played. |
static boolean |
playsAll(Role role,
java.lang.String... r)
Checks if all roles are played. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean playsAll(Role role, java.lang.String... r)
role
- the role to check.r
- the roles that all have to be played
public static boolean plays(Role role, java.lang.String r)
role
- the role to checkr
- the expected role
public static boolean isIn(java.lang.reflect.Field f)
f
- the field to check
public static boolean isOut(java.lang.reflect.Field f)
public static boolean isInOut(java.lang.reflect.Field f)
|
OMS (v3.0.25) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |