JBoss MetaData Repository 2.2.0.SP1

org.jboss.metadata.spi.retrieval.helper
Class AnnotationsToMetaDatasBridge

java.lang.Object
  extended by org.jboss.metadata.spi.retrieval.helper.AnnotationsToMetaDatasBridge
All Implemented Interfaces:
Item<Object[]>, MetaDatasItem

public class AnnotationsToMetaDatasBridge
extends Object
implements MetaDatasItem

AnnotationsToMetaDatasBridge.

Version:
$Revision: 69888 $
Author:
Adrian Brock

Field Summary
 
Fields inherited from interface org.jboss.metadata.spi.retrieval.MetaDatasItem
NO_META_DATA_ITEMS
 
Constructor Summary
AnnotationsToMetaDatasBridge(AnnotationsItem annotations)
          Create a new AnnotationsToMetaDatasBridge.
 
Method Summary
 MetaDataItem<?>[] getMetaDatas()
          Get the meta datas
 Object[] 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

AnnotationsToMetaDatasBridge

public AnnotationsToMetaDatasBridge(AnnotationsItem annotations)
Create a new AnnotationsToMetaDatasBridge.

Parameters:
annotations - the annotations
Method Detail

isCachable

public boolean isCachable()
Description copied from interface: Item
Whether the item is cachable

Specified by:
isCachable in interface Item<Object[]>
Returns:
true when cachable

isValid

public boolean isValid()
Description copied from interface: Item
Whether the value is valid

Specified by:
isValid in interface Item<Object[]>
Returns:
true when valid

getValue

public Object[] getValue()
Description copied from interface: Item
Get the value

Specified by:
getValue in interface Item<Object[]>
Returns:
the value

getMetaDatas

public MetaDataItem<?>[] getMetaDatas()
Description copied from interface: MetaDatasItem
Get the meta datas

Specified by:
getMetaDatas in interface MetaDatasItem
Returns:
the meta datas

JBoss MetaData Repository 2.2.0.SP1

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