br.com.objectos.ui.html.ChildPojo Maven / Gradle / Ivy
package br.com.objectos.ui.html;
import br.com.objectos.way.testable.Equality;
import br.com.objectos.way.testable.Tester;
import com.squareup.javapoet.ClassName;
import javax.annotation.Generated;
@Generated({
"br.com.objectos.way.pojo.compiler.PojoCompiler",
"br.com.objectos.way.pojo.plugin.StandardPojoPropertyAction",
"br.com.objectos.way.testable.TestablePlugin"
})
final class ChildPojo extends Child {
private static final Tester ___TESTER___ = Tester.of(Child.class)
.add("parentClassName", o -> o.parentClassName())
.add("tagName", o -> o.tagName())
.add("childClassName", o -> o.childClassName())
.add("innerClassName", o -> o.innerClassName())
.build();
private final ClassName parentClassName;
private final String tagName;
private final ClassName childClassName;
private final ClassName innerClassName;
public ChildPojo(ChildBuilderPojo builder) {
super();
parentClassName = builder.___get___parentClassName();
tagName = builder.___get___tagName();
childClassName = builder.___get___childClassName();
innerClassName = builder.___get___innerClassName();
}
@Override
public Equality isEqualTo(Object that) {
return ___TESTER___.test(this, that);
}
@Override
ClassName parentClassName() {
return parentClassName;
}
@Override
String tagName() {
return tagName;
}
@Override
ClassName childClassName() {
return childClassName;
}
@Override
ClassName innerClassName() {
return innerClassName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy