mihon/app/src/main/java/eu/kanade/mangafeed/util/PostResult.java

34 lines
853 B
Java
Raw Normal View History

2015-10-25 21:15:31 -04:00
package eu.kanade.mangafeed.util;
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;
}
public Integer getNumberOfRowsUpdated() {
return numberOfRowsUpdated;
}
public Integer getNumberOfRowsInserted() {
return numberOfRowsInserted;
}
public Integer getNumberOfRowsDeleted() {
return numberOfRowsDeleted;
}
}