public class ResultSetRow
extends java.lang.Object
ResultSetRow
contains data from one row of a
ResultSet
. Its get
and
set
methods allow easy property manipulation.
Plus, the get
method allows dynamic properties to be accessed
in JETT via JEXL Expressions, e.g ${employee.first_name}
is
accessed via a call to employee.get("first_name")
, since the
getFirstName()
method would not be found.Constructor | Description |
---|---|
ResultSetRow() |
Constructs an empty
ResultSetRow . |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
get(java.lang.String property) |
Returns the value for a given property string name.
|
void |
set(java.lang.String property,
java.lang.Object value) |
Sets the given property string name to the given value.
|
public void set(java.lang.String property, java.lang.Object value)
property
- The property string name.value
- The value.public java.lang.Object get(java.lang.String property)
property
- A property string name.null
if the property string name did
not exist.Copyright © 2012–2018 Jett Team. All rights reserved.