| java.lang.Object dinamica.Record
Record | public class Record implements Serializable(Code) | | Utility class for Recordset: represents a record inside a recordset
Creation date: 10/09/2003
Last Update: 29/april/2004
(c) 2004 Martin Cordova
This code is released under the LGPL license
author: Martin Cordova (dinamica@martincordova.com) |
_children | Recordset _children(Code) | | every record in a recordset can contain a children recordset
|
Record | public Record(HashMap values)(Code) | | Quick constructor to build a record given a HashMap with field|value pairs
Parameters: values - Record values |
Record | public Record()(Code) | | This constructor was added to support Glue SOAP toolkit
2005-05-14
|
getChildren | public Recordset getChildren()(Code) | | Retrieve this record's children recordset
A reference to the recordset or null if no children recordset exists |
getFieldValue | public Object getFieldValue(String fieldName) throws RecordsetException(Code) | | Returns the field value (may be null). Throws exception if
the field is not defined in the record
Parameters: fieldName - Field name to retrieve value throws: Throwable - |
setChildren | public void setChildren(Recordset rs)(Code) | | Set the children recordset of this record
Parameters: rs - Children recordset |
setValue | public void setValue(String fieldName, Object value) throws RecordsetException(Code) | | Set a field's value - throws exception if field does not exist
Parameters: fieldName - Field Name Parameters: value - Value (Date, String, double, int, null) throws: Throwable - |
|
|