• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wmixvideo / nfe / #6353

09 May 2016 12:13PM UTC coverage: 79.328% (-0.04%) from 79.364%
#6353

push

travis-ci

jefperito
Ajustado javadoc para HTML Strict

4651 of 5863 relevant lines covered (79.33%)

50.84 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.33
/src/main/java/com/fincatto/nfe310/classes/nota/NFIndicadorPresencaComprador.java
1
package com.fincatto.nfe310.classes.nota;
2

3
public enum NFIndicadorPresencaComprador {
5✔
4
    NAO_APLICA("0"),
1✔
5
    OPERACAO_PRESENCIAL("1"),
1✔
6
    OPERACAO_NAO_PRESENCIAL_INTERNET("2"),
1✔
7
    OPERACAO_NAO_PRESENCIAL_TELEATENDIMENTO("3"),
1✔
8
    NFCE_EM_OPERACAO_COM_ENTREGA_DOMICILIO("4"),
1✔
9
    OPERACAO_NAO_PRESENCIAL_OUTROS("9");
1✔
10

11
    private String codigo;
12

13
    private NFIndicadorPresencaComprador(final String codigo) {
6✔
14
        this.codigo = codigo;
6✔
15
    }
6✔
16

17
    public String getCodigo() {
18
        return this.codigo;
33✔
19
    }
20

21
    public static NFIndicadorPresencaComprador valueOfCodigo(final String codigo) {
22
        for (final NFIndicadorPresencaComprador indicador : NFIndicadorPresencaComprador.values()) {
4✔
23
            if (indicador.getCodigo().equals(codigo)) {
4✔
24
                return indicador;
4✔
25
            }
26
        }
27
        return null;
×
28
    }
29
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc