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 javax.persistence.Column;
7   import javax.persistence.Entity;
8   import javax.persistence.FetchType;
9   import javax.persistence.GeneratedValue;
10  import javax.persistence.Id;
11  import javax.persistence.JoinColumn;
12  import javax.persistence.ManyToOne;
13  import javax.persistence.Table;
14  import javax.persistence.Temporal;
15  import javax.persistence.TemporalType;
16  import org.hibernate.annotations.GenericGenerator;
17  
18  /**
19   * ItemEstrutVinculoIettv generated by hbm2java
20   */
21  @Entity
22  @Table(name = "TB_ITEM_ESTRUT_VINCULO_IETTV")
23  public class ItemEstrutVinculoIettv implements java.io.Serializable {
24  
25    private Long codIettv;
26    private Date dataInclusaoIettv;
27    private Boolean indExclusaoPosHistorico;
28    private AgendaOcorrenciaAgeo agendaOcorrenciaAgeo;
29    private ItemEstruturaIett itemEstruturaIett;
30    private SegmentoItemSgti segmentoItemSgti;
31  
32    public ItemEstrutVinculoIettv() {
33    }
34  
35    public ItemEstrutVinculoIettv(Date dataInclusaoIettv, Boolean indExclusaoPosHistorico, AgendaOcorrenciaAgeo agendaOcorrenciaAgeo, ItemEstruturaIett itemEstruturaIett, SegmentoItemSgti segmentoItemSgti) {
36      this.dataInclusaoIettv = dataInclusaoIettv;
37      this.indExclusaoPosHistorico = indExclusaoPosHistorico;
38      this.agendaOcorrenciaAgeo = agendaOcorrenciaAgeo;
39      this.itemEstruturaIett = itemEstruturaIett;
40      this.segmentoItemSgti = segmentoItemSgti;
41    }
42  
43    @GenericGenerator(name = "generator", strategy = "increment")
44    @Id
45    @GeneratedValue(generator = "generator")
46    @Column(name = "COD_IETTV", nullable = false)
47    public Long getCodIettv() {
48      return this.codIettv;
49    }
50  
51    public void setCodIettv(Long codIettv) {
52      this.codIettv = codIettv;
53    }
54  
55    @Temporal(TemporalType.TIMESTAMP)
56    @Column(name = "DATA_INCLUSAO_IETTV", length = 7)
57    public Date getDataInclusaoIettv() {
58      return this.dataInclusaoIettv;
59    }
60  
61    public void setDataInclusaoIettv(Date dataInclusaoIettv) {
62      this.dataInclusaoIettv = dataInclusaoIettv;
63    }
64  
65    @Column(name = "IND_EXCLUSAO_POS_HISTORICO")
66    public Boolean getIndExclusaoPosHistorico() {
67      return this.indExclusaoPosHistorico;
68    }
69  
70    public void setIndExclusaoPosHistorico(Boolean indExclusaoPosHistorico) {
71      this.indExclusaoPosHistorico = indExclusaoPosHistorico;
72    }
73  
74    @ManyToOne(fetch = FetchType.LAZY)
75    @JoinColumn(name = "COD_AGEO")
76    public AgendaOcorrenciaAgeo getAgendaOcorrenciaAgeo() {
77      return this.agendaOcorrenciaAgeo;
78    }
79  
80    public void setAgendaOcorrenciaAgeo(AgendaOcorrenciaAgeo agendaOcorrenciaAgeo) {
81      this.agendaOcorrenciaAgeo = agendaOcorrenciaAgeo;
82    }
83  
84    @ManyToOne(fetch = FetchType.LAZY)
85    @JoinColumn(name = "COD_IETT")
86    public ItemEstruturaIett getItemEstruturaIett() {
87      return this.itemEstruturaIett;
88    }
89  
90    public void setItemEstruturaIett(ItemEstruturaIett itemEstruturaIett) {
91      this.itemEstruturaIett = itemEstruturaIett;
92    }
93  
94    @ManyToOne(fetch = FetchType.LAZY)
95    @JoinColumn(name = "COD_SGTI")
96    public SegmentoItemSgti getSegmentoItemSgti() {
97      return this.segmentoItemSgti;
98    }
99  
100   public void setSegmentoItemSgti(SegmentoItemSgti segmentoItemSgti) {
101     this.segmentoItemSgti = segmentoItemSgti;
102   }
103 
104 }