|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.metadata.spi.retrieval.simple.SimpleItem<Annotation[]>
org.jboss.metadata.spi.retrieval.simple.SimpleAnnotationsItem
org.jboss.metadata.spi.retrieval.cummulative.CummulativeAnnotationsItem
public class CummulativeAnnotationsItem
CummulativeAnnotationsItem.
| Field Summary |
|---|
| Fields inherited from class org.jboss.metadata.spi.retrieval.simple.SimpleAnnotationsItem |
|---|
NO_ANNOTATIONS |
| Fields inherited from interface org.jboss.metadata.spi.retrieval.AnnotationsItem |
|---|
NO_ANNOTATION_ITEMS |
| Constructor Summary | |
|---|---|
CummulativeAnnotationsItem(MetaDataContext context,
boolean includeParent)
Create a new CummulativeAnnotationsItem. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.jboss.metadata.spi.retrieval.simple.SimpleAnnotationsItem |
|---|
setAnnotationItems |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CummulativeAnnotationsItem(MetaDataContext context,
boolean includeParent)
context - the contextincludeParent - whether to include the parent| Method Detail |
|---|
public Annotation[] getValue()
Item
getValue in interface Item<Annotation[]>getValue in class SimpleAnnotationsItempublic AnnotationItem<? extends Annotation>[] getAnnotations()
AnnotationsItem
getAnnotations in interface AnnotationsItemgetAnnotations in class SimpleAnnotationsItempublic boolean isCachable()
Item
isCachable in interface Item<Annotation[]>isCachable in class SimpleItem<Annotation[]>public boolean isValid()
Item
isValid in interface Item<Annotation[]>isValid in class SimpleItem<Annotation[]>protected void checkValid()
protected void init(long validTime)
validTime - the valid time
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||