br.com.swconsultoria.mdfe.schema_300.enviMDFe.TUnidadeTransp Maven / Gradle / Ivy
Show all versions of java-mdfe Show documentation
package br.com.swconsultoria.mdfe.schema_300.enviMDFe;
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 Transporte
*
* Classe Java de TUnidadeTransp complex type.
*
*
O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
*
*
* <complexType name="TUnidadeTransp">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="tpUnidTransp" type="{http://www.portalfiscal.inf.br/mdfe}TtipoUnidTransp"/>
* <element name="idUnidTransp" type="{http://www.portalfiscal.inf.br/mdfe}TContainer"/>
* <element name="lacUnidTransp" 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="infUnidCarga" type="{http://www.portalfiscal.inf.br/mdfe}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
* <element name="qtdRat" type="{http://www.portalfiscal.inf.br/mdfe}TDec_0302_0303" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TUnidadeTransp", propOrder = {
"tpUnidTransp",
"idUnidTransp",
"lacUnidTransp",
"infUnidCarga",
"qtdRat"
})
public class TUnidadeTransp {
@XmlElement(required = true)
protected String tpUnidTransp;
@XmlElement(required = true)
protected String idUnidTransp;
protected List lacUnidTransp;
protected List infUnidCarga;
protected String qtdRat;
/**
* Obtém o valor da propriedade tpUnidTransp.
*
* @return possible object is
* {@link String }
*/
public String getTpUnidTransp() {
return tpUnidTransp;
}
/**
* Define o valor da propriedade tpUnidTransp.
*
* @param value allowed object is
* {@link String }
*/
public void setTpUnidTransp(String value) {
this.tpUnidTransp = value;
}
/**
* Obtém o valor da propriedade idUnidTransp.
*
* @return possible object is
* {@link String }
*/
public String getIdUnidTransp() {
return idUnidTransp;
}
/**
* Define o valor da propriedade idUnidTransp.
*
* @param value allowed object is
* {@link String }
*/
public void setIdUnidTransp(String value) {
this.idUnidTransp = value;
}
/**
* Gets the value of the lacUnidTransp 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 lacUnidTransp property.
*
*
* For example, to add a new item, do as follows:
*
* getLacUnidTransp().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LacUnidTransp }
*/
public List getLacUnidTransp() {
if (lacUnidTransp == null) {
lacUnidTransp = new ArrayList();
}
return this.lacUnidTransp;
}
/**
* Gets the value of the infUnidCarga 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 infUnidCarga property.
*
*
* For example, to add a new item, do as follows:
*
* getInfUnidCarga().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TUnidCarga }
*/
public List getInfUnidCarga() {
if (infUnidCarga == null) {
infUnidCarga = new ArrayList();
}
return this.infUnidCarga;
}
/**
* 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 LacUnidTransp {
@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;
}
}
}