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()
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>
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.