All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sf.database.dbinfo.SequenceInfo Maven / Gradle / Ivy

The newest version!
package sf.database.dbinfo;

/**
 * 数据库中的序列信息
 * @author
 */
public class SequenceInfo {
    private String catalog;
    private String schema;
    private String name;
    private long startValue;
    private int step;
    private int cacheSize;
    // private BigDecimal maxValue;
    private long minValue;
    /**
     * 下一次调用nextval将要得到的值。注意,不是上一次调用得到的值
     */
    private long currentValue;

    public String getCatalog() {
        return catalog;
    }

    public void setCatalog(String catalog) {
        this.catalog = catalog;
    }

    public String getSchema() {
        return schema;
    }

    public void setSchema(String schema) {
        this.schema = schema;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getStartValue() {
        return startValue;
    }

    public void setStartValue(long startValue) {
        this.startValue = startValue;
    }

    public int getStep() {
        return step;
    }

    public void setStep(int step) {
        this.step = step;
    }

    // public BigDecimal getMaxValue() {
    // return maxValue;
    // }

    // public void setMaxValue(BigDecimal maxValue) {
    // this.maxValue = maxValue;
    // }

    public long getMinValue() {
        return minValue;
    }

    public void setMinValue(long minValue) {
        this.minValue = minValue;
    }

    public long getCurrentValue() {
        return currentValue;
    }

    public void setCurrentValue(long currentValue) {
        this.currentValue = currentValue;
    }

    public int getCacheSize() {
        return cacheSize;
    }

    public void setCacheSize(int cacheSize) {
        this.cacheSize = cacheSize;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy