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   * ConfigSisExecFinanCsefv generated by hbm2java
23   */
24  @Entity
25  @Table(name = "TB_CONFIG_SIS_EXEC_FINAN_CSEFV")
26  public class ConfigSisExecFinanCsefv implements java.io.Serializable {
27  
28    private static final long serialVersionUID = 3686876282988609556L;
29  
30    private Long codCsefv;
31    private Long versaoCsefv;
32    private Long mesVersaoCsefv;
33    private Long anoVersaoCsefv;
34    private Date dataInclusaoCsefv;
35    private String indAtivoCsefv;
36    private ConfigSisExecFinanCsef configSisExecFinanCsef;
37    private Set<ConfigExecFinanCef> configExecFinanCefs = new HashSet<ConfigExecFinanCef>(0);
38    private Set<ImportacaoImp> importacaoImps = new HashSet<ImportacaoImp>(0);
39  
40    public ConfigSisExecFinanCsefv() {
41    }
42  
43    public ConfigSisExecFinanCsefv(Long versaoCsefv, Long mesVersaoCsefv, Long anoVersaoCsefv, Date dataInclusaoCsefv, String indAtivoCsefv, ConfigSisExecFinanCsef configSisExecFinanCsef, Set<ConfigExecFinanCef> configExecFinanCefs, Set<ImportacaoImp> importacaoImps) {
44      this.versaoCsefv = versaoCsefv;
45      this.mesVersaoCsefv = mesVersaoCsefv;
46      this.anoVersaoCsefv = anoVersaoCsefv;
47      this.dataInclusaoCsefv = dataInclusaoCsefv;
48      this.indAtivoCsefv = indAtivoCsefv;
49      this.configSisExecFinanCsef = configSisExecFinanCsef;
50      this.configExecFinanCefs = configExecFinanCefs;
51      this.importacaoImps = importacaoImps;
52    }
53  
54    @GenericGenerator(name = "generator", strategy = "increment")
55    @Id
56    @GeneratedValue(generator = "generator")
57    @Column(name = "COD_CSEFV", nullable = false)
58    public Long getCodCsefv() {
59      return this.codCsefv;
60    }
61  
62    public void setCodCsefv(Long codCsefv) {
63      this.codCsefv = codCsefv;
64    }
65  
66    @Column(name = "VERSAO_CSEFV", length = 22)
67    public Long getVersaoCsefv() {
68      return this.versaoCsefv;
69    }
70  
71    public void setVersaoCsefv(Long versaoCsefv) {
72      this.versaoCsefv = versaoCsefv;
73    }
74  
75    @Column(name = "mes_versao_csefv", length = 22)
76    public Long getMesVersaoCsefv() {
77      return this.mesVersaoCsefv;
78    }
79  
80    public void setMesVersaoCsefv(Long mesVersaoCsefv) {
81      this.mesVersaoCsefv = mesVersaoCsefv;
82    }
83  
84    @Column(name = "ano_versao_csefv", length = 22)
85    public Long getAnoVersaoCsefv() {
86      return this.anoVersaoCsefv;
87    }
88  
89    public void setAnoVersaoCsefv(Long anoVersaoCsefv) {
90      this.anoVersaoCsefv = anoVersaoCsefv;
91    }
92  
93    @Temporal(TemporalType.TIMESTAMP)
94    @Column(name = "DATA_INCLUSAO_CSEFV", length = 7)
95    public Date getDataInclusaoCsefv() {
96      return this.dataInclusaoCsefv;
97    }
98  
99    public void setDataInclusaoCsefv(Date dataInclusaoCsefv) {
100     this.dataInclusaoCsefv = dataInclusaoCsefv;
101   }
102 
103   @Column(name = "IND_ATIVO_CSEFV", length = 1)
104   public String getIndAtivoCsefv() {
105     return this.indAtivoCsefv;
106   }
107 
108   public void setIndAtivoCsefv(String indAtivoCsefv) {
109     this.indAtivoCsefv = indAtivoCsefv;
110   }
111 
112   @ManyToOne(fetch = FetchType.LAZY)
113   @JoinColumn(name = "COD_CSEF")
114   public ConfigSisExecFinanCsef getConfigSisExecFinanCsef() {
115     return this.configSisExecFinanCsef;
116   }
117 
118   public void setConfigSisExecFinanCsef(ConfigSisExecFinanCsef configSisExecFinanCsef) {
119     this.configSisExecFinanCsef = configSisExecFinanCsef;
120   }
121 
122   @OneToMany(fetch = FetchType.LAZY, mappedBy = "configSisExecFinanCsefv")
123   public Set<ConfigExecFinanCef> getConfigExecFinanCefs() {
124     return this.configExecFinanCefs;
125   }
126 
127   public void setConfigExecFinanCefs(Set<ConfigExecFinanCef> configExecFinanCefs) {
128     this.configExecFinanCefs = configExecFinanCefs;
129   }
130 
131   @OneToMany(fetch = FetchType.LAZY)
132   public Set<ImportacaoImp> getImportacaoImps() {
133     return this.importacaoImps;
134   }
135 
136   public void setImportacaoImps(Set<ImportacaoImp> importacaoImps) {
137     this.importacaoImps = importacaoImps;
138   }
139 
140 }