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

br.com.objectos.sql.info.DoubleDefaultValuePojo Maven / Gradle / Ivy

There is a newer version: 0.11.1
Show newest version
package br.com.objectos.sql.info;

import br.com.objectos.core.testing.Testables;
import javax.annotation.Generated;

@Generated("br.com.objectos.auto.pojo.AutoPojoProcessor")
final class DoubleDefaultValuePojo extends DoubleDefaultValue {
  private final boolean set;

  private final boolean nullValue;

  private final double doubleValue;

  public DoubleDefaultValuePojo(DoubleDefaultValueBuilderPojo builder) {
    super();
    set = builder.___get___set();
    nullValue = builder.___get___nullValue();
    doubleValue = builder.___get___doubleValue();
  }

  @Override
  public boolean isEqual(DoubleDefaultValue that) {
    return Testables.isEqualHelper()
        .equal(set, that.set())
        .equal(nullValue, that.nullValue())
        .equal(doubleValue, that.doubleValue())
        .result();
  }

  @Override
  boolean set() {
    return set;
  }

  @Override
  boolean nullValue() {
    return nullValue;
  }

  @Override
  double doubleValue() {
    return doubleValue;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy