1 package gboat2.cxf.model; 2 3 import javax.persistence.Column; 4 import javax.persistence.Entity; 5 import javax.persistence.GeneratedValue; 6 import javax.persistence.Id; 7 import javax.persistence.Table; 8 9 import org.hibernate.annotations.GenericGenerator; 10 11 @Entity 12 @Table(name = "G2_T_WEB_SERVICE_CONFIG_PARAM") 13 public class WebServiceConfigParam { 14 15 private String paramId; 16 17 private String paramKey; 18 19 private String paramValue; 20 21 private String paramComment; 22 23 private String paramType; 24 25 @Id 26 @GenericGenerator(name = "generator", strategy = "uuid.hex") 27 @GeneratedValue(generator = "generator") 28 @Column(name = "PARAM_ID", length = 40) 29 public String getParamId() { 30 return this.paramId; 31 } 32 33 public void setParamId(String paramId) { 34 this.paramId = paramId; 35 } 36 37 @Column(name = "PARAM_KEY", length = 100) 38 public String getParamKey() { 39 return this.paramKey; 40 } 41 42 public void setParamKey(String paramKey) { 43 this.paramKey = paramKey; 44 } 45 46 @Column(name = "PARAM_VALUE", length = 100) 47 public String getParamValue() { 48 return this.paramValue; 49 } 50 51 public void setParamValue(String paramValue) { 52 this.paramValue = paramValue; 53 } 54 55 @Column(name = "PARAM_COMMENT", length = 300) 56 public String getParamComment() { 57 return this.paramComment; 58 } 59 60 public void setParamComment(String paramComment) { 61 this.paramComment = paramComment; 62 } 63 64 @Column(name = "PARAM_TYPE", length = 100) 65 public String getParamType() { 66 return this.paramType; 67 } 68 69 public void setParamType(String paramType) { 70 this.paramType = paramType; 71 } 72 }