public class CummulativeMetaDatasItem extends SimpleMetaDatasItem
NO_META_DATA
NO_META_DATA_ITEMS
Constructor and Description |
---|
CummulativeMetaDatasItem(MetaDataContext context,
boolean includeParent)
Create a new CummulativeMetaDatasItem.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkValid()
Check whether we are valid
|
MetaDataItem<?>[] |
getMetaDatas()
Get the meta datas
|
Object[] |
getValue()
Get the value
|
protected void |
init(long validTime)
Initialise
|
boolean |
isCachable()
Whether the item is cachable
|
boolean |
isValid()
Whether the value is valid
|
setMetaDataItems
public CummulativeMetaDatasItem(MetaDataContext context, boolean includeParent)
context
- the contextincludeParent
- whether to include the parentpublic Object[] getValue()
Item
getValue
in interface Item<Object[]>
getValue
in class SimpleMetaDatasItem
public MetaDataItem<?>[] getMetaDatas()
MetaDatasItem
getMetaDatas
in interface MetaDatasItem
getMetaDatas
in class SimpleMetaDatasItem
public boolean isCachable()
Item
isCachable
in interface Item<Object[]>
isCachable
in class SimpleItem<Object[]>
public boolean isValid()
Item
protected void checkValid()
protected void init(long validTime)
validTime
- the valid timeCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.