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

wmixvideo / nfe / #6266

21 Mar 2025 11:46AM UTC coverage: 52.671% (+25.7%) from 26.996%
#6266

push

luciano.antunes
Nota Fiscal Fácil

0 of 21 new or added lines in 2 files covered. (0.0%)

2924 existing lines in 401 files now uncovered.

14002 of 26584 relevant lines covered (52.67%)

0.53 hits per line

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

71.43
/src/main/java/com/fincatto/documentofiscal/mdfe3/classes/nota/MDFInfoSeguro.java
1
package com.fincatto.documentofiscal.mdfe3.classes.nota;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.validadores.DFStringValidador;
5
import org.simpleframework.xml.Element;
6
import org.simpleframework.xml.ElementList;
7
import org.simpleframework.xml.Namespace;
8
import org.simpleframework.xml.Root;
9

10
import java.util.List;
11

12
/**
13
 * Created by Eldevan Nery Junior on 07/12/17. Informações de Seguro da Carga.
14
 */
15
@Root(name = "seg")
16
@Namespace(reference = "http://www.portalfiscal.inf.br/mdfe")
17
public class MDFInfoSeguro extends DFBase {
1✔
18

19
    private static final long serialVersionUID = 665561268515018765L;
20

21
    @Element(name = "infResp")
22
    private MDFInfoSeguroResponsavel responsavelSeguro;
23

24
    @Element(name = "infSeg", required = false)
25
    private MDFInfoSeguroInfo info;
26

27
    @Element(name = "nApol", required = false)
28
    private String apolice;
29

30
    @ElementList(name = "nAver", inline = true, entry = "nAver")
31
    private List<String> averbacao;
32

33
    public MDFInfoSeguroInfo getInfo() {
UNCOV
34
        return this.info;
×
35
    }
36

37
    /**
38
     * Informações do responsável pelo seguro da carga
39
     */
40
    public MDFInfoSeguroResponsavel getResponsavelSeguro() {
UNCOV
41
        return responsavelSeguro;
×
42
    }
43

44
    public void setResponsavelSeguro(MDFInfoSeguroResponsavel responsavelSeguro) {
45
        this.responsavelSeguro = responsavelSeguro;
1✔
46
    }
1✔
47

48
    /**
49
     * Informações da seguradora
50
     */
51
    public void setInfo(final MDFInfoSeguroInfo info) {
52
        this.info = info;
1✔
53
    }
1✔
54

55
    public String getApolice() {
56
        return this.apolice;
×
57
    }
58

59
    /**
60
     * Número da Apólice<br>
61
     * Obrigatório pela lei 11.442/07 (RCTRC)
62
     */
63
    public void setApolice(final String apolice) {
64
        DFStringValidador.tamanho20(apolice, "Número da Apólice");
1✔
65
        this.apolice = apolice;
1✔
66
    }
1✔
67

68
    public List<String> getAverbacao() {
UNCOV
69
        return this.averbacao;
×
70
    }
71

72
    /**
73
     * 127 | nAver | 2 | Número da Averbação | E | C | 0 - n | 1 - 40 | ER35 | Informar as averbações do seguro
74
     */
75
    public void setAverbacao(final List<String> averbacao) {
76
        this.averbacao = averbacao;
1✔
77
    }
1✔
78
}
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

© 2025 Coveralls, Inc