public class Rebut
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Rebut()
Constructor per defecte
|
Rebut(java.lang.String descripcio,
PeriodeComptable periodeComptable,
double valor,
Compte compte)
Constructor amb tots els paràmetres
|
Modifier and Type | Method and Description |
---|---|
Compte |
getCompte() |
java.lang.String |
getDescripcio() |
int |
getIdRebut() |
PeriodeComptable |
getPeriodeComptable() |
double |
getValor() |
void |
setCompte(Compte compte) |
void |
setDescripcio(java.lang.String descripcio) |
void |
setIdRebut(int idRebut) |
void |
setPeriodeComptable(PeriodeComptable periodeComptable) |
void |
setValor(double valor) |
java.lang.String |
toString() |
public Rebut()
public Rebut(java.lang.String descripcio, PeriodeComptable periodeComptable, double valor, Compte compte)
descripcio
- descripcio del rebutperiodeComptable
- periode comptable del rebutvalor
- import del rebutcompte
- compte del rebutpublic int getIdRebut()
public void setIdRebut(int idRebut)
idRebut
- the idRebut to setpublic java.lang.String getDescripcio()
public void setDescripcio(java.lang.String descripcio)
descripcio
- the descripcio to setpublic PeriodeComptable getPeriodeComptable()
public void setPeriodeComptable(PeriodeComptable periodeComptable)
periodeComptable
- the periodeComptable to setpublic double getValor()
public void setValor(double valor)
valor
- the valor to setpublic Compte getCompte()
public void setCompte(Compte compte)
compte
- the compte to setpublic java.lang.String toString()
toString
in class java.lang.Object