liquibase.statement.core.AlterSequenceStatement Maven / Gradle / Ivy
package liquibase.statement.core;
import liquibase.statement.SqlStatement;
import java.math.BigInteger;
public class AlterSequenceStatement implements SqlStatement {
private String schemaName;
private String sequenceName;
private BigInteger incrementBy;
private BigInteger maxValue;
private BigInteger minValue;
private Boolean ordered;
public AlterSequenceStatement(String schemaName, String sequenceName) {
this.schemaName = schemaName;
this.sequenceName = sequenceName;
}
public String getSchemaName() {
return schemaName;
}
public String getSequenceName() {
return sequenceName;
}
public BigInteger getIncrementBy() {
return incrementBy;
}
public AlterSequenceStatement setIncrementBy(BigInteger incrementBy) {
this.incrementBy = incrementBy;
return this;
}
public BigInteger getMaxValue() {
return maxValue;
}
public AlterSequenceStatement setMaxValue(BigInteger maxValue) {
this.maxValue = maxValue;
return this;
}
public BigInteger getMinValue() {
return minValue;
}
public AlterSequenceStatement setMinValue(BigInteger minValue) {
this.minValue = minValue;
return this;
}
public Boolean getOrdered() {
return ordered;
}
public AlterSequenceStatement setOrdered(Boolean ordered) {
this.ordered = ordered;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy