@PublicApi
public interface RowValues
RowValues
interface is supplied as a result of attributes calculation by
StructureAttributeService
. The interface allows retrieval of values by row ID and attribute specification.VersionedRowValues
,
StructureAttributeService
,
AttributeSpec
Modifier and Type | Method and Description |
---|---|
<T> T |
get(Long row,
AttributeSpec<T> attribute)
Returns a value for the given row and attribute.
|
AttributeTrail |
getTrail(AttributeSpec<?> attribute)
Returns an object that can be used to implement correct value invalidation, in case the value is cached.
|
@Nullable <T> T get(@Nullable Long row, @Nullable AttributeSpec<T> attribute)
T
- value typerow
- row IDattribute
- attribute specificationnull
if the value is missing@NotNull AttributeTrail getTrail(AttributeSpec<?> attribute)
attribute
- attribute that was requested for value calculationCopyright © 2017 ALM Works. All Rights Reserved.