@Exported public class AssetResultRowImpl extends Object implements AssetResultRow
| Constructor and Description |
|---|
AssetResultRowImpl(AssetId id,
List<String> fields) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAttributeNames()
Gets the list of attribute names
|
AssetId |
getId()
gets the Asset Id of the result row
|
Object |
getValue(String fieldName)
Gets the value of an attribute given attribute name
|
void |
setValue(String fieldName,
Object value) |
public AssetResultRowImpl(AssetId id, List<String> fields) throws AssetAccessException
AssetAccessExceptionpublic AssetId getId()
AssetResultRowgetId in interface AssetResultRowpublic List<String> getAttributeNames()
AssetResultRowgetAttributeNames in interface AssetResultRowpublic Object getValue(String fieldName)
AssetResultRowgetValue in interface AssetResultRowfieldName - the name of the attribute