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

io.convergence_platform.common.database.blueprints.TableColumnBlueprint Maven / Gradle / Ivy

Go to download

Holds the common functionality needed by all Convergence Platform-based services written in Java.

The newest version!
package io.convergence_platform.common.database.blueprints;

public class TableColumnBlueprint {
    public String name;
    public String type;
    public boolean isPrimaryKey;
    public boolean isUnique;
    public boolean allowNull;
    public String defaultValue;

    public TableColumnBlueprint(String name, String type, boolean isPrimaryKey, boolean isUnique, boolean allowNull, String defaultValue) {
        this.name = name;
        this.type = type;
        this.isPrimaryKey = isPrimaryKey;
        this.isUnique = isUnique;
        this.allowNull = allowNull;
        this.defaultValue = defaultValue;
    }

    public TableColumnBlueprint(String name, String type) {
        this.name = name;
        this.type = type;
        this.isPrimaryKey = false;
        this.isUnique = false;
        this.allowNull = false;
        this.defaultValue = null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy