2015-10-25 21:15:31 -04:00
|
|
|
package eu.kanade.mangafeed.util;
|
2015-10-08 16:48:50 -04:00
|
|
|
|
|
|
|
import android.support.annotation.Nullable;
|
|
|
|
|
|
|
|
public class PostResult {
|
|
|
|
|
|
|
|
@Nullable
|
|
|
|
private final Integer numberOfRowsUpdated;
|
|
|
|
|
|
|
|
@Nullable
|
|
|
|
private final Integer numberOfRowsInserted;
|
|
|
|
|
|
|
|
@Nullable
|
|
|
|
private final Integer numberOfRowsDeleted;
|
|
|
|
|
|
|
|
public PostResult(Integer numberOfRowsUpdated, Integer numberOfRowsInserted, Integer numberOfRowsDeleted) {
|
|
|
|
this.numberOfRowsUpdated = numberOfRowsUpdated;
|
|
|
|
this.numberOfRowsInserted = numberOfRowsInserted;
|
|
|
|
this.numberOfRowsDeleted = numberOfRowsDeleted;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Nullable
|
|
|
|
public Integer getNumberOfRowsUpdated() {
|
|
|
|
return numberOfRowsUpdated;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Nullable
|
|
|
|
public Integer getNumberOfRowsInserted() {
|
|
|
|
return numberOfRowsInserted;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Nullable
|
|
|
|
public Integer getNumberOfRowsDeleted() {
|
|
|
|
return numberOfRowsDeleted;
|
|
|
|
}
|
|
|
|
}
|