
br.com.objectos.code.pojo.NamingPojo Maven / Gradle / Ivy
The newest version!
package br.com.objectos.code.pojo;
import br.com.objectos.core.testing.Testables;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.TypeVariableName;
import java.util.List;
import javax.annotation.Generated;
@Generated("br.com.objectos.auto.pojo.AutoPojoProcessor")
final class NamingPojo extends Naming {
private final ClassName superClass;
private final ClassName pojo;
private final ClassName builderInterface;
private final ClassName builderClass;
private final List typeVariableNameList;
private final List typeVariableNameRawList;
private final List typeVariableNameUnboundedList;
public NamingPojo(NamingBuilderPojo builder) {
super();
superClass = builder.___get___superClass();
pojo = builder.___get___pojo();
builderInterface = builder.___get___builderInterface();
builderClass = builder.___get___builderClass();
typeVariableNameList = builder.___get___typeVariableNameList();
typeVariableNameRawList = builder.___get___typeVariableNameRawList();
typeVariableNameUnboundedList = builder.___get___typeVariableNameUnboundedList();
}
@Override
public boolean isEqual(Naming that) {
return Testables.isEqualHelper()
.equal(superClass, that.superClass())
.equal(pojo, that.pojo())
.equal(builderInterface, that.builderInterface())
.equal(builderClass, that.builderClass())
.equal(typeVariableNameList, that.typeVariableNameList())
.equal(typeVariableNameRawList, that.typeVariableNameRawList())
.equal(typeVariableNameUnboundedList, that.typeVariableNameUnboundedList())
.result();
}
@Override
ClassName superClass() {
return superClass;
}
@Override
ClassName pojo() {
return pojo;
}
@Override
ClassName builderInterface() {
return builderInterface;
}
@Override
ClassName builderClass() {
return builderClass;
}
@Override
List typeVariableNameList() {
return typeVariableNameList;
}
@Override
List typeVariableNameRawList() {
return typeVariableNameRawList;
}
@Override
List typeVariableNameUnboundedList() {
return typeVariableNameUnboundedList;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy