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