Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package be.nille.generator.data.db; import org.apache.commons.lang.builder.ReflectionToStringBuilder; /** * * @author nholvoet */ public class ColumnMetaData { private String name; private String type; private boolean nullable; public ColumnMetaData(String name, String type, boolean nullable) { this.name = name; this.type = type; this.nullable = nullable; } public ColumnMetaData() { } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getType() { return type; } public void setType(String type) { this.type = type; } public boolean isNullable() { return nullable; } public void setNullable(boolean nullable) { this.nullable = nullable; } @Override public String toString() { return ReflectionToStringBuilder.toString(this); } }