|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.javalid.core.cache.AnnotationClassLevelCache
public class AnnotationClassLevelCache
| Constructor Summary | |
|---|---|
AnnotationClassLevelCache(JvGroup jvGroup)
|
|
| Method Summary | |
|---|---|
void |
addAnnotation(java.lang.annotation.Annotation annotation)
Add a new annotation for this field / method (must be an annotation supported by JaValid. |
java.util.List<java.lang.annotation.Annotation> |
getAnnotations()
Returns an immutable list with all annotations that are on the the field / method - supported by JaValid. |
JvGroup |
getJvGroup()
Returns the group annotation that was on the field, method or class. |
boolean |
hasAnnotations()
Returns true if at least one (javalid) supported annotation is present. |
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Returns true if given annotation is present in the map (at least once) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationClassLevelCache(JvGroup jvGroup)
| Method Detail |
|---|
public JvGroup getJvGroup()
AnnotationBaseCache
getJvGroup in interface AnnotationBaseCachepublic java.util.List<java.lang.annotation.Annotation> getAnnotations()
AnnotationBaseCache
getAnnotations in interface AnnotationBaseCachepublic void addAnnotation(java.lang.annotation.Annotation annotation)
AnnotationBaseCache
addAnnotation in interface AnnotationBaseCacheannotation - New annotationpublic boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
AnnotationBaseCache
isAnnotationPresent in interface AnnotationBaseCacheannotation - The annotation to check
public boolean hasAnnotations()
AnnotationBaseCache
hasAnnotations in interface AnnotationBaseCache
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||