public class CummulativeAnnotationsItem extends SimpleAnnotationsItem
NO_ANNOTATIONSNO_ANNOTATION_ITEMS| Constructor and Description |
|---|
CummulativeAnnotationsItem(MetaDataContext context,
boolean includeParent)
Create a new CummulativeAnnotationsItem.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkValid()
Check whether we are valid
|
AnnotationItem<? extends Annotation>[] |
getAnnotations()
Get the annotations
|
Annotation[] |
getValue()
Get the value
|
protected void |
init(long validTime)
Initialise
|
boolean |
isCachable()
Whether the item is cachable
|
boolean |
isValid()
Whether the value is valid
|
setAnnotationItemspublic CummulativeAnnotationsItem(MetaDataContext context, boolean includeParent)
context - the contextincludeParent - whether to include the parentpublic Annotation[] getValue()
ItemgetValue in interface Item<Annotation[]>getValue in class SimpleAnnotationsItempublic AnnotationItem<? extends Annotation>[] getAnnotations()
AnnotationsItemgetAnnotations in interface AnnotationsItemgetAnnotations in class SimpleAnnotationsItempublic boolean isCachable()
ItemisCachable in interface Item<Annotation[]>isCachable in class SimpleItem<Annotation[]>public boolean isValid()
ItemisValid in interface Item<Annotation[]>isValid in class SimpleItem<Annotation[]>protected void checkValid()
protected void init(long validTime)
validTime - the valid timeCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.