edu.uoc.tfc.dbmodel
Class Factura

java.lang.Object
  extended by edu.uoc.tfc.dbmodel.Factura
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FacturaImpl

public abstract class Factura
extends java.lang.Object
implements java.io.Serializable

Classe que representa unafactura al model de base de dades

See Also:
Serialized Form

Nested Class Summary
static class Factura.Factory
          Constructs new instances of Factura.
 
Constructor Summary
Factura()
           
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if the argument is an Factura instance and all identifiers for this entity equal the identifiers of the argument entity.
 java.lang.String getCodiFactura()
           Identificador intern de la companyia del tipus P-ZZZZZZZZF (on P=Part, ZZZZZZZZ=Current time stamp, F=Factura)
 java.lang.String getDataEmissio()
           Data d'emissió de la factura
 java.lang.Long getId()
           
 Part getPartDeLaFactura()
           
 int hashCode()
          Returns a hash code based on this entity's identifiers.
 void setCodiFactura(java.lang.String codiFactura)
           
 void setDataEmissio(java.lang.String dataEmissio)
           
 void setId(java.lang.Long id)
           
 void setPartDeLaFactura(Part partDeLaFactura)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Factura

public Factura()
Method Detail

getCodiFactura

public java.lang.String getCodiFactura()

Identificador intern de la companyia del tipus P-ZZZZZZZZF (on P=Part, ZZZZZZZZ=Current time stamp, F=Factura)


setCodiFactura

public void setCodiFactura(java.lang.String codiFactura)

getDataEmissio

public java.lang.String getDataEmissio()

Data d'emissió de la factura


setDataEmissio

public void setDataEmissio(java.lang.String dataEmissio)

getId

public java.lang.Long getId()

setId

public void setId(java.lang.Long id)

getPartDeLaFactura

public Part getPartDeLaFactura()

setPartDeLaFactura

public void setPartDeLaFactura(Part partDeLaFactura)

equals

public boolean equals(java.lang.Object object)
Returns true if the argument is an Factura instance and all identifiers for this entity equal the identifiers of the argument entity. Returns false otherwise.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hash code based on this entity's identifiers.

Overrides:
hashCode in class java.lang.Object