View Javadoc

1   package ecar.pojo;
2   
3   // Generated Aug 13, 2009 2:24:15 PM by Hibernate Tools 3.2.0.CR1
4   
5   import java.util.Date;
6   import java.util.HashSet;
7   import java.util.Set;
8   import javax.persistence.Column;
9   import javax.persistence.Entity;
10  import javax.persistence.FetchType;
11  import javax.persistence.GeneratedValue;
12  import javax.persistence.Id;
13  import javax.persistence.JoinColumn;
14  import javax.persistence.ManyToOne;
15  import javax.persistence.OneToMany;
16  import javax.persistence.Table;
17  import javax.persistence.Temporal;
18  import javax.persistence.TemporalType;
19  import org.hibernate.annotations.GenericGenerator;
20  
21  /**
22   * ExercicioExe generated by hbm2java
23   */
24  @Entity
25  @Table(name = "TB_EXERCICIO_EXE")
26  public class ExercicioExe implements java.io.Serializable {
27  
28    private Long codExe;
29    private Date dataFinalExe;
30    private Date dataInicialExe;
31    private String descricaoExe;
32    private PeriodoExercicioPerExe periodoExercicioPerExe;
33    private Set<EfItemEstContaEfiec> efItemEstContaEfiecs = new HashSet<EfItemEstContaEfiec>(0);
34    private Set<EfItemEstPrevisaoEfiep> efItemEstPrevisaoEfieps = new HashSet<EfItemEstPrevisaoEfiep>(0);
35    private Set<ItemEstrutFisicoIettf> itemEstrutFisicoIettfs = new HashSet<ItemEstrutFisicoIettf>(0);
36    private Set<AcompReferenciaAref> acompReferenciaArefs = new HashSet<AcompReferenciaAref>(0);
37    private Set<ItemEstFisicoRevIettfr> itemEstFisicoRevIettfrs = new HashSet<ItemEstFisicoRevIettfr>(0);
38    private Set<EfIettPrevisaoRevEfiepr> efIettPrevisaoRevEfieprs = new HashSet<EfIettPrevisaoRevEfiepr>(0);
39    private Set<ItemEstrtIndResulLocalIettirl> itemEstrtIndResulLocalIettirls = new HashSet<ItemEstrtIndResulLocalIettirl>(0);
40    private Set<HistoricoIettfH> historicoIettfHs = new HashSet<HistoricoIettfH>(0);
41    private Set<HistoricoEfiecH> historicoEfiecHs = new HashSet<HistoricoEfiecH>(0);
42    private Set<HistoricoEfiepH> historicoEfiepHs = new HashSet<HistoricoEfiepH>(0);
43  
44    public ExercicioExe() {
45    }
46  
47    public ExercicioExe(Date dataFinalExe, Date dataInicialExe, String descricaoExe, PeriodoExercicioPerExe periodoExercicioPerExe, Set<EfItemEstContaEfiec> efItemEstContaEfiecs, Set<EfItemEstPrevisaoEfiep> efItemEstPrevisaoEfieps, Set<ItemEstrutFisicoIettf> itemEstrutFisicoIettfs, Set<AcompReferenciaAref> acompReferenciaArefs, Set<ItemEstFisicoRevIettfr> itemEstFisicoRevIettfrs, Set<EfIettPrevisaoRevEfiepr> efIettPrevisaoRevEfieprs, Set<ItemEstrtIndResulLocalIettirl> itemEstrtIndResulLocalIettirls, Set<HistoricoIettfH> historicoIettfHs, Set<HistoricoEfiecH> historicoEfiecHs, Set<HistoricoEfiepH> historicoEfiepHs) {
48      this.dataFinalExe = dataFinalExe;
49      this.dataInicialExe = dataInicialExe;
50      this.descricaoExe = descricaoExe;
51      this.periodoExercicioPerExe = periodoExercicioPerExe;
52      this.efItemEstContaEfiecs = efItemEstContaEfiecs;
53      this.efItemEstPrevisaoEfieps = efItemEstPrevisaoEfieps;
54      this.itemEstrutFisicoIettfs = itemEstrutFisicoIettfs;
55      this.acompReferenciaArefs = acompReferenciaArefs;
56      this.itemEstFisicoRevIettfrs = itemEstFisicoRevIettfrs;
57      this.efIettPrevisaoRevEfieprs = efIettPrevisaoRevEfieprs;
58      this.itemEstrtIndResulLocalIettirls = itemEstrtIndResulLocalIettirls;
59      this.historicoIettfHs = historicoIettfHs;
60      this.historicoEfiecHs = historicoEfiecHs;
61      this.historicoEfiepHs = historicoEfiepHs;
62    }
63  
64    @GenericGenerator(name = "generator", strategy = "increment")
65    @Id
66    @GeneratedValue(generator = "generator")
67    @Column(name = "COD_EXE", nullable = false)
68    public Long getCodExe() {
69      return this.codExe;
70    }
71  
72    public void setCodExe(Long codExe) {
73      this.codExe = codExe;
74    }
75  
76    @Temporal(TemporalType.TIMESTAMP)
77    @Column(name = "DATA_FINAL_EXE", length = 7)
78    public Date getDataFinalExe() {
79      return this.dataFinalExe;
80    }
81  
82    public void setDataFinalExe(Date dataFinalExe) {
83      this.dataFinalExe = dataFinalExe;
84    }
85  
86    @Temporal(TemporalType.TIMESTAMP)
87    @Column(name = "DATA_INICIAL_EXE", length = 7)
88    public Date getDataInicialExe() {
89      return this.dataInicialExe;
90    }
91  
92    public void setDataInicialExe(Date dataInicialExe) {
93      this.dataInicialExe = dataInicialExe;
94    }
95  
96    @Column(name = "DESCRICAO_EXE", length = 20)
97    public String getDescricaoExe() {
98      return this.descricaoExe;
99    }
100 
101   public void setDescricaoExe(String descricaoExe) {
102     this.descricaoExe = descricaoExe;
103   }
104 
105   @ManyToOne(fetch = FetchType.LAZY)
106   @JoinColumn(name = "COD_PEREXE")
107   public PeriodoExercicioPerExe getPeriodoExercicioPerExe() {
108     return this.periodoExercicioPerExe;
109   }
110 
111   public void setPeriodoExercicioPerExe(PeriodoExercicioPerExe periodoExercicioPerExe) {
112     this.periodoExercicioPerExe = periodoExercicioPerExe;
113   }
114 
115   @OneToMany(fetch = FetchType.LAZY, mappedBy = "exercicioExe")
116   public Set<EfItemEstContaEfiec> getEfItemEstContaEfiecs() {
117     return this.efItemEstContaEfiecs;
118   }
119 
120   public void setEfItemEstContaEfiecs(Set<EfItemEstContaEfiec> efItemEstContaEfiecs) {
121     this.efItemEstContaEfiecs = efItemEstContaEfiecs;
122   }
123 
124   @OneToMany(fetch = FetchType.LAZY, mappedBy = "exercicioExe")
125   public Set<EfItemEstPrevisaoEfiep> getEfItemEstPrevisaoEfieps() {
126     return this.efItemEstPrevisaoEfieps;
127   }
128 
129   public void setEfItemEstPrevisaoEfieps(Set<EfItemEstPrevisaoEfiep> efItemEstPrevisaoEfieps) {
130     this.efItemEstPrevisaoEfieps = efItemEstPrevisaoEfieps;
131   }
132 
133   @OneToMany(fetch = FetchType.LAZY, mappedBy = "exercicioExe")
134   public Set<ItemEstrutFisicoIettf> getItemEstrutFisicoIettfs() {
135     return this.itemEstrutFisicoIettfs;
136   }
137 
138   public void setItemEstrutFisicoIettfs(Set<ItemEstrutFisicoIettf> itemEstrutFisicoIettfs) {
139     this.itemEstrutFisicoIettfs = itemEstrutFisicoIettfs;
140   }
141 
142   @OneToMany(fetch = FetchType.LAZY, mappedBy = "exercicioExe")
143   public Set<AcompReferenciaAref> getAcompReferenciaArefs() {
144     return this.acompReferenciaArefs;
145   }
146 
147   public void setAcompReferenciaArefs(Set<AcompReferenciaAref> acompReferenciaArefs) {
148     this.acompReferenciaArefs = acompReferenciaArefs;
149   }
150 
151   @OneToMany(fetch = FetchType.LAZY, mappedBy = "exercicioExe")
152   public Set<ItemEstFisicoRevIettfr> getItemEstFisicoRevIettfrs() {
153     return this.itemEstFisicoRevIettfrs;
154   }
155 
156   public void setItemEstFisicoRevIettfrs(Set<ItemEstFisicoRevIettfr> itemEstFisicoRevIettfrs) {
157     this.itemEstFisicoRevIettfrs = itemEstFisicoRevIettfrs;
158   }
159 
160   @OneToMany(fetch = FetchType.LAZY, mappedBy = "exercicioExe")
161   public Set<EfIettPrevisaoRevEfiepr> getEfIettPrevisaoRevEfieprs() {
162     return this.efIettPrevisaoRevEfieprs;
163   }
164 
165   public void setEfIettPrevisaoRevEfieprs(Set<EfIettPrevisaoRevEfiepr> efIettPrevisaoRevEfieprs) {
166     this.efIettPrevisaoRevEfieprs = efIettPrevisaoRevEfieprs;
167   }
168 
169   @OneToMany(fetch = FetchType.LAZY, mappedBy = "exercicioExe")
170   public Set<ItemEstrtIndResulLocalIettirl> getItemEstrtIndResulLocalIettirls() {
171     return this.itemEstrtIndResulLocalIettirls;
172   }
173 
174   public void setItemEstrtIndResulLocalIettirls(Set<ItemEstrtIndResulLocalIettirl> itemEstrtIndResulLocalIettirls) {
175     this.itemEstrtIndResulLocalIettirls = itemEstrtIndResulLocalIettirls;
176   }
177 
178   @OneToMany(fetch = FetchType.LAZY, mappedBy = "exercicioExe")
179   public Set<HistoricoIettfH> getHistoricoIettfHs() {
180     return this.historicoIettfHs;
181   }
182 
183   public void setHistoricoIettfHs(Set<HistoricoIettfH> historicoIettfHs) {
184     this.historicoIettfHs = historicoIettfHs;
185   }
186 
187   @OneToMany(fetch = FetchType.LAZY, mappedBy = "exercicioExe")
188   public Set<HistoricoEfiecH> getHistoricoEfiecHs() {
189     return this.historicoEfiecHs;
190   }
191 
192   public void setHistoricoEfiecHs(Set<HistoricoEfiecH> historicoEfiecHs) {
193     this.historicoEfiecHs = historicoEfiecHs;
194   }
195 
196   @OneToMany(fetch = FetchType.LAZY, mappedBy = "exercicioExe")
197   public Set<HistoricoEfiepH> getHistoricoEfiepHs() {
198     return this.historicoEfiepHs;
199   }
200 
201   public void setHistoricoEfiepHs(Set<HistoricoEfiepH> historicoEfiepHs) {
202     this.historicoEfiepHs = historicoEfiepHs;
203   }
204 
205 }