ENTITY
- the entity typepublic class Result<ENTITY>
extends java.lang.Object
Constructor and Description |
---|
Result(int count,
ENTITY entity)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
ENTITY |
component1()
Returns the entity.
|
int |
component2()
Returns the affected row count.
|
int |
getCount()
Returns the affected row count.
|
ENTITY |
getEntity()
Returns the entity.
|
java.lang.String |
toString() |
public Result(int count, ENTITY entity)
count
- the affected row countentity
- the entitypublic int getCount()
public ENTITY getEntity()
public ENTITY component1()
public int component2()
public java.lang.String toString()
toString
in class java.lang.Object