br.com.objectos.schema.IntegerColumnDefBuilderPojo Maven / Gradle / Ivy
package br.com.objectos.schema;
import br.com.objectos.schema.info.IntColumnKind;
import javax.annotation.Generated;
@Generated({
"br.com.objectos.pojo.compiler.PojoCompiler",
"br.com.objectos.pojo.plugin.StandardBuilderPropertyAction"
})
final class IntegerColumnDefBuilderPojo implements IntegerColumnDefBuilder, IntegerColumnDefBuilder.IntegerColumnDefBuilderName, IntegerColumnDefBuilder.IntegerColumnDefBuilderKind, IntegerColumnDefBuilder.IntegerColumnDefBuilderUnsigned, IntegerColumnDefBuilder.IntegerColumnDefBuilderNullable, IntegerColumnDefBuilder.IntegerColumnDefBuilderGenerationDef {
private String name;
private IntColumnKind kind;
private boolean unsigned;
private boolean nullable;
private GenerationDef generationDef;
public IntegerColumnDefBuilderPojo() {
}
@Override
public IntegerColumnDef build() {
return new IntegerColumnDefPojo(this);
}
@Override
public IntegerColumnDefBuilder.IntegerColumnDefBuilderName name(String name) {
if (name == null) {
throw new NullPointerException();
}
this.name = name;
return this;
}
String ___get___name() {
return name;
}
@Override
public IntegerColumnDefBuilder.IntegerColumnDefBuilderKind kind(IntColumnKind kind) {
if (kind == null) {
throw new NullPointerException();
}
this.kind = kind;
return this;
}
IntColumnKind ___get___kind() {
return kind;
}
@Override
public IntegerColumnDefBuilder.IntegerColumnDefBuilderUnsigned unsigned(boolean unsigned) {
this.unsigned = unsigned;
return this;
}
boolean ___get___unsigned() {
return unsigned;
}
@Override
public IntegerColumnDefBuilder.IntegerColumnDefBuilderNullable nullable(boolean nullable) {
this.nullable = nullable;
return this;
}
boolean ___get___nullable() {
return nullable;
}
@Override
public IntegerColumnDefBuilder.IntegerColumnDefBuilderGenerationDef generationDef(GenerationDef generationDef) {
if (generationDef == null) {
throw new NullPointerException();
}
this.generationDef = generationDef;
return this;
}
GenerationDef ___get___generationDef() {
return generationDef;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy