br.com.swconsultoria.mdfe.schema_300.retEnviMDFe.TUnidCarga Maven / Gradle / Ivy
Show all versions of java-mdfe Show documentation
package br.com.swconsultoria.mdfe.schema_300.retEnviMDFe;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;
/**
* Tipo Dados Unidade de Carga
*
* Classe Java de TUnidCarga complex type.
*
*
O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
*
*
* <complexType name="TUnidCarga">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="tpUnidCarga" type="{http://www.portalfiscal.inf.br/mdfe}TtipoUnidCarga"/>
* <element name="idUnidCarga" type="{http://www.portalfiscal.inf.br/mdfe}TContainer"/>
* <element name="lacUnidCarga" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="nLacre">
* <simpleType>
* <restriction base="{http://www.portalfiscal.inf.br/mdfe}TString">
* <minLength value="1"/>
* <maxLength value="20"/>
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="qtdRat" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.portalfiscal.inf.br/mdfe}TDec_0302_0303">
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TUnidCarga", propOrder = {
"tpUnidCarga",
"idUnidCarga",
"lacUnidCarga",
"qtdRat"
})
public class TUnidCarga {
@XmlElement(required = true)
protected String tpUnidCarga;
@XmlElement(required = true)
protected String idUnidCarga;
protected List lacUnidCarga;
protected String qtdRat;
/**
* Obtém o valor da propriedade tpUnidCarga.
*
* @return possible object is
* {@link String }
*/
public String getTpUnidCarga() {
return tpUnidCarga;
}
/**
* Define o valor da propriedade tpUnidCarga.
*
* @param value allowed object is
* {@link String }
*/
public void setTpUnidCarga(String value) {
this.tpUnidCarga = value;
}
/**
* Obtém o valor da propriedade idUnidCarga.
*
* @return possible object is
* {@link String }
*/
public String getIdUnidCarga() {
return idUnidCarga;
}
/**
* Define o valor da propriedade idUnidCarga.
*
* @param value allowed object is
* {@link String }
*/
public void setIdUnidCarga(String value) {
this.idUnidCarga = value;
}
/**
* Gets the value of the lacUnidCarga property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the lacUnidCarga property.
*
*
* For example, to add a new item, do as follows:
*
* getLacUnidCarga().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LacUnidCarga }
*/
public List getLacUnidCarga() {
if (lacUnidCarga == null) {
lacUnidCarga = new ArrayList();
}
return this.lacUnidCarga;
}
/**
* Obtém o valor da propriedade qtdRat.
*
* @return possible object is
* {@link String }
*/
public String getQtdRat() {
return qtdRat;
}
/**
* Define o valor da propriedade qtdRat.
*
* @param value allowed object is
* {@link String }
*/
public void setQtdRat(String value) {
this.qtdRat = value;
}
/**
* Classe Java de anonymous complex type.
*
*
O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="nLacre">
* <simpleType>
* <restriction base="{http://www.portalfiscal.inf.br/mdfe}TString">
* <minLength value="1"/>
* <maxLength value="20"/>
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"nLacre"
})
public static class LacUnidCarga {
@XmlElement(required = true)
protected String nLacre;
/**
* Obtém o valor da propriedade nLacre.
*
* @return possible object is
* {@link String }
*/
public String getNLacre() {
return nLacre;
}
/**
* Define o valor da propriedade nLacre.
*
* @param value allowed object is
* {@link String }
*/
public void setNLacre(String value) {
this.nLacre = value;
}
}
}