|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.gilead.annotations.AnnotationsHelper
public class AnnotationsHelper
Helper class for annotation management
Constructor Summary | |
---|---|
AnnotationsHelper()
|
Method Summary | |
---|---|
static boolean |
hasReadOnlyAnnotations(java.lang.Class<?> clazz)
Indicated if the argument has "ReadOnly" annotation on one of its field. |
static boolean |
hasServerOnlyAnnotations(java.lang.Class<?> clazz)
Indicated if the argument has "ServerOnly" annotation on one of its field. |
static boolean |
hasServerOnlyOrReadOnlyAnnotations(java.lang.Class<?> clazz)
Indicated if the argument has "ServerOnly" annotation on one of its field. |
static boolean |
isReadOnly(java.lang.Class<?> clazz,
java.lang.String propertyName)
Indicated if the argument has "ReadOnly" annotation on the named field. |
static boolean |
isServerOnly(java.lang.Class<?> clazz,
java.lang.String propertyName)
Indicated if the argument has "ServerOnly" annotation on the named field. |
static boolean |
isServerOrReadOnly(java.lang.Class<?> clazz,
java.lang.String propertyName)
Indicated if the argument has "ReadOnly" annotation on the named field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationsHelper()
Method Detail |
---|
public static boolean isServerOnly(java.lang.Class<?> clazz, java.lang.String propertyName)
public static boolean isReadOnly(java.lang.Class<?> clazz, java.lang.String propertyName)
public static boolean isServerOrReadOnly(java.lang.Class<?> clazz, java.lang.String propertyName)
public static boolean hasServerOnlyAnnotations(java.lang.Class<?> clazz)
public static boolean hasServerOnlyOrReadOnlyAnnotations(java.lang.Class<?> clazz)
public static boolean hasReadOnlyAnnotations(java.lang.Class<?> clazz)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |