cl.sii.dte
Class Detalle

java.lang.Object
  |
  +--cl.sii.dte.Detalle

public class Detalle
extends Object

Version:
1.0
Author:
Tomas Barros bbarros@nic.cl

Field Summary
private  Double cantidad
           
private  Double cantidadRef
           
private  ArrayList codigoItem
           
private  String descripcion
           
private  Double descuentoMonto
           
private  Double descuentoPct
           
private  Integer extento
           
private  Date fchElabor
           
private  Date fchVencim
           
private  String impuestoAdicional
           
private  Integer monto
           
private  String nombre
           
private  Integer numLinea
           
private  OtraMoneda otraMoneda
           
private  Double precio
           
private  Double precioRef
           
private  Double recargoMonto
           
private  Double recargoPct
           
private  SimpleDateFormat sdf
           
private  ArrayList subCantidad
           
private  ArrayList subDscto
           
private  ArrayList subRecargo
           
private  String unidadMedida
           
private  String unidadMedidaRef
           
 
Constructor Summary
Detalle()
           
 
Method Summary
 Double getCantidad()
          Method getCantidad.
 Double getCantidadRef()
          Method getCantidadRef.
 ArrayList getCodigoItem()
          Method getCodigoItem.
 String getDescripcion()
          Method getDescripcion.
 Double getDescuentoMonto()
          Method getDescuentoMonto.
 Double getDescuentoPct()
          Method getDescuentoPct.
 org.jdom.Element getDOMElement(String tagName, org.jdom.Namespace ns)
          Method getDOMElement.
 Integer getExento()
          Method getExento.
 Date getFchElabor()
          Method getFchElabor.
 Date getFchVencim()
          Method getFchVencim.
 String getImpuestoAdicional()
          Method getImpuestoAdicional.
 Integer getMonto()
          Method getMonto.
 String getNombre()
          Method getNombre.
 Integer getNumLinea()
          Method getNumLinea.
 OtraMoneda getOtraMoneda()
          Method getOtraMoneda.
 Double getPrecio()
          Method getPrecio.
 Double getPrecioRef()
          Method getPrecioRef.
 Double getRecargoMonto()
          Method getRecargoMonto.
 Double getRecargoPct()
          Method getRecargoPct.
 ArrayList getSubCantidad()
          Method getSubCantidad.
 ArrayList getSubDscto()
          Method getSubDscto.
 ArrayList getSubRecargo()
          Method getSubRecargo.
 String getUnidadMedida()
          Method getUnidadMedida.
 String getUnidadMedidaRef()
          Method getUnidadMedidaRef.
 void setCantidad(Double cantidad)
          Method setCantidad.
 void setCantidadRef(Double cantidadRef)
          Method setCantidadRef.
 void setCodigoItem(ArrayList codigoItem)
          Method setCodigoItem.
 void setDescripcion(String descripcion)
          Method setDescripcion.
 void setDescuentoMonto(Double descuentoMonto)
          Method setDescuentoMonto.
 void setDescuentoPct(Double descuentoPct)
          Method setDescuentoPct.
 void setDOMElement(org.jdom.Element data)
          Method setDOMElement.
 void setExento(Integer extento)
          Method setExento.
 void setFchElabor(Date fchElabor)
          Method setFchElabor.
 void setFchElabor(String fchElabor)
          Method setFchElabor em base a un String.
 void setFchVencim(Date fchVencim)
          Method setFchVencim.
 void setFchVencim(String fchVencim)
          Method setFchVencim em base a un String.
 void setImpuestoAdicional(String impuestoAdicional)
          Method setImpuestoAdicional.
 void setMonto(Integer monto)
          Method setMonto.
 void setNombre(String nombre)
          Method setNombre.
 void setNumLinea(Integer numLinea)
          Method setNumLinea.
 void setOtraMoneda(OtraMoneda otraMoneda)
          Method setOtraMoneda.
 void setPrecio(Double precio)
          Method setPrecio.
 void setPrecioRef(Double precioRef)
          Method setPrecioRef.
 void setRecargoMonto(Double recargoMonto)
          Method setRecargoMonto.
 void setRecargoPct(Double recargoPct)
          Method setRecargoPct.
 void setSubCantidad(ArrayList subCantidad)
          Method setSubCantidad.
 void setSubDscto(ArrayList subDscto)
          Method setSubDscto.
 void setSubRecargo(ArrayList subRecargo)
          Method setSubRecargo.
 void setUnidadMedida(String unidadMedida)
          Method setUnidadMedida.
 void setUnidadMedidaRef(String unidadMedidaRef)
          Method setUnidadMedidaRef.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numLinea

private Integer numLinea

codigoItem

private ArrayList codigoItem

extento

private Integer extento

nombre

private String nombre

descripcion

private String descripcion

cantidadRef

private Double cantidadRef

unidadMedidaRef

private String unidadMedidaRef

precioRef

private Double precioRef

cantidad

private Double cantidad

subCantidad

private ArrayList subCantidad

fchElabor

private Date fchElabor

fchVencim

private Date fchVencim

unidadMedida

private String unidadMedida

precio

private Double precio

otraMoneda

private OtraMoneda otraMoneda

descuentoPct

private Double descuentoPct

descuentoMonto

private Double descuentoMonto

subDscto

private ArrayList subDscto

recargoPct

private Double recargoPct

recargoMonto

private Double recargoMonto

subRecargo

private ArrayList subRecargo

impuestoAdicional

private String impuestoAdicional

monto

private Integer monto

sdf

private SimpleDateFormat sdf
Constructor Detail

Detalle

public Detalle()
See Also:
Object.Object()
Method Detail

getNumLinea

public Integer getNumLinea()
Method getNumLinea.

Returns:
Integer

setNumLinea

public void setNumLinea(Integer numLinea)
Method setNumLinea.

Parameters:
numLinea -

getCodigoItem

public ArrayList getCodigoItem()
Method getCodigoItem.

Returns:
ArrayList

setCodigoItem

public void setCodigoItem(ArrayList codigoItem)
Method setCodigoItem.

Parameters:
codigoItem -

getExento

public Integer getExento()
Method getExento.

Returns:
Integer

setExento

public void setExento(Integer extento)
Method setExento.

Parameters:
extento -

getNombre

public String getNombre()
Method getNombre.

Returns:
String

setNombre

public void setNombre(String nombre)
Method setNombre.

Parameters:
nombre -

getDescripcion

public String getDescripcion()
Method getDescripcion.

Returns:
String

setDescripcion

public void setDescripcion(String descripcion)
Method setDescripcion.

Parameters:
descripcion -

getCantidadRef

public Double getCantidadRef()
Method getCantidadRef.

Returns:
Double

setCantidadRef

public void setCantidadRef(Double cantidadRef)
Method setCantidadRef.

Parameters:
cantidadRef -

getUnidadMedidaRef

public String getUnidadMedidaRef()
Method getUnidadMedidaRef.

Returns:
String

setUnidadMedidaRef

public void setUnidadMedidaRef(String unidadMedidaRef)
Method setUnidadMedidaRef.

Parameters:
unidadMedidaRef -

getPrecioRef

public Double getPrecioRef()
Method getPrecioRef.

Returns:
Double

setPrecioRef

public void setPrecioRef(Double precioRef)
Method setPrecioRef.

Parameters:
precioRef -

getCantidad

public Double getCantidad()
Method getCantidad.

Returns:
Double

setCantidad

public void setCantidad(Double cantidad)
Method setCantidad.

Parameters:
cantidad -

getSubCantidad

public ArrayList getSubCantidad()
Method getSubCantidad.

Returns:
ArrayList

setSubCantidad

public void setSubCantidad(ArrayList subCantidad)
Method setSubCantidad.

Parameters:
subCantidad -

getFchElabor

public Date getFchElabor()
Method getFchElabor.

Returns:
Date

setFchElabor

public void setFchElabor(Date fchElabor)
Method setFchElabor.

Parameters:
fchElabor -

setFchElabor

public void setFchElabor(String fchElabor)
                  throws ParseException
Method setFchElabor em base a un String.

Parameters:
fchElabor - en formato AAAA-MM-DD
ParseException

getFchVencim

public Date getFchVencim()
Method getFchVencim.

Returns:
Date

setFchVencim

public void setFchVencim(Date fchVencim)
Method setFchVencim.

Parameters:
fchVencim -

setFchVencim

public void setFchVencim(String fchVencim)
                  throws ParseException
Method setFchVencim em base a un String.

Parameters:
fchVencim - en formato AAAA-MM-DD
ParseException

getUnidadMedida

public String getUnidadMedida()
Method getUnidadMedida.

Returns:
String

setUnidadMedida

public void setUnidadMedida(String unidadMedida)
Method setUnidadMedida.

Parameters:
unidadMedida -

getPrecio

public Double getPrecio()
Method getPrecio.

Returns:
Double

setPrecio

public void setPrecio(Double precio)
Method setPrecio.

Parameters:
precio -

getOtraMoneda

public OtraMoneda getOtraMoneda()
Method getOtraMoneda.

Returns:
OtraMoneda

setOtraMoneda

public void setOtraMoneda(OtraMoneda otraMoneda)
Method setOtraMoneda.

Parameters:
otraMoneda -

getDescuentoPct

public Double getDescuentoPct()
Method getDescuentoPct.

Returns:
Double

setDescuentoPct

public void setDescuentoPct(Double descuentoPct)
Method setDescuentoPct.

Parameters:
descuentoPct -

getDescuentoMonto

public Double getDescuentoMonto()
Method getDescuentoMonto.

Returns:
Double

setDescuentoMonto

public void setDescuentoMonto(Double descuentoMonto)
Method setDescuentoMonto.

Parameters:
descuentoMonto -

getSubDscto

public ArrayList getSubDscto()
Method getSubDscto.

Returns:
ArrayList

setSubDscto

public void setSubDscto(ArrayList subDscto)
Method setSubDscto.

Parameters:
subDscto -

getRecargoPct

public Double getRecargoPct()
Method getRecargoPct.

Returns:
Double

setRecargoPct

public void setRecargoPct(Double recargoPct)
Method setRecargoPct.

Parameters:
recargoPct -

getRecargoMonto

public Double getRecargoMonto()
Method getRecargoMonto.

Returns:
Double

setRecargoMonto

public void setRecargoMonto(Double recargoMonto)
Method setRecargoMonto.

Parameters:
recargoMonto -

getSubRecargo

public ArrayList getSubRecargo()
Method getSubRecargo.

Returns:
ArrayList

setSubRecargo

public void setSubRecargo(ArrayList subRecargo)
Method setSubRecargo.

Parameters:
subRecargo -

getImpuestoAdicional

public String getImpuestoAdicional()
Method getImpuestoAdicional.

Returns:
String

setImpuestoAdicional

public void setImpuestoAdicional(String impuestoAdicional)
Method setImpuestoAdicional.

Parameters:
impuestoAdicional -

getMonto

public Integer getMonto()
Method getMonto.

Returns:
Integer

setMonto

public void setMonto(Integer monto)
Method setMonto.

Parameters:
monto -

getDOMElement

public org.jdom.Element getDOMElement(String tagName,
                                      org.jdom.Namespace ns)
Method getDOMElement.

Parameters:
tagName -
ns -
Returns:
Element

setDOMElement

public void setDOMElement(org.jdom.Element data)
                   throws ParseException,
                          DetalleException
Method setDOMElement.

Parameters:
data -
ParseException
DetalleException