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

br.com.objectos.schema.TableDefPojo 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 TableDefPojo extends TableDef {
  private static final Tester ___TESTER___ = Tester.of(TableDef.class)
      .add("name", o -> o.name())
      .add("columnDefList", o -> o.columnDefList())
      .build();

  private final String name;

  private final List columnDefList;

  public TableDefPojo(TableDefBuilderPojo builder) {
    super();
    name = builder.___get___name();
    columnDefList = builder.___get___columnDefList();
  }

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

  @Override
  String name() {
    return name;
  }

  @Override
  List columnDefList() {
    return columnDefList;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy