JBoss MetaData Repository 2.2.0.SP1

org.jboss.metadata.spi.retrieval
Interface AnnotationItem<T extends Annotation>

Type Parameters:
T - the annoation type
All Superinterfaces:
Item<T>, MetaDataItem<T>
All Known Implementing Classes:
BasicAnnotationItem, MetaDataToAnnotationBridge, SimpleAnnotationItem

public interface AnnotationItem<T extends Annotation>
extends MetaDataItem<T>

Annotation Item.

For the purposes of retrieval, two annotations are equal if they have the same annotation type.

Version:
$Revision: 57133 $
Author:
Adrian Brock

Method Summary
 T getAnnotation()
          Get the annotation
 
Methods inherited from interface org.jboss.metadata.spi.retrieval.MetaDataItem
getName
 
Methods inherited from interface org.jboss.metadata.spi.retrieval.Item
getValue, isCachable, isValid
 

Method Detail

getAnnotation

T getAnnotation()
Get the annotation

Returns:
the annotation

JBoss MetaData Repository 2.2.0.SP1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.