dsql.value
Class List
java.lang.Object
dsql.DMExecuted
dsql.value.Value
dsql.value.NonScalarValue
dsql.value.JavaObject
dsql.value.List
- All Implemented Interfaces:
- RecordHolder
- public class List
- extends JavaObject
- implements RecordHolder
A list
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
List
public List(DSQL _caller)
List
public List(DSQL _caller,
int size)
List
public List(DSQL _caller,
java.lang.Object[] list)
List
public List(DSQL _caller,
java.util.AbstractList obj)
getList
public java.util.AbstractList getList()
getBoolean
public boolean getBoolean()
- Overrides:
getBoolean
in class JavaObject
getRecordCount
public int getRecordCount()
- Description copied from interface:
RecordHolder
- this function should be called with care as it can be computationaly
expensive for SQL Cursors!
- Specified by:
getRecordCount
in interface RecordHolder
- Returns:
- number of records
getRecord
public Value getRecord(int i)
throws ExecuteException
- Specified by:
getRecord
in interface RecordHolder
- Returns:
- record at position i (first record is 1). For SQL cursors,
the returned Value can be a ProxyRecord
- Throws:
ExecuteException
setRecord
public void setRecord(int i,
Value val)
throws ExecuteException
- Specified by:
setRecord
in interface RecordHolder
- Throws:
ExecuteException
checkRange
protected void checkRange(int i)
throws ExecuteException
- Throws:
ExecuteException