Skip navigation links
com.fatwire.assetapi.query
Class AssetResultRowImpl
java.lang.Object
com.fatwire.assetapi.query.AssetResultRowImpl
- All Implemented Interfaces:
- AssetResultRow
-
public class AssetResultRowImpl
- extends java.lang.Object
- implements AssetResultRow
The default implementation class for an AssetResultRow
Method Summary |
java.util.List<java.lang.String> |
getAttributeNames()
Gets the list of attribute names |
AssetId |
getId()
gets the Asset Id of the result row |
java.lang.Object |
getValue(java.lang.String fieldName)
Gets the value of an attribute given attribute name |
void |
setValue(java.lang.String fieldName, java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetResultRowImpl
public AssetResultRowImpl(AssetId id,
java.util.List<java.lang.String> fields)
throws AssetAccessException
-
- Throws:
AssetAccessException
getId
public AssetId getId()
- Description copied from interface:
AssetResultRow
- gets the Asset Id of the result row
-
- Specified by:
getId
in interface AssetResultRow
-
- Returns:
- the asset id
getAttributeNames
public java.util.List<java.lang.String> getAttributeNames()
- Description copied from interface:
AssetResultRow
- Gets the list of attribute names
-
- Specified by:
getAttributeNames
in interface AssetResultRow
-
- Returns:
- the list of attribute names contained in the result row
getValue
public java.lang.Object getValue(java.lang.String fieldName)
- Description copied from interface:
AssetResultRow
- Gets the value of an attribute given attribute name
-
- Specified by:
getValue
in interface AssetResultRow
-
- Parameters:
fieldName
- the name of the attribute
- Returns:
- the value of the given attribute
setValue
public void setValue(java.lang.String fieldName,
java.lang.Object value)
Skip navigation links
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.