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

pers.clare.hisql.store.FieldColumn Maven / Gradle / Ivy

The newest version!
package pers.clare.hisql.store;

import java.lang.reflect.Field;


public class FieldColumn {
    private final Field field;
    private final boolean id;
    private final boolean auto;
    private final boolean notNullable;
    private final boolean insertable;
    private final boolean updatable;
    private final String columnName;

    public FieldColumn(Field field, boolean id, boolean auto, boolean notNullable, boolean insertable, boolean updatable, String columnName) {
        this.field = field;
        this.id = id;
        this.auto = auto;
        this.notNullable = notNullable;
        this.insertable = insertable;
        this.updatable = updatable;
        this.columnName = columnName;
    }

    public Field getField() {
        return field;
    }

    public boolean isId() {
        return id;
    }

    public boolean isAuto() {
        return auto;
    }

    public boolean isNotNullable() {
        return notNullable;
    }

    public boolean isInsertable() {
        return insertable;
    }

    public boolean isUpdatable() {
        return updatable;
    }

    public String getColumnName() {
        return columnName;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy