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.CascadeType;
9   import javax.persistence.Column;
10  import javax.persistence.Entity;
11  import javax.persistence.FetchType;
12  import javax.persistence.GeneratedValue;
13  import javax.persistence.Id;
14  import javax.persistence.JoinColumn;
15  import javax.persistence.ManyToOne;
16  import javax.persistence.OneToMany;
17  import javax.persistence.Table;
18  import javax.persistence.Temporal;
19  import javax.persistence.TemporalType;
20  import org.hibernate.annotations.GenericGenerator;
21  
22  /**
23   * AcompReferenciaItemAri generated by hbm2java
24   */
25  @Entity
26  @Table(name = "TB_ACOMP_REFERENCIA_ITEM_ARI")
27  public class AcompReferenciaItemAri implements java.io.Serializable {
28  
29    private static final long serialVersionUID = -8138692357175239850L;
30  
31    private Long codAri;
32    private Date dataUltManutAri;
33    private Date dataInclusaoAri;
34    private Date dataLimiteAcompFisicoAri;
35    private Date dataInicioAri;
36    private String indItemMonitoradosAri;
37    private Long codUsuincAri;
38    private Long codUsuUltManutAri;
39    private StatusRelatorioSrl statusRelatorioSrl;
40    private ItemEstruturaIett itemEstruturaIett;
41    private Set<AcompRelatorioArel> acompRelatorioArels = new HashSet<AcompRelatorioArel>(0);
42    private Set<AcompRefItemLimitesArli> acompRefItemLimitesArlis = new HashSet<AcompRefItemLimitesArli>(0);
43    private AcompReferenciaAref acompReferenciaAref;
44    private Set<ItemEstrUplCategIettuc> itemEstrUplCategIettuc = new HashSet<ItemEstrUplCategIettuc>(0);
45  
46    public AcompReferenciaItemAri() {
47    }
48  
49    public AcompReferenciaItemAri(Date dataUltManutAri, Date dataInclusaoAri, Date dataLimiteAcompFisicoAri, Date dataInicioAri, String indItemMonitoradosAri, Long codUsuincAri, Long codUsuUltManutAri, StatusRelatorioSrl statusRelatorioSrl, ItemEstruturaIett itemEstruturaIett, Set<AcompRelatorioArel> acompRelatorioArels, Set<AcompRefItemLimitesArli> acompRefItemLimitesArlis, AcompReferenciaAref acompReferenciaAref, Set<ItemEstrUplCategIettuc> itemEstrUplCategIettuc) {
50      this.dataUltManutAri = dataUltManutAri;
51      this.dataInclusaoAri = dataInclusaoAri;
52      this.dataLimiteAcompFisicoAri = dataLimiteAcompFisicoAri;
53      this.dataInicioAri = dataInicioAri;
54      this.indItemMonitoradosAri = indItemMonitoradosAri;
55      this.codUsuincAri = codUsuincAri;
56      this.codUsuUltManutAri = codUsuUltManutAri;
57      this.statusRelatorioSrl = statusRelatorioSrl;
58      this.itemEstruturaIett = itemEstruturaIett;
59      this.acompRelatorioArels = acompRelatorioArels;
60      this.acompRefItemLimitesArlis = acompRefItemLimitesArlis;
61      this.acompReferenciaAref = acompReferenciaAref;
62      this.itemEstrUplCategIettuc = itemEstrUplCategIettuc;
63    }
64  
65    @GenericGenerator(name = "generator", strategy = "increment")
66    @Id
67    @GeneratedValue(generator = "generator")
68    @Column(name = "COD_ARI", nullable = false)
69    public Long getCodAri() {
70      return this.codAri;
71    }
72  
73    public void setCodAri(Long codAri) {
74      this.codAri = codAri;
75    }
76  
77    @Temporal(TemporalType.TIMESTAMP)
78    @Column(name = "DATA_ULT_MANUT_ARI", length = 7)
79    public Date getDataUltManutAri() {
80      return this.dataUltManutAri;
81    }
82  
83    public void setDataUltManutAri(Date dataUltManutAri) {
84      this.dataUltManutAri = dataUltManutAri;
85    }
86  
87    @Temporal(TemporalType.TIMESTAMP)
88    @Column(name = "DATA_INCLUSAO_ARI", length = 7)
89    public Date getDataInclusaoAri() {
90      return this.dataInclusaoAri;
91    }
92  
93    public void setDataInclusaoAri(Date dataInclusaoAri) {
94      this.dataInclusaoAri = dataInclusaoAri;
95    }
96  
97    @Temporal(TemporalType.TIMESTAMP)
98    @Column(name = "DATA_LIMITE_ACOMP_FISICO_ARI", length = 7)
99    public Date getDataLimiteAcompFisicoAri() {
100     return this.dataLimiteAcompFisicoAri;
101   }
102 
103   public void setDataLimiteAcompFisicoAri(Date dataLimiteAcompFisicoAri) {
104     this.dataLimiteAcompFisicoAri = dataLimiteAcompFisicoAri;
105   }
106 
107   @Temporal(TemporalType.TIMESTAMP)
108   @Column(name = "DATA_INICIO_ARI", length = 7)
109   public Date getDataInicioAri() {
110     return this.dataInicioAri;
111   }
112 
113   public void setDataInicioAri(Date dataInicioAri) {
114     this.dataInicioAri = dataInicioAri;
115   }
116 
117   @Column(name = "IND_ITEM_MONITORADOS_ARI", length = 1)
118   public String getIndItemMonitoradosAri() {
119     return this.indItemMonitoradosAri;
120   }
121 
122   public void setIndItemMonitoradosAri(String indItemMonitoradosAri) {
123     this.indItemMonitoradosAri = indItemMonitoradosAri;
124   }
125 
126   @Column(name = "COD_USUINC_ARI", length = 10)
127   public Long getCodUsuincAri() {
128     return this.codUsuincAri;
129   }
130 
131   public void setCodUsuincAri(Long codUsuincAri) {
132     this.codUsuincAri = codUsuincAri;
133   }
134 
135   @Column(name = "COD_USU_ULT_MANUT_ARI", length = 10)
136   public Long getCodUsuUltManutAri() {
137     return this.codUsuUltManutAri;
138   }
139 
140   public void setCodUsuUltManutAri(Long codUsuUltManutAri) {
141     this.codUsuUltManutAri = codUsuUltManutAri;
142   }
143 
144   @ManyToOne(fetch = FetchType.LAZY)
145   @JoinColumn(name = "COD_SRL")
146   public StatusRelatorioSrl getStatusRelatorioSrl() {
147     return this.statusRelatorioSrl;
148   }
149 
150   public void setStatusRelatorioSrl(StatusRelatorioSrl statusRelatorioSrl) {
151     this.statusRelatorioSrl = statusRelatorioSrl;
152   }
153 
154   @ManyToOne(fetch = FetchType.LAZY)
155   @JoinColumn(name = "COD_IETT")
156   public ItemEstruturaIett getItemEstruturaIett() {
157     return this.itemEstruturaIett;
158   }
159 
160   public void setItemEstruturaIett(ItemEstruturaIett itemEstruturaIett) {
161     this.itemEstruturaIett = itemEstruturaIett;
162   }
163 
164   @OneToMany(cascade = CascadeType.REMOVE, fetch = FetchType.LAZY, mappedBy = "acompReferenciaItemAri")
165   public Set<AcompRelatorioArel> getAcompRelatorioArels() {
166     return this.acompRelatorioArels;
167   }
168 
169   public void setAcompRelatorioArels(Set<AcompRelatorioArel> acompRelatorioArels) {
170     this.acompRelatorioArels = acompRelatorioArels;
171   }
172 
173   @OneToMany(cascade = CascadeType.REMOVE, fetch = FetchType.LAZY, mappedBy = "acompReferenciaItemAri")
174   public Set<AcompRefItemLimitesArli> getAcompRefItemLimitesArlis() {
175     return this.acompRefItemLimitesArlis;
176   }
177 
178   public void setAcompRefItemLimitesArlis(Set<AcompRefItemLimitesArli> acompRefItemLimitesArlis) {
179     this.acompRefItemLimitesArlis = acompRefItemLimitesArlis;
180   }
181 
182   @ManyToOne(fetch = FetchType.LAZY)
183   @JoinColumn(name = "COD_AREF")
184   public AcompReferenciaAref getAcompReferenciaAref() {
185     return this.acompReferenciaAref;
186   }
187 
188   public void setAcompReferenciaAref(AcompReferenciaAref acompReferenciaAref) {
189     this.acompReferenciaAref = acompReferenciaAref;
190   }
191 
192   @OneToMany(cascade = CascadeType.REMOVE, fetch = FetchType.LAZY, mappedBy = "acompReferenciaItemAri")
193   public Set<ItemEstrUplCategIettuc> getItemEstrUplCategIettuc() {
194     return this.itemEstrUplCategIettuc;
195   }
196 
197   public void setItemEstrUplCategIettuc(Set<ItemEstrUplCategIettuc> itemEstrUplCategIettuc) {
198     this.itemEstrUplCategIettuc = itemEstrUplCategIettuc;
199   }
200 
201 }