Interface Document
-
- All Known Implementing Classes:
DefaultDocument
@ThreadSafe public interface Document
A document representing a table item in the form of a map containing attributes and values.Use the
getItem(MappedTableResource)
method to transform the collection of attributes into a typed item.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
getItem(MappedTableResource<T> mappedTableResource)
Get the table item associated with the table schema in the mapped table resource.
-
-
-
Method Detail
-
getItem
<T> T getItem(MappedTableResource<T> mappedTableResource)
Get the table item associated with the table schema in the mapped table resource.- Type Parameters:
T
- the type of items in the mapped table resource- Parameters:
mappedTableResource
- the mapped table resource this item was retrieved from- Returns:
- the item constructed from the document
-
-