br.com.objectos.html.ChildBuilderPojo Maven / Gradle / Ivy
package br.com.objectos.html;
import com.squareup.javapoet.ClassName;
import javax.annotation.Generated;
@Generated({
"br.com.objectos.pojo.compiler.PojoCompiler",
"br.com.objectos.pojo.plugin.StandardBuilderPropertyAction"
})
final class ChildBuilderPojo implements ChildBuilder, ChildBuilder.ChildBuilderParentClassName, ChildBuilder.ChildBuilderTagName, ChildBuilder.ChildBuilderChildClassName, ChildBuilder.ChildBuilderInnerClassName {
private ClassName parentClassName;
private String tagName;
private ClassName childClassName;
private ClassName innerClassName;
public ChildBuilderPojo() {
}
@Override
public Child build() {
return new ChildPojo(this);
}
@Override
public ChildBuilder.ChildBuilderParentClassName parentClassName(ClassName parentClassName) {
if (parentClassName == null) {
throw new NullPointerException();
}
this.parentClassName = parentClassName;
return this;
}
ClassName ___get___parentClassName() {
return parentClassName;
}
@Override
public ChildBuilder.ChildBuilderTagName tagName(String tagName) {
if (tagName == null) {
throw new NullPointerException();
}
this.tagName = tagName;
return this;
}
String ___get___tagName() {
return tagName;
}
@Override
public ChildBuilder.ChildBuilderChildClassName childClassName(ClassName childClassName) {
if (childClassName == null) {
throw new NullPointerException();
}
this.childClassName = childClassName;
return this;
}
ClassName ___get___childClassName() {
return childClassName;
}
@Override
public ChildBuilder.ChildBuilderInnerClassName innerClassName(ClassName innerClassName) {
if (innerClassName == null) {
throw new NullPointerException();
}
this.innerClassName = innerClassName;
return this;
}
ClassName ___get___innerClassName() {
return innerClassName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy