Top Description Fields Constructors Methods
org.hibernate.result.internal

pack-priv Class UpdateCountOutputImpl

extends Object
implements UpdateCountOutput
Class Inheritance
All Implemented Interfaces
org.hibernate.result.UpdateCountOutput, org.hibernate.result.Output
Imports
org.hibernate.result.UpdateCountOutput

Implementation of UpdateCountOutput
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final int

Constructor Summary

AccessConstructor and Description
public
UpdateCountOutputImpl(int updateCount)

Method Summary

Modifier and TypeMethod and Description
public int
getUpdateCount()

Implements org.hibernate.result.UpdateCountOutput.getUpdateCount.

Retrieve the associated update count
public boolean
isResultSet()

Implements org.hibernate.result.Output.isResultSet.

Determine if this return is a result (castable to ResultSetOutput).
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

updateCountback to summary
private final int updateCount

Constructor Detail

UpdateCountOutputImplback to summary
public UpdateCountOutputImpl(int updateCount)

Method Detail

getUpdateCountback to summary
public int getUpdateCount()

Implements org.hibernate.result.UpdateCountOutput.getUpdateCount.

Doc from org.hibernate.result.UpdateCountOutput.getUpdateCount.

Retrieve the associated update count

Returns:int

The update count

Annotations
@Override
isResultSetback to summary
public boolean isResultSet()

Implements org.hibernate.result.Output.isResultSet.

Doc from org.hibernate.result.Output.isResultSet.

Determine if this return is a result (castable to ResultSetOutput). The alternative is that it is an update count (castable to UpdateCountOutput).

Returns:boolean

true indicates that this can be safely cast to ResultSetOutput), other wise it can be cast to UpdateCountOutput.

Annotations
@Override