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.Column;
6   import javax.persistence.Entity;
7   import javax.persistence.GeneratedValue;
8   import javax.persistence.Id;
9   import javax.persistence.Table;
10  import org.hibernate.annotations.GenericGenerator;
11  
12  /**
13   * Link generated by hbm2java
14   */
15  @Entity
16  @Table(name = "tb_link")
17  public class Link implements java.io.Serializable {
18  
19    private Integer codLink;
20    private String labelLink;
21    private String exibeMonitoramentoLink;
22    private Integer ordemLink;
23    private String nomeLink;
24    private String urlLink;
25    private String iconeLink;
26  
27    public Link() {
28    }
29  
30    public Link(String labelLink, String exibeMonitoramentoLink, Integer ordemLink, String nomeLink, String urlLink, String iconeLink) {
31      this.labelLink = labelLink;
32      this.exibeMonitoramentoLink = exibeMonitoramentoLink;
33      this.ordemLink = ordemLink;
34      this.nomeLink = nomeLink;
35      this.urlLink = urlLink;
36      this.iconeLink = iconeLink;
37    }
38  
39    @GenericGenerator(name = "generator", strategy = "increment")
40    @Id
41    @GeneratedValue(generator = "generator")
42    @Column(name = "cod_link", nullable = false)
43    public Integer getCodLink() {
44      return this.codLink;
45    }
46  
47    public void setCodLink(Integer codLink) {
48      this.codLink = codLink;
49    }
50  
51    @Column(name = "label_link", length = 100)
52    public String getLabelLink() {
53      return this.labelLink;
54    }
55  
56    public void setLabelLink(String labelLink) {
57      this.labelLink = labelLink;
58    }
59  
60    @Column(name = "exibe_monitoramento_link", length = 1)
61    public String getExibeMonitoramentoLink() {
62      return this.exibeMonitoramentoLink;
63    }
64  
65    public void setExibeMonitoramentoLink(String exibeMonitoramentoLink) {
66      this.exibeMonitoramentoLink = exibeMonitoramentoLink;
67    }
68  
69    @Column(name = "ordem_link", length = 4)
70    public Integer getOrdemLink() {
71      return this.ordemLink;
72    }
73  
74    public void setOrdemLink(Integer ordemLink) {
75      this.ordemLink = ordemLink;
76    }
77  
78    @Column(name = "nome_link", length = 40)
79    public String getNomeLink() {
80      return this.nomeLink;
81    }
82  
83    public void setNomeLink(String nomeLink) {
84      this.nomeLink = nomeLink;
85    }
86  
87    @Column(name = "url_link", length = 100)
88    public String getUrlLink() {
89      return this.urlLink;
90    }
91  
92    public void setUrlLink(String urlLink) {
93      this.urlLink = urlLink;
94    }
95  
96    @Column(name = "icone_link", length = 100)
97    public String getIconeLink() {
98      return this.iconeLink;
99    }
100 
101   public void setIconeLink(String iconeLink) {
102     this.iconeLink = iconeLink;
103   }
104 
105 }