
br.com.objectos.way.schema.info.TableInfoAnnotationInfoPojo Maven / Gradle / Ivy
The newest version!
package br.com.objectos.way.schema.info;
import br.com.objectos.way.testable.Equality;
import br.com.objectos.way.testable.Tester;
import com.squareup.javapoet.ClassName;
import java.util.List;
import java.util.Set;
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 TableInfoAnnotationInfoPojo extends TableInfoAnnotationInfo {
private static final Tester ___TESTER___ = Tester.of(TableInfoAnnotationInfo.class)
.add("className", o -> o.className())
.add("tableName", o -> o.tableName())
.add("columnInfoList", o -> o.columnInfoList())
.add("primaryKeyClassNameSet", o -> o.primaryKeyClassNameSet())
.build();
private final ClassName className;
private final TableName tableName;
private final List columnInfoList;
private final Set primaryKeyClassNameSet;
public TableInfoAnnotationInfoPojo(TableInfoAnnotationInfoBuilderPojo builder) {
super();
className = builder.___get___className();
tableName = builder.___get___tableName();
columnInfoList = builder.___get___columnInfoList();
primaryKeyClassNameSet = builder.___get___primaryKeyClassNameSet();
}
@Override
public Equality isEqualTo(Object that) {
return ___TESTER___.test(this, that);
}
@Override
public ClassName className() {
return className;
}
@Override
public TableName tableName() {
return tableName;
}
@Override
public List columnInfoList() {
return columnInfoList;
}
@Override
public Set primaryKeyClassNameSet() {
return primaryKeyClassNameSet;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy