public class PrimaryKeyResult extends Object
Holds the result of a primary key query.
Modifier and Type | Field and Description |
---|---|
static org.springframework.jdbc.core.RowMapper<PrimaryKeyResult> |
ROW_MAPPER
A row mapper for primary key query results.
|
Constructor and Description |
---|
PrimaryKeyResult() |
Modifier and Type | Method and Description |
---|---|
long |
getFirstAvailable()
Returns the first available primary key.
|
long |
getId()
Returns the id of the resulting row.
|
void |
setFirstAvailable(long firstAvailable)
Sets the first available primary key.
|
void |
setId(long id)
Sets the id of the resulting row.
|
public static final org.springframework.jdbc.core.RowMapper<PrimaryKeyResult> ROW_MAPPER
A row mapper for primary key query results.
public long getId()
Returns the id of the resulting row.
public void setId(long id)
Sets the id of the resulting row.
id
- the resulting row idpublic long getFirstAvailable()
Returns the first available primary key.
public void setFirstAvailable(long firstAvailable)
Sets the first available primary key.
firstAvailable
- the first available primary key.Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.