org.jboss.metadata.spi.retrieval.simple
Class SimpleItem<T>

java.lang.Object
  extended by org.jboss.metadata.spi.retrieval.simple.SimpleItem<T>
Type Parameters:
T - the item type
All Implemented Interfaces:
Item<T>
Direct Known Subclasses:
SimpleAnnotationsItem, SimpleMetaDataItem, SimpleMetaDatasItem

public abstract class SimpleItem<T>
extends Object
implements Item<T>

SimpleItem.

Version:
$Revision: 57133 $
Author:
Adrian Brock

Constructor Summary
SimpleItem()
           
 
Method Summary
 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
 
Methods inherited from interface org.jboss.metadata.spi.retrieval.Item
getValue
 

Constructor Detail

SimpleItem

public SimpleItem()
Method Detail

isCachable

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

Specified by:
isCachable in interface Item<T>
Returns:
true when cachable

isValid

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

Specified by:
isValid in interface Item<T>
Returns:
true when valid


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