org.jboss.metadata.spi.retrieval.basic
Class BasicItem<T>
java.lang.Object
org.jboss.metadata.spi.retrieval.basic.BasicItem<T>
- Type Parameters:
T
- The item type
- All Implemented Interfaces:
- Item<T>
- Direct Known Subclasses:
- BasicAnnotationsItem, BasicMetaDataItem, BasicMetaDatasItem
public abstract class BasicItem<T>
- extends Object
- implements Item<T>
BasicItem.
- Version:
- $Revision: 57133 $
- Author:
- Adrian Brock
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 |
BasicItem
public BasicItem(MetaDataLoader loader)
- Create a new BasicItem.
- Parameters:
loader
- the loader
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
invalidate
public void invalidate()
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.