br.com.swconsultoria.efd.icms.registros.contadores.ContadoresBlocoE Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-efd-icms Show documentation
Show all versions of java-efd-icms Show documentation
API Java para gerar arquivo do Efd Icms
The newest version!
/**
*
*/
package br.com.swconsultoria.efd.icms.registros.contadores;
import br.com.swconsultoria.efd.icms.registros.blocoE.BlocoEEnum;
import lombok.EqualsAndHashCode;
/**
* @author Samuel Oliveira
*
*/
@EqualsAndHashCode
public class ContadoresBlocoE {
// Bloco E
private int contRegistroE001 = 0;
private int contRegistroE100 = 0;
private int contRegistroE110 = 0;
private int contRegistroE111 = 0;
private int contRegistroE112 = 0;
private int contRegistroE113 = 0;
private int contRegistroE115 = 0;
private int contRegistroE116 = 0;
private int contRegistroE200 = 0;
private int contRegistroE210 = 0;
private int contRegistroE220 = 0;
private int contRegistroE230 = 0;
private int contRegistroE240 = 0;
private int contRegistroE250 = 0;
private int contRegistroE300 = 0;
private int contRegistroE310 = 0;
private int contRegistroE311 = 0;
private int contRegistroE312 = 0;
private int contRegistroE313 = 0;
private int contRegistroE316 = 0;
private int contRegistroE500 = 0;
private int contRegistroE510 = 0;
private int contRegistroE520 = 0;
private int contRegistroE530 = 0;
private int contRegistroE531 = 0;
private int contRegistroE990 = 0;
public void incrementar(BlocoEEnum bloco) {
contRegistroE990++;
switch (bloco) {
case RegistroE001:
contRegistroE001++;
break;
case RegistroE100:
contRegistroE100++;
break;
case RegistroE110:
contRegistroE110++;
break;
case RegistroE111:
contRegistroE111++;
break;
case RegistroE112:
contRegistroE112++;
break;
case RegistroE113:
contRegistroE113++;
break;
case RegistroE115:
contRegistroE115++;
break;
case RegistroE116:
contRegistroE116++;
break;
case RegistroE200:
contRegistroE200++;
break;
case RegistroE210:
contRegistroE210++;
break;
case RegistroE220:
contRegistroE220++;
break;
case RegistroE230:
contRegistroE230++;
break;
case RegistroE240:
contRegistroE240++;
break;
case RegistroE250:
contRegistroE250++;
break;
case RegistroE300:
contRegistroE300++;
break;
case RegistroE310:
contRegistroE310++;
break;
case RegistroE311:
contRegistroE311++;
break;
case RegistroE312:
contRegistroE312++;
break;
case RegistroE313:
contRegistroE313++;
break;
case RegistroE316:
contRegistroE316++;
break;
case RegistroE500:
contRegistroE500++;
break;
case RegistroE510:
contRegistroE510++;
break;
case RegistroE520:
contRegistroE520++;
break;
case RegistroE530:
contRegistroE530++;
break;
case RegistroE531:
contRegistroE531++;
break;
default:
break;
}
}
/**
* @return the contRegistroE001
*/
public int getContRegistroE001() {
return contRegistroE001;
}
/**
* @return the contRegistroE100
*/
public int getContRegistroE100() {
return contRegistroE100;
}
/**
* @return the contRegistroE110
*/
public int getContRegistroE110() {
return contRegistroE110;
}
/**
* @return the contRegistroE111
*/
public int getContRegistroE111() {
return contRegistroE111;
}
/**
* @return the contRegistroE112
*/
public int getContRegistroE112() {
return contRegistroE112;
}
/**
* @return the contRegistroE113
*/
public int getContRegistroE113() {
return contRegistroE113;
}
/**
* @return the contRegistroE115
*/
public int getContRegistroE115() {
return contRegistroE115;
}
/**
* @return the contRegistroE116
*/
public int getContRegistroE116() {
return contRegistroE116;
}
/**
* @return the contRegistroE200
*/
public int getContRegistroE200() {
return contRegistroE200;
}
/**
* @return the contRegistroE210
*/
public int getContRegistroE210() {
return contRegistroE210;
}
/**
* @return the contRegistroE220
*/
public int getContRegistroE220() {
return contRegistroE220;
}
/**
* @return the contRegistroE230
*/
public int getContRegistroE230() {
return contRegistroE230;
}
/**
* @return the contRegistroE240
*/
public int getContRegistroE240() {
return contRegistroE240;
}
/**
* @return the contRegistroE250
*/
public int getContRegistroE250() {
return contRegistroE250;
}
/**
* @return the contRegistroE300
*/
public int getContRegistroE300() {
return contRegistroE300;
}
/**
* @return the contRegistroE310
*/
public int getContRegistroE310() {
return contRegistroE310;
}
/**
* @return the contRegistroE311
*/
public int getContRegistroE311() {
return contRegistroE311;
}
/**
* @return the contRegistroE312
*/
public int getContRegistroE312() {
return contRegistroE312;
}
/**
* @return the contRegistroE313
*/
public int getContRegistroE313() {
return contRegistroE313;
}
/**
* @return the contRegistroE316
*/
public int getContRegistroE316() {
return contRegistroE316;
}
/**
* @return the contRegistroE500
*/
public int getContRegistroE500() {
return contRegistroE500;
}
/**
* @return the contRegistroE510
*/
public int getContRegistroE510() {
return contRegistroE510;
}
/**
* @return the contRegistroE520
*/
public int getContRegistroE520() {
return contRegistroE520;
}
/**
* @return the contRegistroE530
*/
public int getContRegistroE530() {
return contRegistroE530;
}
/**
* @return the contRegistroE531
*/
public int getContRegistroE531() {
return contRegistroE531;
}
/**
* @return the contRegistroE990
*/
public int getContRegistroE990() {
return contRegistroE990;
}
}