br.com.objectos.sql.info.DoubleDefaultValuePojo Maven / Gradle / Ivy
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;
}
}