br.com.objectos.schema.CreateTablePojo Maven / Gradle / Ivy
package br.com.objectos.schema;
import br.com.objectos.testable.Equality;
import br.com.objectos.testable.Tester;
import java.util.List;
import javax.annotation.Generated;
@Generated({
"br.com.objectos.pojo.compiler.PojoCompiler",
"br.com.objectos.pojo.plugin.StandardPojoPropertyAction",
"br.com.objectos.testable.TestablePlugin"
})
final class CreateTablePojo extends CreateTable {
private static final Tester ___TESTER___ = Tester.of(CreateTable.class)
.add("tableName", o -> o.tableName())
.add("columnDdlList", o -> o.columnDdlList())
.add("primaryKeyDef", o -> o.primaryKeyDef())
.build();
private final String tableName;
private final List extends ColumnDdl> columnDdlList;
private final PrimaryKeyDef primaryKeyDef;
public CreateTablePojo(CreateTableBuilderPojo builder) {
super();
tableName = builder.___get___tableName();
columnDdlList = builder.___get___columnDdlList();
primaryKeyDef = builder.___get___primaryKeyDef();
}
@Override
public Equality isEqualTo(Object that) {
return ___TESTER___.test(this, that);
}
@Override
String tableName() {
return tableName;
}
@Override
List extends ColumnDdl> columnDdlList() {
return columnDdlList;
}
@Override
PrimaryKeyDef primaryKeyDef() {
return primaryKeyDef;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy