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

de.jaggl.sqlbuilder.domain.Placeholder Maven / Gradle / Ivy

There is a newer version: 2.7.2
Show newest version
package de.jaggl.sqlbuilder.domain;

import de.jaggl.sqlbuilder.columns.Column;

/**
 * @author Martin Schumacher
 *
 * @since 2.5.0
 */
public class Placeholder extends PlainValuable
{
    private Placeholder(String value)
    {
        super(new Plain(value));
    }

    public static Placeholder placeholder(Column column)
    {
        return new Placeholder(":" + column.getName());
    }

    public static Placeholder placeholder()
    {
        return new Placeholder("?");
    }

    public static Placeholder placeholder(String name)
    {
        return new Placeholder(":" + name);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy