|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.metadata.spi.retrieval.helper.MetaDataToAnnotationBridge<T>
T - the annotation typepublic class MetaDataToAnnotationBridge<T extends Annotation>
MetaDataToAnnotationBridge.
| Constructor Summary | |
|---|---|
MetaDataToAnnotationBridge(MetaDataItem<?> metaData)
Create a new MetaDataToAnnotationBridge. |
|
| Method Summary | |
|---|---|
T |
getAnnotation()
Get the annotation |
String |
getName()
Get the name of the metadata |
T |
getValue()
Get the value |
boolean |
isCachable()
Whether the item is cachable |
boolean |
isValid()
Whether the value is valid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaDataToAnnotationBridge(MetaDataItem<?> metaData)
metaData - the meta data| Method Detail |
|---|
public boolean isCachable()
Item
isCachable in interface Item<T extends Annotation>public boolean isValid()
Item
isValid in interface Item<T extends Annotation>public T getValue()
Item
getValue in interface Item<T extends Annotation>public T getAnnotation()
AnnotationItem
getAnnotation in interface AnnotationItem<T extends Annotation>public String getName()
MetaDataItem
getName in interface MetaDataItem<T extends Annotation>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||