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

liquibase.statement.SequenceNextValueFunction Maven / Gradle / Ivy

There is a newer version: 3.6.2.5.inovus
Show newest version
package liquibase.statement;

/**
 * Represents a function for getting the next value from a sequence
 */
public class SequenceNextValueFunction extends DatabaseFunction {

    private String sequenceSchemaName;

    public SequenceNextValueFunction() {
        this("UNSET");
    }

    public SequenceNextValueFunction(String sequenceName) {
        super(sequenceName);
    }

    public SequenceNextValueFunction(String sequenceName, String sequenceSchemaName) {
        super(sequenceName);
        setSequenceSchemaName(sequenceSchemaName);
    }

    public String getSequenceSchemaName() {
        return sequenceSchemaName;
    }

    public void setSequenceSchemaName(String sequenceSchemaName) {
        this.sequenceSchemaName = sequenceSchemaName;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy