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

ru.abyss.settings.importer.TableColumn Maven / Gradle / Ivy

/*
 * Copyright Бездна (c) 2018.
 */
package ru.abyss.settings.importer;

/**
 * @author Minu <[email protected]>
 * @since 20.06.2018 14:39:17
 */
public class TableColumn {

	private String name;
	private String type;
	private boolean isNullable;
	private boolean isPKey;

	public TableColumn(String name, String type, boolean isNullable, boolean isPKey) {
		this.name = name;
		this.type = type;
		this.isNullable = isNullable;
		this.isPKey = isPKey;
	}

	public String getName() {
		return name;
	}

	public String getType() {
		return type;
	}

	public boolean isNullable() {
		return isNullable;
	}

	public boolean isPKey() {
		return isPKey;
	}
	public void setPKey(boolean isPKey) {
		this.isPKey = isPKey;
	}

	@Override
	public String toString() {
		return name;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy