FacturaEJB.java from Negest at Krugle
Show FacturaEJB.java syntax highlighted
package tk.sabreWulf.negest.entity.invoicing;
import java.io.Serializable;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import tk.sabreWulf.negest.entity.core.EventoEJB;
import tk.sabreWulf.negest.entity.core.EventoIf;
import tk.sabreWulf.negest.entity.core.MediopagoEJB;
import tk.sabreWulf.negest.entity.core.MediopagoIf;
import tk.sabreWulf.negest.entity.core.PlazopagoEJB;
import tk.sabreWulf.negest.entity.core.PlazopagoIf;
import tk.sabreWulf.negest.entity.customer.ClienteEJB;
import tk.sabreWulf.negest.entity.customer.ClienteIf;
import tk.sabreWulf.negest.entity.customer.DatoscobroEJB;
import tk.sabreWulf.negest.entity.customer.DatoscobroIf;
import tk.sabreWulf.negest.entity.customer.DatosfactenvEJB;
import tk.sabreWulf.negest.entity.customer.DatosfactenvIf;
import com.finalist.util.log.LogService;
import com.finalist.util.log.Logger;
/**
* The Factura entity bean.
*
* @author Jose Manuel Molina Pascual Sabre Wulf
* @version $Revision: 1.14 $, $Date: 2005/07/07 14:31:52 $
*/
@Table(name = "Factura")
@Entity
public class FacturaEJB implements Serializable, FacturaIf {
/**
* The logger object.
*/
private static Logger log = LogService.getLogger(FacturaEJB.class);
private EventoEJB ideventoEvento;
private VersionpresupuestoEJB idvesionpresupuestoVersionpresupuesto;
private VersionpedidoEJB idversionpedidoVersionpedido;
private DatoscobroEJB datoscobroidDatoscobro;
private DatosfactenvEJB datosenvidDatosfactenv;
private DatosfactenvEJB datosfactidDatosfactenv;
private PlazopagoEJB plazopagoidPlazopago;
private MediopagoEJB mediopagoidMediopago;
private ClienteEJB clienteidCliente;
private java.lang.Long id;
private java.lang.Long albaran;
private java.lang.Byte abono;
private java.lang.String observaciones;
private java.lang.Byte pagada;
private java.sql.Date fecha;
private java.lang.String codigo;
/**
* Default constructor.
*/
public FacturaEJB() {
}
/**
* Value object constructor.
*/
public FacturaEJB(tk.sabreWulf.negest.entity.invoicing.FacturaIf value) {
setId(value.getId());
setMediopagoid(value.getMediopagoid());
setPlazopagoid(value.getPlazopagoid());
setDatosfactid(value.getDatosfactid());
setDatosenvid(value.getDatosenvid());
setDatoscobroid(value.getDatoscobroid());
setAlbaran(value.getAlbaran());
setAbono(value.getAbono());
setObservaciones(value.getObservaciones());
setPagada(value.getPagada());
setFecha(value.getFecha());
setCodigo(value.getCodigo());
setIdevento(value.getIdevento());
setIdversionpedido(value.getIdversionpedido());
setIdvesionpresupuesto(value.getIdvesionpresupuesto());
setClienteid(value.getClienteid());
}
/**
* Creates a new entity bean and returns the primary key.
* If the primary key of the value object has been set, this key will be used.
* If the primary key is set to null, the UniqueId generator will be used to generate a primary key.
*
* @param value a <code>FacturaIf</code>
* @return the primary key for this Factura
*/
public java.lang.Long create(tk.sabreWulf.negest.entity.invoicing.FacturaIf value) {
setId(value.getId());
setAlbaran(value.getAlbaran());
setAbono(value.getAbono());
setObservaciones(value.getObservaciones());
setPagada(value.getPagada());
setFecha(value.getFecha());
setCodigo(value.getCodigo());
setMediopagoid(value.getMediopagoid());
setPlazopagoid(value.getPlazopagoid());
setDatosfactid(value.getDatosfactid());
setDatosenvid(value.getDatosenvid());
setDatoscobroid(value.getDatoscobroid());
setIdevento(value.getIdevento());
setIdversionpedido(value.getIdversionpedido());
setIdvesionpresupuesto(value.getIdvesionpresupuesto());
setClienteid(value.getClienteid());
// if (value.getId() == null) {
// value.setId(UniqueIdGenerator.getInstance().getLongId("Factura"));
// }
setId(value.getId());
return value.getPrimaryKey();
}
/**
* Return the primary key.
*
* @return java.lang.Long with the primary key.
*/
@javax.persistence.Transient
public java.lang.Long getPrimaryKey() {
return getId();
}
/**
* Set the primary key.
*
* @param primaryKey the primary key
*/
@javax.persistence.Transient
public void setPrimaryKey(java.lang.Long primaryKey) {
setId(primaryKey);
}
/**
* Returns the value of the <code>id</code> property.
*
*/
@Column(name = "id")
@Id @GeneratedValue
public java.lang.Long getId() {
return id;
}
/**
* Sets the value of the <code>id</code> property.
*
* @param id the value for the <code>id</code> property
*/
public void setId(java.lang.Long id) {
this.id = id;
}
/**
* Returns the value of the <code>albaran</code> property.
*
*/
@Column(name = "albaran")
public java.lang.Long getAlbaran() {
return albaran;
}
/**
* Sets the value of the <code>albaran</code> property.
*
* @param albaran the value for the <code>albaran</code> property
*/
public void setAlbaran(java.lang.Long albaran) {
this.albaran = albaran;
}
/**
* Returns the value of the <code>abono</code> property.
*
*/
@Column(name = "abono")
public java.lang.Byte getAbono() {
return abono;
}
/**
* Sets the value of the <code>abono</code> property.
*
* @param abono the value for the <code>abono</code> property
*/
public void setAbono(java.lang.Byte abono) {
this.abono = abono;
}
/**
* Returns the value of the <code>observaciones</code> property.
*
*/
@Column(name = "observaciones")
public java.lang.String getObservaciones() {
return observaciones;
}
/**
* Sets the value of the <code>observaciones</code> property.
*
* @param observaciones the value for the <code>observaciones</code> property
*/
public void setObservaciones(java.lang.String observaciones) {
this.observaciones = observaciones;
}
/**
* Returns the value of the <code>pagada</code> property.
*
*/
@Column(name = "pagada")
public java.lang.Byte getPagada() {
return pagada;
}
/**
* Sets the value of the <code>pagada</code> property.
*
* @param pagada the value for the <code>pagada</code> property
*/
public void setPagada(java.lang.Byte pagada) {
this.pagada = pagada;
}
/**
* Returns the value of the <code>fecha</code> property.
*
*/
@Column(name = "fecha")
public java.sql.Date getFecha() {
return fecha;
}
/**
* Sets the value of the <code>fecha</code> property.
*
* @param fecha the value for the <code>fecha</code> property
*/
public void setFecha(java.sql.Date fecha) {
this.fecha = fecha;
}
/**
* Returns the value of the <code>codigo</code> property.
*
*/
@Column(name = "codigo")
public java.lang.String getCodigo() {
return codigo;
}
/**
* Sets the value of the <code>codigo</code> property.
*
* @param codigo the value for the <code>codigo</code> property
*/
public void setCodigo(java.lang.String codigo) {
this.codigo = codigo;
}
/**
* Returns the value of the <code>ideventoEvento</code> relation property.
*
* @return the value of the <code>ideventoEvento</code> relation property.
*/
@ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
@JoinColumn(name = "idEvento")
public EventoEJB getRelationIdeventoEvento(){
return ideventoEvento;
}
/**
* Sets the value of the <code>ideventoEvento</code> relation property.
*
* @param evento a value for <code>ideventoEvento</code>.
*/
public void setRelationIdeventoEvento(EventoEJB evento) {
this. ideventoEvento = evento;
}
/**
* Returns the value of the <code>idvesionpresupuestoVersionpresupuesto</code> relation property.
*
* @return the value of the <code>idvesionpresupuestoVersionpresupuesto</code> relation property.
*/
@ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
@JoinColumn(name = "idVesionPresupuesto")
public VersionpresupuestoEJB getRelationIdvesionpresupuestoVersionpresupuesto(){
return idvesionpresupuestoVersionpresupuesto;
}
/**
* Sets the value of the <code>idvesionpresupuestoVersionpresupuesto</code> relation property.
*
* @param versionpresupuesto a value for <code>idvesionpresupuestoVersionpresupuesto</code>.
*/
public void setRelationIdvesionpresupuestoVersionpresupuesto(VersionpresupuestoEJB versionpresupuesto) {
this. idvesionpresupuestoVersionpresupuesto = versionpresupuesto;
}
/**
* Returns the value of the <code>idversionpedidoVersionpedido</code> relation property.
*
* @return the value of the <code>idversionpedidoVersionpedido</code> relation property.
*/
@ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
@JoinColumn(name = "idVersionPedido")
public VersionpedidoEJB getRelationIdversionpedidoVersionpedido(){
return idversionpedidoVersionpedido;
}
/**
* Sets the value of the <code>idversionpedidoVersionpedido</code> relation property.
*
* @param versionpedido a value for <code>idversionpedidoVersionpedido</code>.
*/
public void setRelationIdversionpedidoVersionpedido(VersionpedidoEJB versionpedido) {
this. idversionpedidoVersionpedido = versionpedido;
}
/**
* Returns the value of the <code>datoscobroidDatoscobro</code> relation property.
*
* @return the value of the <code>datoscobroidDatoscobro</code> relation property.
*/
@ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
@JoinColumn(name = "datosCobroId")
public DatoscobroEJB getRelationDatoscobroidDatoscobro(){
return datoscobroidDatoscobro;
}
/**
* Sets the value of the <code>datoscobroidDatoscobro</code> relation property.
*
* @param datoscobro a value for <code>datoscobroidDatoscobro</code>.
*/
public void setRelationDatoscobroidDatoscobro(DatoscobroEJB datoscobro) {
this. datoscobroidDatoscobro = datoscobro;
}
/**
* Returns the value of the <code>datosenvidDatosfactenv</code> relation property.
*
* @return the value of the <code>datosenvidDatosfactenv</code> relation property.
*/
@ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
@JoinColumn(name = "datosEnvId")
public DatosfactenvEJB getRelationDatosenvidDatosfactenv(){
return datosenvidDatosfactenv;
}
/**
* Sets the value of the <code>datosenvidDatosfactenv</code> relation property.
*
* @param datosfactenv a value for <code>datosenvidDatosfactenv</code>.
*/
public void setRelationDatosenvidDatosfactenv(DatosfactenvEJB datosfactenv) {
this. datosenvidDatosfactenv = datosfactenv;
}
/**
* Returns the value of the <code>datosfactidDatosfactenv</code> relation property.
*
* @return the value of the <code>datosfactidDatosfactenv</code> relation property.
*/
@ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
@JoinColumn(name = "datosFactId")
public DatosfactenvEJB getRelationDatosfactidDatosfactenv(){
return datosfactidDatosfactenv;
}
/**
* Sets the value of the <code>datosfactidDatosfactenv</code> relation property.
*
* @param datosfactenv a value for <code>datosfactidDatosfactenv</code>.
*/
public void setRelationDatosfactidDatosfactenv(DatosfactenvEJB datosfactenv) {
this. datosfactidDatosfactenv = datosfactenv;
}
/**
* Returns the value of the <code>plazopagoidPlazopago</code> relation property.
*
* @return the value of the <code>plazopagoidPlazopago</code> relation property.
*/
@ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
@JoinColumn(name = "plazoPagoId")
public PlazopagoEJB getRelationPlazopagoidPlazopago(){
return plazopagoidPlazopago;
}
/**
* Sets the value of the <code>plazopagoidPlazopago</code> relation property.
*
* @param plazopago a value for <code>plazopagoidPlazopago</code>.
*/
public void setRelationPlazopagoidPlazopago(PlazopagoEJB plazopago) {
this. plazopagoidPlazopago = plazopago;
}
/**
* Returns the value of the <code>mediopagoidMediopago</code> relation property.
*
* @return the value of the <code>mediopagoidMediopago</code> relation property.
*/
@ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
@JoinColumn(name = "medioPagoId")
public MediopagoEJB getRelationMediopagoidMediopago(){
return mediopagoidMediopago;
}
/**
* Sets the value of the <code>mediopagoidMediopago</code> relation property.
*
* @param mediopago a value for <code>mediopagoidMediopago</code>.
*/
public void setRelationMediopagoidMediopago(MediopagoEJB mediopago) {
this. mediopagoidMediopago = mediopago;
}
/**
* Returns the value of the <code>clienteidCliente</code> relation property.
*
* @return the value of the <code>clienteidCliente</code> relation property.
*/
@ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
@JoinColumn(name = "clienteId")
public ClienteEJB getRelationClienteidCliente(){
return clienteidCliente;
}
/**
* Sets the value of the <code>clienteidCliente</code> relation property.
*
* @param cliente a value for <code>clienteidCliente</code>.
*/
public void setRelationClienteidCliente(ClienteEJB cliente) {
this. clienteidCliente = cliente;
}
/**
* Returns the value of the <code>ideventoEvento</code> relation property.
*
* @return the value of the <code>ideventoEvento</code> relation property.
*/
@javax.persistence.Transient
public EventoIf getIdeventoEvento() {
return getRelationIdeventoEvento();
}
/**
* Sets the value of the <code>ideventoEvento</code> relation property.
*
* @param evento a value for <code>ideventoEvento</code>.
*/
@javax.persistence.Transient
public void setIdeventoEvento(EventoIf evento) {
setRelationIdeventoEvento(new EventoEJB(evento));
}
/**
* Returns the value of the <code>idvesionpresupuestoVersionpresupuesto</code> relation property.
*
* @return the value of the <code>idvesionpresupuestoVersionpresupuesto</code> relation property.
*/
@javax.persistence.Transient
public VersionpresupuestoIf getIdvesionpresupuestoVersionpresupuesto() {
return getRelationIdvesionpresupuestoVersionpresupuesto();
}
/**
* Sets the value of the <code>idvesionpresupuestoVersionpresupuesto</code> relation property.
*
* @param versionpresupuesto a value for <code>idvesionpresupuestoVersionpresupuesto</code>.
*/
@javax.persistence.Transient
public void setIdvesionpresupuestoVersionpresupuesto(VersionpresupuestoIf versionpresupuesto) {
setRelationIdvesionpresupuestoVersionpresupuesto(new VersionpresupuestoEJB(versionpresupuesto));
}
/**
* Returns the value of the <code>idversionpedidoVersionpedido</code> relation property.
*
* @return the value of the <code>idversionpedidoVersionpedido</code> relation property.
*/
@javax.persistence.Transient
public VersionpedidoIf getIdversionpedidoVersionpedido() {
return getRelationIdversionpedidoVersionpedido();
}
/**
* Sets the value of the <code>idversionpedidoVersionpedido</code> relation property.
*
* @param versionpedido a value for <code>idversionpedidoVersionpedido</code>.
*/
@javax.persistence.Transient
public void setIdversionpedidoVersionpedido(VersionpedidoIf versionpedido) {
setRelationIdversionpedidoVersionpedido(new VersionpedidoEJB(versionpedido));
}
/**
* Returns the value of the <code>datoscobroidDatoscobro</code> relation property.
*
* @return the value of the <code>datoscobroidDatoscobro</code> relation property.
*/
@javax.persistence.Transient
public DatoscobroIf getDatoscobroidDatoscobro() {
return getRelationDatoscobroidDatoscobro();
}
/**
* Sets the value of the <code>datoscobroidDatoscobro</code> relation property.
*
* @param datoscobro a value for <code>datoscobroidDatoscobro</code>.
*/
@javax.persistence.Transient
public void setDatoscobroidDatoscobro(DatoscobroIf datoscobro) {
setRelationDatoscobroidDatoscobro(new DatoscobroEJB(datoscobro));
}
/**
* Returns the value of the <code>datosenvidDatosfactenv</code> relation property.
*
* @return the value of the <code>datosenvidDatosfactenv</code> relation property.
*/
@javax.persistence.Transient
public DatosfactenvIf getDatosenvidDatosfactenv() {
return getRelationDatosenvidDatosfactenv();
}
/**
* Sets the value of the <code>datosenvidDatosfactenv</code> relation property.
*
* @param datosfactenv a value for <code>datosenvidDatosfactenv</code>.
*/
@javax.persistence.Transient
public void setDatosenvidDatosfactenv(DatosfactenvIf datosfactenv) {
setRelationDatosenvidDatosfactenv(new DatosfactenvEJB(datosfactenv));
}
/**
* Returns the value of the <code>datosfactidDatosfactenv</code> relation property.
*
* @return the value of the <code>datosfactidDatosfactenv</code> relation property.
*/
@javax.persistence.Transient
public DatosfactenvIf getDatosfactidDatosfactenv() {
return getRelationDatosfactidDatosfactenv();
}
/**
* Sets the value of the <code>datosfactidDatosfactenv</code> relation property.
*
* @param datosfactenv a value for <code>datosfactidDatosfactenv</code>.
*/
@javax.persistence.Transient
public void setDatosfactidDatosfactenv(DatosfactenvIf datosfactenv) {
setRelationDatosfactidDatosfactenv(new DatosfactenvEJB(datosfactenv));
}
/**
* Returns the value of the <code>plazopagoidPlazopago</code> relation property.
*
* @return the value of the <code>plazopagoidPlazopago</code> relation property.
*/
@javax.persistence.Transient
public PlazopagoIf getPlazopagoidPlazopago() {
return getRelationPlazopagoidPlazopago();
}
/**
* Sets the value of the <code>plazopagoidPlazopago</code> relation property.
*
* @param plazopago a value for <code>plazopagoidPlazopago</code>.
*/
@javax.persistence.Transient
public void setPlazopagoidPlazopago(PlazopagoIf plazopago) {
setRelationPlazopagoidPlazopago(new PlazopagoEJB(plazopago));
}
/**
* Returns the value of the <code>mediopagoidMediopago</code> relation property.
*
* @return the value of the <code>mediopagoidMediopago</code> relation property.
*/
@javax.persistence.Transient
public MediopagoIf getMediopagoidMediopago() {
return getRelationMediopagoidMediopago();
}
/**
* Sets the value of the <code>mediopagoidMediopago</code> relation property.
*
* @param mediopago a value for <code>mediopagoidMediopago</code>.
*/
@javax.persistence.Transient
public void setMediopagoidMediopago(MediopagoIf mediopago) {
setRelationMediopagoidMediopago(new MediopagoEJB(mediopago));
}
/**
* Returns the value of the <code>clienteidCliente</code> relation property.
*
* @return the value of the <code>clienteidCliente</code> relation property.
*/
@javax.persistence.Transient
public ClienteIf getClienteidCliente() {
return getRelationClienteidCliente();
}
/**
* Sets the value of the <code>clienteidCliente</code> relation property.
*
* @param cliente a value for <code>clienteidCliente</code>.
*/
@javax.persistence.Transient
public void setClienteidCliente(ClienteIf cliente) {
setRelationClienteidCliente(new ClienteEJB(cliente));
}
/**
* Returns the value of the <code>id</code> property.
*
*/
@javax.persistence.Transient
public java.lang.Long getIdevento() {
if (ideventoEvento != null) {
return ideventoEvento.getId();
} else {
return null;
}
}
/**
* Sets the value of the <code>id</code> property.
*
* @param id the value for the <code>id</code> property
*/
@javax.persistence.Transient
public void setIdevento(java.lang.Long id) {
if (ideventoEvento == null) {
ideventoEvento = new EventoEJB();
}
ideventoEvento.setId(id);
}
/**
* Returns the value of the <code>id</code> property.
*
*/
@javax.persistence.Transient
public java.lang.Long getIdvesionpresupuesto() {
if (idvesionpresupuestoVersionpresupuesto != null) {
return idvesionpresupuestoVersionpresupuesto.getId();
} else {
return null;
}
}
/**
* Sets the value of the <code>id</code> property.
*
* @param id the value for the <code>id</code> property
*/
@javax.persistence.Transient
public void setIdvesionpresupuesto(java.lang.Long id) {
if (idvesionpresupuestoVersionpresupuesto == null) {
idvesionpresupuestoVersionpresupuesto = new VersionpresupuestoEJB();
}
idvesionpresupuestoVersionpresupuesto.setId(id);
}
/**
* Returns the value of the <code>id</code> property.
*
*/
@javax.persistence.Transient
public java.lang.Long getIdversionpedido() {
if (idversionpedidoVersionpedido != null) {
return idversionpedidoVersionpedido.getId();
} else {
return null;
}
}
/**
* Sets the value of the <code>id</code> property.
*
* @param id the value for the <code>id</code> property
*/
@javax.persistence.Transient
public void setIdversionpedido(java.lang.Long id) {
if (idversionpedidoVersionpedido == null) {
idversionpedidoVersionpedido = new VersionpedidoEJB();
}
idversionpedidoVersionpedido.setId(id);
}
/**
* Returns the value of the <code>id</code> property.
*
*/
@javax.persistence.Transient
public java.lang.Long getDatoscobroid() {
if (datoscobroidDatoscobro != null) {
return datoscobroidDatoscobro.getId();
} else {
return null;
}
}
/**
* Sets the value of the <code>id</code> property.
*
* @param id the value for the <code>id</code> property
*/
@javax.persistence.Transient
public void setDatoscobroid(java.lang.Long id) {
if (datoscobroidDatoscobro == null) {
datoscobroidDatoscobro = new DatoscobroEJB();
}
datoscobroidDatoscobro.setId(id);
}
/**
* Returns the value of the <code>id</code> property.
*
*/
@javax.persistence.Transient
public java.lang.Long getDatosenvid() {
if (datosenvidDatosfactenv != null) {
return datosenvidDatosfactenv.getId();
} else {
return null;
}
}
/**
* Sets the value of the <code>id</code> property.
*
* @param id the value for the <code>id</code> property
*/
@javax.persistence.Transient
public void setDatosenvid(java.lang.Long id) {
if (datosenvidDatosfactenv == null) {
datosenvidDatosfactenv = new DatosfactenvEJB();
}
datosenvidDatosfactenv.setId(id);
}
/**
* Returns the value of the <code>id</code> property.
*
*/
@javax.persistence.Transient
public java.lang.Long getDatosfactid() {
if (datosfactidDatosfactenv != null) {
return datosfactidDatosfactenv.getId();
} else {
return null;
}
}
/**
* Sets the value of the <code>id</code> property.
*
* @param id the value for the <code>id</code> property
*/
@javax.persistence.Transient
public void setDatosfactid(java.lang.Long id) {
if (datosfactidDatosfactenv == null) {
datosfactidDatosfactenv = new DatosfactenvEJB();
}
datosfactidDatosfactenv.setId(id);
}
/**
* Returns the value of the <code>id</code> property.
*
*/
@javax.persistence.Transient
public java.lang.Long getPlazopagoid() {
if (plazopagoidPlazopago != null) {
return plazopagoidPlazopago.getId();
} else {
return null;
}
}
/**
* Sets the value of the <code>id</code> property.
*
* @param id the value for the <code>id</code> property
*/
@javax.persistence.Transient
public void setPlazopagoid(java.lang.Long id) {
if (plazopagoidPlazopago == null) {
plazopagoidPlazopago = new PlazopagoEJB();
}
plazopagoidPlazopago.setId(id);
}
/**
* Returns the value of the <code>id</code> property.
*
*/
@javax.persistence.Transient
public java.lang.Long getMediopagoid() {
if (mediopagoidMediopago != null) {
return mediopagoidMediopago.getId();
} else {
return null;
}
}
/**
* Sets the value of the <code>id</code> property.
*
* @param id the value for the <code>id</code> property
*/
@javax.persistence.Transient
public void setMediopagoid(java.lang.Long id) {
if (mediopagoidMediopago == null) {
mediopagoidMediopago = new MediopagoEJB();
}
mediopagoidMediopago.setId(id);
}
/**
* Returns the value of the <code>id</code> property.
*
*/
@javax.persistence.Transient
public java.lang.Long getClienteid() {
if (clienteidCliente != null) {
return clienteidCliente.getId();
} else {
return null;
}
}
/**
* Sets the value of the <code>id</code> property.
*
* @param id the value for the <code>id</code> property
*/
@javax.persistence.Transient
public void setClienteid(java.lang.Long id) {
if (clienteidCliente == null) {
clienteidCliente = new ClienteEJB();
}
clienteidCliente.setId(id);
}
}
See more files for this project here