com.ferri.service.dto
Class ClientDTO

java.lang.Object
  extended by com.ferri.core.vo.AbstractBase
      extended by com.ferri.core.vo.commons.BaseDTO
          extended by com.ferri.service.dto.ClientDTO
All Implemented Interfaces:
Serializable

public class ClientDTO
extends BaseDTO

Implementació de la instancia DTO. Taula: tfc_client

Author:
dferri
See Also:
Serialized Form

Field Summary
private  AdministradorDTO administrador
           
private  String carrer
           
private  Integer colorSemaforFactura
           
private  Integer colorSemaforIntervencio
           
private  String cp
           
private  Date dataAlta
           
private  Date dataModif
           
private  GestoriaDTO gestoria
           
private  int hashCode
           
private  String mail
           
private  String municipi
           
private  String nif
           
private  String nom
           
private  String numero
           
private  String ordre
           
private  String resta
           
private static long serialVersionUID
           
private  String telefon
           
private  TipusClientDTO tipusClient
           
private  String validationNif
           
 
Constructor Summary
ClientDTO()
          Creador instancia
ClientDTO(String nom, String carrer, String numero, String resta, String municipi, String cp, String telefon, String mail, Date dataAlta, Date dataModif, GestoriaDTO gestoria, AdministradorDTO administrador, TipusClientDTO tipusClient)
          Creador instancia
ClientDTO(String nif, String nom, String carrer, String numero, String resta, String municipi, String cp, String telefon, String mail, Date dataAlta, Date dataModif, GestoriaDTO gestoria, AdministradorDTO administrador, TipusClientDTO tipusClient)
          Creador instancia
 
Method Summary
 boolean equals(Object obj)
           
 AdministradorDTO getAdministrador()
           
 String getCarrer()
           
 Integer getColorSemaforFactura()
           
 Integer getColorSemaforIntervencio()
           
 String getCp()
           
 Date getDataAlta()
           
 Date getDataModif()
           
 GestoriaDTO getGestoria()
           
 String getMail()
           
 String getMunicipi()
           
 String getNif()
           
 String getNom()
           
 String getNumero()
           
 String getOrdre()
           
 String getResta()
           
 String getTelefon()
           
 TipusClientDTO getTipusClient()
           
 String getValidationNif()
           
 int hashCode()
           
 void setAdministrador(AdministradorDTO administrador)
           
 void setCarrer(String carrer)
           
 void setColorSemaforFactura(Integer colorSemaforFactura)
           
 void setColorSemaforIntervencio(Integer colorSemaforIntervencio)
           
 void setCp(String cp)
           
 void setDataAlta(Date dataAlta)
           
 void setDataModif(Date dataModif)
           
 void setGestoria(GestoriaDTO gestoria)
           
 void setMail(String mail)
           
 void setMunicipi(String municipi)
           
 void setNif(String nif)
           
 void setNom(String nom)
           
 void setNumero(String numero)
           
 void setOrdre(String ordre)
           
 void setResta(String resta)
           
 void setTelefon(String telefon)
           
 void setTipusClient(TipusClientDTO tipusClient)
           
 void setValidationNif(String validationNif)
           
 
Methods inherited from class com.ferri.core.vo.commons.BaseDTO
initialize
 
Methods inherited from class com.ferri.core.vo.AbstractBase
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

hashCode

private int hashCode

nif

private String nif

nom

private String nom

carrer

private String carrer

numero

private String numero

resta

private String resta

municipi

private String municipi

cp

private String cp

telefon

private String telefon

mail

private String mail

dataAlta

private Date dataAlta

dataModif

private Date dataModif

gestoria

private GestoriaDTO gestoria

administrador

private AdministradorDTO administrador

tipusClient

private TipusClientDTO tipusClient

ordre

private String ordre

validationNif

private String validationNif

colorSemaforFactura

private Integer colorSemaforFactura

colorSemaforIntervencio

private Integer colorSemaforIntervencio
Constructor Detail

ClientDTO

public ClientDTO(String nif,
                 String nom,
                 String carrer,
                 String numero,
                 String resta,
                 String municipi,
                 String cp,
                 String telefon,
                 String mail,
                 Date dataAlta,
                 Date dataModif,
                 GestoriaDTO gestoria,
                 AdministradorDTO administrador,
                 TipusClientDTO tipusClient)
Creador instancia

Parameters:
nif -
nom -
carrer -
numero -
resta -
municipi -
cp -
telefon -
mail -
dataAlta -
dataModif -
gestoria -
administrador -
tipusClient -

ClientDTO

public ClientDTO(String nom,
                 String carrer,
                 String numero,
                 String resta,
                 String municipi,
                 String cp,
                 String telefon,
                 String mail,
                 Date dataAlta,
                 Date dataModif,
                 GestoriaDTO gestoria,
                 AdministradorDTO administrador,
                 TipusClientDTO tipusClient)
Creador instancia

Parameters:
nom -
carrer -
numero -
resta -
municipi -
cp -
telefon -
mail -
dataAlta -
dataModif -
gestoria -
administrador -
tipusClient -

ClientDTO

public ClientDTO()
Creador instancia

Method Detail

getNif

public String getNif()
Returns:
the nif

setNif

public void setNif(String nif)
Parameters:
nif - the nif to set

getNom

public String getNom()
Returns:
the nom

setNom

public void setNom(String nom)
Parameters:
nom - the nom to set

getCarrer

public String getCarrer()
Returns:
the carrer

setCarrer

public void setCarrer(String carrer)
Parameters:
carrer - the carrer to set

getNumero

public String getNumero()
Returns:
the numero

setNumero

public void setNumero(String numero)
Parameters:
numero - the numero to set

getResta

public String getResta()
Returns:
the resta

setResta

public void setResta(String resta)
Parameters:
resta - the resta to set

getMunicipi

public String getMunicipi()
Returns:
the municipi

setMunicipi

public void setMunicipi(String municipi)
Parameters:
municipi - the municipi to set

getCp

public String getCp()
Returns:
the cp

setCp

public void setCp(String cp)
Parameters:
cp - the cp to set

getTelefon

public String getTelefon()
Returns:
the telefon

setTelefon

public void setTelefon(String telefon)
Parameters:
telefon - the telefon to set

getMail

public String getMail()
Returns:
the mail

setMail

public void setMail(String mail)
Parameters:
mail - the mail to set

getDataAlta

public Date getDataAlta()
Returns:
the dataAlta

setDataAlta

public void setDataAlta(Date dataAlta)
Parameters:
dataAlta - the dataAlta to set

getDataModif

public Date getDataModif()
Returns:
the dataModif

setDataModif

public void setDataModif(Date dataModif)
Parameters:
dataModif - the dataModif to set

getGestoria

public GestoriaDTO getGestoria()
Returns:
the gestoria

setGestoria

public void setGestoria(GestoriaDTO gestoria)
Parameters:
gestoria - the gestoria to set

getAdministrador

public AdministradorDTO getAdministrador()
Returns:
the administrador

setAdministrador

public void setAdministrador(AdministradorDTO administrador)
Parameters:
administrador - the administrador to set

getTipusClient

public TipusClientDTO getTipusClient()
Returns:
the tipusClient

setTipusClient

public void setTipusClient(TipusClientDTO tipusClient)
Parameters:
tipusClient - the tipusClient to set

getOrdre

public String getOrdre()
Returns:
the ordre

setOrdre

public void setOrdre(String ordre)
Parameters:
ordre - the ordre to set

getValidationNif

public String getValidationNif()
Returns:
the validationNif

setValidationNif

public void setValidationNif(String validationNif)
Parameters:
validationNif - the validationNif to set

getColorSemaforFactura

public Integer getColorSemaforFactura()
Returns:
the colorSemaforFactura

setColorSemaforFactura

public void setColorSemaforFactura(Integer colorSemaforFactura)
Parameters:
colorSemaforFactura - the colorSemaforFactura to set

getColorSemaforIntervencio

public Integer getColorSemaforIntervencio()
Returns:
the colorSemaforIntervencio

setColorSemaforIntervencio

public void setColorSemaforIntervencio(Integer colorSemaforIntervencio)
Parameters:
colorSemaforIntervencio - the colorSemaforIntervencio to set

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object