br.com.objectos.schema.IntegerColumnDefPojo Maven / Gradle / Ivy
package br.com.objectos.schema;
import br.com.objectos.schema.info.IntColumnKind;
import br.com.objectos.testable.Equality;
import br.com.objectos.testable.Tester;
import javax.annotation.Generated;
@Generated({
"br.com.objectos.pojo.compiler.PojoCompiler",
"br.com.objectos.pojo.plugin.StandardPojoPropertyAction",
"br.com.objectos.testable.TestablePlugin"
})
final class IntegerColumnDefPojo extends IntegerColumnDef {
private static final Tester ___TESTER___ = Tester.of(IntegerColumnDef.class)
.add("name", o -> o.name())
.add("kind", o -> o.kind())
.add("unsigned", o -> o.unsigned())
.add("nullable", o -> o.nullable())
.add("generationDef", o -> o.generationDef())
.build();
private final String name;
private final IntColumnKind kind;
private final boolean unsigned;
private final boolean nullable;
private final GenerationDef generationDef;
public IntegerColumnDefPojo(IntegerColumnDefBuilderPojo builder) {
super();
name = builder.___get___name();
kind = builder.___get___kind();
unsigned = builder.___get___unsigned();
nullable = builder.___get___nullable();
generationDef = builder.___get___generationDef();
}
@Override
public Equality isEqualTo(Object that) {
return ___TESTER___.test(this, that);
}
@Override
String name() {
return name;
}
@Override
IntColumnKind kind() {
return kind;
}
@Override
boolean unsigned() {
return unsigned;
}
@Override
boolean nullable() {
return nullable;
}
@Override
GenerationDef generationDef() {
return generationDef;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy