public abstract class ItemClassAttributeLoader<T,A> extends ItemTypeAttributeLoader<A>
AttributeLoader.Aggregate<T>, AttributeLoader.AggregateContext<T>, AttributeLoader.Context, AttributeLoader.ForestIndependent<T>, AttributeLoader.Propagate<T>, AttributeLoader.PropagateContext<T>
myItemTypes
mySpec
Constructor and Description |
---|
ItemClassAttributeLoader(AttributeSpec<A> spec,
Class<T> itemClass,
String... itemTypes) |
Modifier and Type | Method and Description |
---|---|
AttributeValue<A> |
getItemValue(StructureRow row,
AttributeLoader.Context context) |
protected abstract AttributeValue<A> |
getValue(T item,
AttributeLoader.Context context) |
isEveryItemTypeSupported, isItemTypeSupported, loadValue
getAttributeDependencies, getCachingStrategy
getAttributeSpec
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttributeSpec
public ItemClassAttributeLoader(AttributeSpec<A> spec, Class<T> itemClass, String... itemTypes)
@NotNull public final AttributeValue<A> getItemValue(@NotNull StructureRow row, @NotNull AttributeLoader.Context context)
getItemValue
in class ItemTypeAttributeLoader<A>
protected abstract AttributeValue<A> getValue(@NotNull T item, AttributeLoader.Context context)
Copyright © 2018 ALM Works. All Rights Reserved.