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
AssetAccessException
public AssetId getId()
AssetResultRow
getId
in interface AssetResultRow
public List<String> getAttributeNames()
AssetResultRow
getAttributeNames
in interface AssetResultRow
public Object getValue(String fieldName)
AssetResultRow
getValue
in interface AssetResultRow
fieldName
- the name of the attribute