T - the annotation typepublic class MetaDataToAnnotationBridge<T extends Annotation> extends Object implements AnnotationItem<T>
| Constructor and Description |
|---|
MetaDataToAnnotationBridge(MetaDataItem<?> metaData)
Create a new MetaDataToAnnotationBridge.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public MetaDataToAnnotationBridge(MetaDataItem<?> metaData)
metaData - the meta datapublic boolean isCachable()
ItemisCachable in interface Item<T extends Annotation>public boolean isValid()
ItemisValid in interface Item<T extends Annotation>public T getValue()
ItemgetValue in interface Item<T extends Annotation>public T getAnnotation()
AnnotationItemgetAnnotation in interface AnnotationItem<T extends Annotation>public String getName()
MetaDataItemgetName in interface MetaDataItem<T extends Annotation>Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.