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

br.com.objectos.schema.ddl.CreateTablePojo Maven / Gradle / Ivy

There is a newer version: 0.3.0
Show newest version
package br.com.objectos.schema.ddl;

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("columnDefList", o -> o.columnDefList())
      .add("primaryKeyDef", o -> o.primaryKeyDef())
      .build();

  private final List columnDefList;

  private final PrimaryKeyDef primaryKeyDef;

  public CreateTablePojo(CreateTableBuilderPojo builder) {
    super();
    columnDefList = builder.___get___columnDefList();
    primaryKeyDef = builder.___get___primaryKeyDef();
  }

  @Override
  public Equality isEqualTo(Object that) {
    return ___TESTER___.test(this, that);
  }

  @Override
  List columnDefList() {
    return columnDefList;
  }

  @Override
  PrimaryKeyDef primaryKeyDef() {
    return primaryKeyDef;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy