Constructor and Description |
---|
RowImpl(Row row,
ColumnDefinition metadata,
java.util.TimeZone defaultTimeZone,
PropertySet pset)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getBigDecimal(int pos)
Retrieve the value for column at position `pos' (starting at 0) as a decimal value.
|
java.math.BigDecimal |
getBigDecimal(java.lang.String fieldName)
Retrieve the value for column `fieldName' as a decimal value.
|
boolean |
getBoolean(int pos)
Retrieve the value for column at position `pos' (starting at 0) as a boolean value.
|
boolean |
getBoolean(java.lang.String fieldName)
Retrieve the value for column `fieldName' as a boolean value.
|
byte |
getByte(int pos)
Retrieve the value for column at position `pos' (starting at 0) as a byte value.
|
byte |
getByte(java.lang.String fieldName)
Retrieve the value for column `fieldName' as a byte value.
|
java.sql.Date |
getDate(int pos)
Retrieve the value for column at position `pos' (starting at 0) as a byte value.
|
java.sql.Date |
getDate(java.lang.String fieldName)
Retrieve the value for column `fieldName' as a
Date value. |
DbDoc |
getDbDoc(int pos)
Retrieve the value for column at position `pos' (starting at 0) as a DbDoc value.
|
DbDoc |
getDbDoc(java.lang.String fieldName)
Retrieve the value for column `fieldName' as a DbDoc value.
|
double |
getDouble(int pos)
Retrieve the value for column at position `pos' (starting at 0) as a double value.
|
double |
getDouble(java.lang.String fieldName)
Retrieve the value for column `fieldName' as a double value.
|
int |
getInt(int pos)
Retrieve the value for column at position `pos' (starting at 0) as an integer value.
|
int |
getInt(java.lang.String fieldName)
Retrieve the value for column `fieldName' as an integer value.
|
long |
getLong(int pos)
Retrieve the value for column at position `pos' (starting at 0) as a long value.
|
long |
getLong(java.lang.String fieldName)
Retrieve the value for column `fieldName' as a long value.
|
java.lang.String |
getString(int pos)
Retrieve the value for column at position `pos' (starting at 0) as a string value.
|
java.lang.String |
getString(java.lang.String fieldName)
Retrieve the value for column `fieldName' as a string value.
|
java.sql.Time |
getTime(int pos)
Retrieve the value for column at position `pos' (starting at 0) as a byte value.
|
java.sql.Time |
getTime(java.lang.String fieldName)
Retrieve the value for column `fieldName' as a
Time value. |
java.sql.Timestamp |
getTimestamp(int pos)
Retrieve the value for column at position `pos' (starting at 0) as a byte value.
|
java.sql.Timestamp |
getTimestamp(java.lang.String fieldName)
Retrieve the value for column `fieldName' as a
Timestamp value. |
public RowImpl(Row row, ColumnDefinition metadata, java.util.TimeZone defaultTimeZone, PropertySet pset)
row
- Row
instance provided by c/J core.metadata
- ColumnDefinition
object to use for new rows.defaultTimeZone
- TimeZone
object representing the default time zonepset
- PropertySet
public java.math.BigDecimal getBigDecimal(java.lang.String fieldName)
Row
getBigDecimal
in interface Row
fieldName
- field namepublic java.math.BigDecimal getBigDecimal(int pos)
Row
getBigDecimal
in interface Row
pos
- field positionpublic boolean getBoolean(java.lang.String fieldName)
Row
getBoolean
in interface Row
fieldName
- field namepublic boolean getBoolean(int pos)
Row
getBoolean
in interface Row
pos
- field position
field positionpublic byte getByte(java.lang.String fieldName)
Row
public byte getByte(int pos)
Row
public java.sql.Date getDate(java.lang.String fieldName)
Row
Date
value.public java.sql.Date getDate(int pos)
Row
public DbDoc getDbDoc(java.lang.String fieldName)
Row
public DbDoc getDbDoc(int pos)
Row
public double getDouble(java.lang.String fieldName)
Row
public double getDouble(int pos)
Row
public int getInt(java.lang.String fieldName)
Row
public int getInt(int pos)
Row
public long getLong(java.lang.String fieldName)
Row
public long getLong(int pos)
Row
public java.lang.String getString(java.lang.String fieldName)
Row
public java.lang.String getString(int pos)
Row
public java.sql.Time getTime(java.lang.String fieldName)
Row
Time
value.public java.sql.Time getTime(int pos)
Row
public java.sql.Timestamp getTimestamp(java.lang.String fieldName)
Row
Timestamp
value.getTimestamp
in interface Row
fieldName
- field namepublic java.sql.Timestamp getTimestamp(int pos)
Row
getTimestamp
in interface Row
pos
- field position