
br.com.objectos.jabuticava.serasa.relato.factoring.TrailerConciliacaoPojo Maven / Gradle / Ivy
The newest version!
package br.com.objectos.jabuticava.serasa.relato.factoring;
import br.com.objectos.way.io.flat.FlatFileWriter;
import br.com.objectos.way.io.flat.pojo.IntegerOption;
import javax.annotation.Generated;
@Generated({
"br.com.objectos.way.io.flat.FlatRecordPlugin",
"br.com.objectos.way.io.flat.FlatRecordPlugin$ThisPojoPropertyAction",
"br.com.objectos.way.pojo.compiler.PojoCompiler"
})
final class TrailerConciliacaoPojo extends TrailerConciliacao {
private static final String id = "99";
private static final String tempoRelacionamentoPj = "00000000000";
private static final String brancos0 = "00000000000000000000000000000000000000000000";
private static final String tempoRelacionamentoPf = "00000000000";
private static final String reservado = " ";
private static final String brancos1 = " ";
private final int titulosPj;
private final int titulosPf;
public TrailerConciliacaoPojo(TrailerConciliacaoBuilderPojo builder) {
super();
titulosPj = builder.___get___titulosPj();
titulosPf = builder.___get___titulosPf();
}
@Override
public void emit(FlatFileWriter file) {
file.recordWriter()
.fixed(id)
.fixed(tempoRelacionamentoPj)
.fixed(brancos0)
.integer(titulosPj, 11, IntegerOption.ZEROFILL)
.fixed(tempoRelacionamentoPf)
.integer(titulosPf, 11, IntegerOption.ZEROFILL)
.fixed(reservado)
.fixed(brancos1)
.write();
}
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
FlatFileWriter file = new FlatFileWriter(builder);
emit(file);
return builder.toString();
}
@Override
String id() {
return id;
}
@Override
String tempoRelacionamentoPj() {
return tempoRelacionamentoPj;
}
@Override
String brancos0() {
return brancos0;
}
@Override
public int titulosPj() {
return titulosPj;
}
@Override
String tempoRelacionamentoPf() {
return tempoRelacionamentoPf;
}
@Override
public int titulosPf() {
return titulosPf;
}
@Override
String reservado() {
return reservado;
}
@Override
String brancos1() {
return brancos1;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy