public class LaAttributeLoader<T,R> extends ItemClassAttributeLoader<T,R>
AttributeLoader.Aggregate<T>, AttributeLoader.AggregateContext<T>, AttributeLoader.Context, AttributeLoader.ForestIndependent<T>, AttributeLoader.Propagate<T>, AttributeLoader.PropagateContext<T>
myItemTypes
mySpec
Constructor and Description |
---|
LaAttributeLoader(AttributeSpec<R> spec,
AttributeCachingStrategy cachingStrategy,
Class<T> itemClass,
La<? super T,? extends R> la,
String... itemTypes) |
LaAttributeLoader(AttributeSpec<R> spec,
Class<T> itemClass,
La<? super T,? extends R> la,
String... itemTypes) |
Modifier and Type | Method and Description |
---|---|
AttributeCachingStrategy |
getCachingStrategy() |
protected AttributeValue<R> |
getValue(T item,
AttributeLoader.Context context) |
getItemValue
isEveryItemTypeSupported, isItemTypeSupported, loadValue
getAttributeDependencies
getAttributeSpec
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttributeSpec
public LaAttributeLoader(AttributeSpec<R> spec, Class<T> itemClass, La<? super T,? extends R> la, String... itemTypes)
public LaAttributeLoader(AttributeSpec<R> spec, AttributeCachingStrategy cachingStrategy, Class<T> itemClass, La<? super T,? extends R> la, String... itemTypes)
protected final AttributeValue<R> getValue(T item, AttributeLoader.Context context)
getValue
in class ItemClassAttributeLoader<T,R>
public AttributeCachingStrategy getCachingStrategy()
getCachingStrategy
in interface AttributeLoader<R>
getCachingStrategy
in class AbstractForestIndependentAttributeLoader<R>
Copyright © 2019 ALM Works. All Rights Reserved.