
br.com.objectos.ui.html.ElementMethodPojo Maven / Gradle / Ivy
The newest version!
package br.com.objectos.ui.html;
import br.com.objectos.core.testing.Testables;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.TypeName;
import java.util.List;
import javax.annotation.Generated;
@Generated("br.com.objectos.auto.pojo.AutoPojoProcessor")
final class ElementMethodPojo extends ElementMethod {
private final String tagName;
private final ClassName className;
private final TypeName protoTypeName;
private final List childList;
public ElementMethodPojo(ElementMethodBuilderPojo builder) {
super();
tagName = builder.___get___tagName();
className = builder.___get___className();
protoTypeName = builder.___get___protoTypeName();
childList = builder.___get___childList();
}
@Override
public boolean isEqual(ElementMethod that) {
return Testables.isEqualHelper()
.equal(tagName, that.tagName())
.equal(className, that.className())
.equal(protoTypeName, that.protoTypeName())
.equal(childList, that.childList())
.result();
}
@Override
String tagName() {
return tagName;
}
@Override
ClassName className() {
return className;
}
@Override
TypeName protoTypeName() {
return protoTypeName;
}
@Override
List childList() {
return childList;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy