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 javax.persistence.Embeddable;
6   import javax.persistence.JoinColumn;
7   import javax.persistence.ManyToOne;
8   
9   /**
10   * TfuncacompConfigmailTfacfgmPK generated by hbm2java
11   */
12  @Embeddable
13  public class TfuncacompConfigmailTfacfgmPK implements java.io.Serializable {
14  
15    private static final long serialVersionUID = 6011803228613249301L;
16  
17    private ConfigMailCfgm configMailCfgm;
18    private TipoFuncAcompTpfa tipoFuncAcompTpfa;
19    
20    public TfuncacompConfigmailTfacfgmPK() {
21    }
22  
23  
24    public void setTipoFuncAcompTpfa(TipoFuncAcompTpfa tipoFuncAcompTpfa) {
25      this.tipoFuncAcompTpfa = tipoFuncAcompTpfa;
26    }
27  
28    @ManyToOne(optional = false)
29    @JoinColumn(name = "cod_tpfa")
30    public TipoFuncAcompTpfa getTipoFuncAcompTpfa() {
31      return tipoFuncAcompTpfa;
32    }
33  
34  
35    public void setConfigMailCfgm(ConfigMailCfgm configMailCfgm) {
36      this.configMailCfgm = configMailCfgm;
37    }
38  
39    @ManyToOne(optional = false)
40    @JoinColumn(name = "cod_cfg", nullable = false)
41    public ConfigMailCfgm getConfigMailCfgm() {
42      return configMailCfgm;
43    }
44  
45  
46  
47  }