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

br.com.objectos.schema.LocalDateTimeColumnDefPojo Maven / Gradle / Ivy

package br.com.objectos.schema;

import br.com.objectos.schema.info.LocalDateTimeColumnKind;
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 LocalDateTimeColumnDefPojo extends LocalDateTimeColumnDef {
  private static final Tester ___TESTER___ = Tester.of(LocalDateTimeColumnDef.class)
      .add("name", o -> o.name())
      .add("kind", o -> o.kind())
      .add("nullable", o -> o.nullable())
      .add("defaultValueDef", o -> o.defaultValueDef())
      .add("onUpdateDef", o -> o.onUpdateDef())
      .build();

  private final String name;

  private final LocalDateTimeColumnKind kind;

  private final boolean nullable;

  private final DefaultValueDef defaultValueDef;

  private final OnUpdateDef onUpdateDef;

  public LocalDateTimeColumnDefPojo(LocalDateTimeColumnDefBuilderPojo builder) {
    super();
    name = builder.___get___name();
    kind = builder.___get___kind();
    nullable = builder.___get___nullable();
    defaultValueDef = builder.___get___defaultValueDef();
    onUpdateDef = builder.___get___onUpdateDef();
  }

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

  @Override
  String name() {
    return name;
  }

  @Override
  LocalDateTimeColumnKind kind() {
    return kind;
  }

  @Override
  boolean nullable() {
    return nullable;
  }

  @Override
  DefaultValueDef defaultValueDef() {
    return defaultValueDef;
  }

  @Override
  OnUpdateDef onUpdateDef() {
    return onUpdateDef;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy