Skip to content

Commit

Permalink
Nuovi bulk per Ordini
Browse files Browse the repository at this point in the history
  • Loading branch information
mspasiano committed Sep 22, 2017
1 parent 719cbd9 commit 21abd3d
Show file tree
Hide file tree
Showing 24 changed files with 3,233 additions and 0 deletions.
@@ -0,0 +1,86 @@
/*
* Created by BulkGenerator 2.0 [07/12/2009]
* Date 21/09/2017
*/
package it.cnr.contab.ordmag.ordini.bulk;
import it.cnr.jada.persistency.Keyed;
public class EvasioneOrdineBase extends EvasioneOrdineKey implements Keyed {
// DATA_BOLLA TIMESTAMP(7) NOT NULL
private java.sql.Timestamp dataBolla;

// NUMERO_BOLLA VARCHAR(30) NOT NULL
private java.lang.String numeroBolla;

// DATA_CONSEGNA TIMESTAMP(7) NOT NULL
private java.sql.Timestamp dataConsegna;

// STATO VARCHAR(3) NOT NULL
private java.lang.String stato;

/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Table name: EVASIONE_ORDINE
**/
public EvasioneOrdineBase() {
super();
}
public EvasioneOrdineBase(java.lang.String cdCds, java.lang.String cdMagazzino, java.lang.Integer esercizio, java.lang.String cdNumeratoreMag, java.lang.Long numero) {
super(cdCds, cdMagazzino, esercizio, cdNumeratoreMag, numero);
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [dataBolla]
**/
public java.sql.Timestamp getDataBolla() {
return dataBolla;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [dataBolla]
**/
public void setDataBolla(java.sql.Timestamp dataBolla) {
this.dataBolla=dataBolla;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [numeroBolla]
**/
public java.lang.String getNumeroBolla() {
return numeroBolla;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [numeroBolla]
**/
public void setNumeroBolla(java.lang.String numeroBolla) {
this.numeroBolla=numeroBolla;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [dataConsegna]
**/
public java.sql.Timestamp getDataConsegna() {
return dataConsegna;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [dataConsegna]
**/
public void setDataConsegna(java.sql.Timestamp dataConsegna) {
this.dataConsegna=dataConsegna;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [stato]
**/
public java.lang.String getStato() {
return stato;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [stato]
**/
public void setStato(java.lang.String stato) {
this.stato=stato;
}
}
@@ -0,0 +1,108 @@
/*
* Created by BulkGenerator 2.0 [07/12/2009]
* Date 21/09/2017
*/
package it.cnr.contab.ordmag.ordini.bulk;
import it.cnr.contab.ordmag.anag00.*;

import java.util.Optional;

public class EvasioneOrdineBulk extends EvasioneOrdineBase {
/**
* [NUMERAZIONE_MAG Definisce i contatori per la numerazione dei magazzini.]
**/
private NumerazioneMagBulk numerazioneMag = new NumerazioneMagBulk();
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Table name: EVASIONE_ORDINE
**/
public EvasioneOrdineBulk() {
super();
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Table name: EVASIONE_ORDINE
**/
public EvasioneOrdineBulk(java.lang.String cdCds, java.lang.String cdMagazzino, java.lang.Integer esercizio, java.lang.String cdNumeratoreMag, java.lang.Long numero) {
super(cdCds, cdMagazzino, esercizio, cdNumeratoreMag, numero);
setNumerazioneMag( new NumerazioneMagBulk(cdCds,cdMagazzino,esercizio,cdNumeratoreMag) );
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [Definisce i contatori per la numerazione dei magazzini.]
**/
public NumerazioneMagBulk getNumerazioneMag() {
return numerazioneMag;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [Definisce i contatori per la numerazione dei magazzini.]
**/
public void setNumerazioneMag(NumerazioneMagBulk numerazioneMag) {
this.numerazioneMag=numerazioneMag;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [cdCds]
**/
public java.lang.String getCdCds() {
return Optional.ofNullable(this.getNumerazioneMag())
.map(NumerazioneMagBulk::getCdCds)
.orElse(null);
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [cdCds]
**/
public void setCdCds(java.lang.String cdCds) {
this.getNumerazioneMag().setCdCds(cdCds);
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [cdMagazzino]
**/
public java.lang.String getCdMagazzino() {
return Optional.ofNullable(this.getNumerazioneMag())
.map(NumerazioneMagBulk::getCdMagazzino)
.orElse(null);
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [cdMagazzino]
**/
public void setCdMagazzino(java.lang.String cdMagazzino) {
this.getNumerazioneMag().setCdMagazzino(cdMagazzino);
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [esercizio]
**/
public java.lang.Integer getEsercizio() {
return Optional.ofNullable(this.getNumerazioneMag())
.map(NumerazioneMagBulk::getEsercizio)
.orElse(null);
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [esercizio]
**/
public void setEsercizio(java.lang.Integer esercizio) {
this.getNumerazioneMag().setEsercizio(esercizio);
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [cdNumeratoreMag]
**/
public java.lang.String getCdNumeratoreMag() {
return Optional.ofNullable(this.getNumerazioneMag())
.map(NumerazioneMagBulk::getCdNumeratoreMag)
.orElse(null);
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [cdNumeratoreMag]
**/
public void setCdNumeratoreMag(java.lang.String cdNumeratoreMag) {
this.getNumerazioneMag().setCdNumeratoreMag(cdNumeratoreMag);
}
}
@@ -0,0 +1,16 @@
/*
* Created by BulkGenerator 2.0 [07/12/2009]
* Date 21/09/2017
*/
package it.cnr.contab.ordmag.ordini.bulk;
import java.sql.Connection;
import it.cnr.jada.bulk.BulkHome;
import it.cnr.jada.persistency.PersistentCache;
public class EvasioneOrdineHome extends BulkHome {
public EvasioneOrdineHome(Connection conn) {
super(EvasioneOrdineBulk.class, conn);
}
public EvasioneOrdineHome(Connection conn, PersistentCache persistentCache) {
super(EvasioneOrdineBulk.class, conn, persistentCache);
}
}
@@ -0,0 +1,119 @@
/*
* Created by BulkGenerator 2.0 [07/12/2009]
* Date 21/09/2017
*/
package it.cnr.contab.ordmag.ordini.bulk;
import it.cnr.jada.bulk.OggettoBulk;
import it.cnr.jada.persistency.KeyedPersistent;
public class EvasioneOrdineKey extends OggettoBulk implements KeyedPersistent {
private java.lang.String cdCds;
private java.lang.String cdMagazzino;
private java.lang.Integer esercizio;
private java.lang.String cdNumeratoreMag;
private java.lang.Long numero;
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Table name: EVASIONE_ORDINE
**/
public EvasioneOrdineKey() {
super();
}
public EvasioneOrdineKey(java.lang.String cdCds, java.lang.String cdMagazzino, java.lang.Integer esercizio, java.lang.String cdNumeratoreMag, java.lang.Long numero) {
super();
this.cdCds=cdCds;
this.cdMagazzino=cdMagazzino;
this.esercizio=esercizio;
this.cdNumeratoreMag=cdNumeratoreMag;
this.numero=numero;
}
public boolean equalsByPrimaryKey(Object o) {
if (this== o) return true;
if (!(o instanceof EvasioneOrdineKey)) return false;
EvasioneOrdineKey k = (EvasioneOrdineKey) o;
if (!compareKey(getCdCds(), k.getCdCds())) return false;
if (!compareKey(getCdMagazzino(), k.getCdMagazzino())) return false;
if (!compareKey(getEsercizio(), k.getEsercizio())) return false;
if (!compareKey(getCdNumeratoreMag(), k.getCdNumeratoreMag())) return false;
if (!compareKey(getNumero(), k.getNumero())) return false;
return true;
}
public int primaryKeyHashCode() {
int i = 0;
i = i + calculateKeyHashCode(getCdCds());
i = i + calculateKeyHashCode(getCdMagazzino());
i = i + calculateKeyHashCode(getEsercizio());
i = i + calculateKeyHashCode(getCdNumeratoreMag());
i = i + calculateKeyHashCode(getNumero());
return i;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [cdCds]
**/
public void setCdCds(java.lang.String cdCds) {
this.cdCds=cdCds;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [cdCds]
**/
public java.lang.String getCdCds() {
return cdCds;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [cdMagazzino]
**/
public void setCdMagazzino(java.lang.String cdMagazzino) {
this.cdMagazzino=cdMagazzino;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [cdMagazzino]
**/
public java.lang.String getCdMagazzino() {
return cdMagazzino;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [esercizio]
**/
public void setEsercizio(java.lang.Integer esercizio) {
this.esercizio=esercizio;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [esercizio]
**/
public java.lang.Integer getEsercizio() {
return esercizio;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [cdNumeratoreMag]
**/
public void setCdNumeratoreMag(java.lang.String cdNumeratoreMag) {
this.cdNumeratoreMag=cdNumeratoreMag;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [cdNumeratoreMag]
**/
public java.lang.String getCdNumeratoreMag() {
return cdNumeratoreMag;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [numero]
**/
public void setNumero(java.lang.Long numero) {
this.numero=numero;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [numero]
**/
public java.lang.Long getNumero() {
return numero;
}
}

0 comments on commit 21abd3d

Please sign in to comment.