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

br.com.objectos.schema.info.IntDefaultValuePojo Maven / Gradle / Ivy

package br.com.objectos.schema.info;

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 IntDefaultValuePojo extends IntDefaultValue {
  private static final Tester ___TESTER___ = Tester.of(IntDefaultValue.class)
      .add("set", o -> o.set())
      .add("nullValue", o -> o.nullValue())
      .add("intValue", o -> o.intValue())
      .build();

  private final boolean set;

  private final boolean nullValue;

  private final int intValue;

  public IntDefaultValuePojo(IntDefaultValueBuilderPojo builder) {
    super();
    set = builder.___get___set();
    nullValue = builder.___get___nullValue();
    intValue = builder.___get___intValue();
  }

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

  @Override
  boolean set() {
    return set;
  }

  @Override
  boolean nullValue() {
    return nullValue;
  }

  @Override
  int intValue() {
    return intValue;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy