public class QueryResultRow extends Object implements ObjectSizeProvider
Constructor and Description |
---|
QueryResultRow()
This constructs an empty result row.
|
Modifier and Type | Method and Description |
---|---|
void |
addItem(Object resultItem)
This adds a result item to this query result row.
|
<T> T |
getItem(Class<T> desiredType)
This allows retrieval of an entity from this broker query result row.
|
CMURI |
getItemURI()
This retrieves the itemURI of the item representing this result row.
|
int |
getObjectSize()
Estimates the size in bytes of this object and the objects that it owns.
|
void |
setItemURI(CMURI theItemUri)
This sets the itemURI for the found resultRow.
|
String |
toString() |
public void setItemURI(CMURI theItemUri)
theItemUri
- The itemURI representing entities in this result rowpublic CMURI getItemURI()
public void addItem(Object resultItem)
resultItem
- The result item to add to the query result rowpublic <T> T getItem(Class<T> desiredType)
T
- The type of the entity to retrievedesiredType
- The desired type of the entity to retrievepublic int getObjectSize()
ObjectSizeProvider
getObjectSize
in interface ObjectSizeProvider
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries