com.fatwire.gst.foundation.facade.assetapi
Class AssetIdIList

java.lang.Object
  extended by com.fatwire.gst.foundation.facade.sql.AbstractIList
      extended by com.fatwire.gst.foundation.facade.assetapi.AssetIdIList
All Implemented Interfaces:
COM.FutureTense.Interfaces.IList

public class AssetIdIList
extends AbstractIList

IList implementation that starts with a List and exposes the rows as ASSETTYPE,ASSETID. The getter is case-insensitive, so assettype,assetid works too.

Since:
Aug 13, 2010
Author:
Tony Field
See Also:
IListIterable

Field Summary
static String ASSETID
           
static String ASSETTYPE
           
protected  List<com.fatwire.assetapi.data.AssetId> ids
          Collection of AssetId objects
 
Fields inherited from interface COM.FutureTense.Interfaces.IList
first, gotorow, last, next, prev
 
Constructor Summary
AssetIdIList(String name, Collection<com.fatwire.assetapi.data.AssetId> ids)
          Construct a new IList taking the name and the data.
 
Method Summary
 COM.FutureTense.Interfaces.IList clone(String newname)
           
 void flush()
           
 String getColumnName(int i)
           
 byte[] getFileData(String s)
           
 String getFileString(String s)
           
 String getIndirectColumnName(int i)
           
 Object getObject(String s)
           
 String getValue(String s)
           
 int numColumns()
           
 int numIndirectColumns()
           
 int numRows()
           
 boolean stringInList(String s)
           
 
Methods inherited from class com.fatwire.gst.foundation.facade.sql.AbstractIList
atEnd, currentRow, getName, hasData, moveTo, moveToRow, rename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ASSETTYPE

public static final String ASSETTYPE
See Also:
Constant Field Values

ASSETID

public static final String ASSETID
See Also:
Constant Field Values

ids

protected List<com.fatwire.assetapi.data.AssetId> ids
Collection of AssetId objects

Constructor Detail

AssetIdIList

public AssetIdIList(String name,
                    Collection<com.fatwire.assetapi.data.AssetId> ids)
Construct a new IList taking the name and the data.

Parameters:
name - IList name
ids - asset ids.
Method Detail

clone

public COM.FutureTense.Interfaces.IList clone(String newname)

flush

public void flush()

numColumns

public int numColumns()

getColumnName

public String getColumnName(int i)
                     throws ArrayIndexOutOfBoundsException
Throws:
ArrayIndexOutOfBoundsException

numRows

public int numRows()

getValue

public String getValue(String s)
                throws NoSuchFieldException
Throws:
NoSuchFieldException

getObject

public Object getObject(String s)
                 throws NoSuchFieldException
Throws:
NoSuchFieldException

getFileData

public byte[] getFileData(String s)
                   throws IllegalArgumentException,
                          NoSuchFieldException
Throws:
IllegalArgumentException
NoSuchFieldException

getFileString

public String getFileString(String s)
                     throws NoSuchFieldException
Throws:
NoSuchFieldException

numIndirectColumns

public int numIndirectColumns()

getIndirectColumnName

public String getIndirectColumnName(int i)

stringInList

public boolean stringInList(String s)


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.