|
JBoss MetaData Repository 2.2.0.SP1 | |||||||||
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
public class SimpleAnnotationsItem
SimpleAnnotationsItem.
Field Summary | |
---|---|
static SimpleAnnotationsItem |
NO_ANNOTATIONS
No annotations |
Fields inherited from interface org.jboss.metadata.spi.retrieval.AnnotationsItem |
---|
NO_ANNOTATION_ITEMS |
Constructor Summary | |
---|---|
protected |
SimpleAnnotationsItem()
Create a new SimpleAnnotationsItem with no annotations |
|
SimpleAnnotationsItem(AnnotationItem<? extends Annotation>[] annotationItems)
Create a new SimpleAnnotationsItem. |
Method Summary | |
---|---|
AnnotationItem<? extends Annotation>[] |
getAnnotations()
Get the annotations |
Annotation[] |
getValue()
Get the value |
protected void |
setAnnotationItems(AnnotationItem<? extends Annotation>[] annotationItems)
Set the annotation items |
Methods inherited from class org.jboss.metadata.spi.retrieval.simple.SimpleItem |
---|
isCachable, isValid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.metadata.spi.retrieval.Item |
---|
isCachable, isValid |
Field Detail |
---|
public static final SimpleAnnotationsItem NO_ANNOTATIONS
Constructor Detail |
---|
protected SimpleAnnotationsItem()
public SimpleAnnotationsItem(AnnotationItem<? extends Annotation>[] annotationItems)
annotationItems
- the annotation itemsMethod Detail |
---|
public Annotation[] getValue()
Item
getValue
in interface Item<Annotation[]>
public AnnotationItem<? extends Annotation>[] getAnnotations()
AnnotationsItem
getAnnotations
in interface AnnotationsItem
protected void setAnnotationItems(AnnotationItem<? extends Annotation>[] annotationItems)
annotationItems
- the annotation items
|
JBoss MetaData Repository 2.2.0.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |