java.lang.Object
org.seasar.doma.jdbc.Result<ENTITY>
- Type Parameters:
ENTITY- the entity type
A processing result for an immutable entity.
-
Constructor Details
-
Result
Creates an instance.- Parameters:
count- the affected row countentity- the entity
-
-
Method Details
-
getCount
public int getCount()Returns the affected row count.- Returns:
- the affected row count
-
getEntity
Returns the entity.- Returns:
- the entity
-
component1
Returns the entity.- Returns:
- the entity
- See Also:
-
component2
public int component2()Returns the affected row count.- Returns:
- the affected row count
- See Also:
-
toString
-