1 package org.onap.simulator.db.entities;
3 import javax.persistence.Column;
4 import javax.persistence.Entity;
5 import javax.persistence.Id;
6 import org.hibernate.annotations.Type;
8 @Entity(name = "fn_app")
11 @Column(name = "app_id")
13 @Column(name = "app_name")
14 private String name; // app_name
15 @Column(name = "app_image_url")
16 private String imageUrl; // app_image_url
17 @Column(name = "app_description")
18 private String description; // app_description
19 @Column(name = "app_notes")
20 private String notes; // app_notes
21 @Column(name = "app_url")
22 private String url; // app_url
23 @Column(name = "app_alternate_url")
24 private String alternateUrl; // app_alternate_url
25 @Column(name = "app_rest_endpoint")
26 private String restEndpoint; // app_rest_endpoint
27 @Column(name = "ml_app_name")
28 private String mlAppName; // ml_app_name
29 @Column(name = "ml_app_admin_id")
30 private String mlAppAdminId; // ml_app_admin_id
31 @Column(name = "mots_id")
32 private Integer motsId; // mots_id
33 @Column(name = "app_password")
34 private String appPassword; // app_password
35 @Column(columnDefinition = "varchar")
38 @Column(columnDefinition = "varchar")
40 private Boolean enabled;
41 @Column(columnDefinition="mediumblob")
42 private byte[] thumbnail;
43 @Column(name = "app_username")
44 private String username; // app_username
45 @Column(name = "ueb_key")
46 private String uebKey; // ueb_key
47 @Column(name = "ueb_secret")
48 private String uebSecret; // ueb_secret
49 @Column(name = "ueb_topic_name")
50 private String uebTopicName; // ueb_topic_name
53 public Integer getId() {
57 public void setId(Integer id) {
61 public String getName() {
65 public void setName(String name) {
69 public String getImageUrl() {
73 public void setImageUrl(String imageUrl) {
74 this.imageUrl = imageUrl;
77 public String getDescription() {
81 public void setDescription(String description) {
82 this.description = description;
85 public String getNotes() {
89 public void setNotes(String notes) {
93 public String getUrl() {
97 public void setUrl(String url) {
101 public String getAlternateUrl() {
105 public void setAlternateUrl(String alternateUrl) {
106 this.alternateUrl = alternateUrl;
109 public String getRestEndpoint() {
113 public void setRestEndpoint(String restEndpoint) {
114 this.restEndpoint = restEndpoint;
117 public String getMlAppName() {
121 public void setMlAppName(String mlAppName) {
122 this.mlAppName = mlAppName;
125 public String getMlAppAdminId() {
129 public void setMlAppAdminId(String mlAppAdminId) {
130 this.mlAppAdminId = mlAppAdminId;
133 public Integer getMotsId() {
137 public void setMotsId(Integer motsId) {
138 this.motsId = motsId;
141 public String getAppPassword() {
145 public void setAppPassword(String appPassword) {
146 this.appPassword = appPassword;
149 public Boolean getOpen() {
153 public void setOpen(Boolean open) {
157 public Boolean getEnabled() {
161 public void setEnabled(Boolean enabled) {
162 this.enabled = enabled;
165 public byte[] getThumbnail() {
169 public void setThumbnail(byte[] thumbnail) {
170 this.thumbnail = thumbnail;
173 public String getUsername() {
177 public void setUsername(String username) {
178 this.username = username;
181 public String getUebKey() {
185 public void setUebKey(String uebKey) {
186 this.uebKey = uebKey;
189 public String getUebSecret() {
193 public void setUebSecret(String uebSecret) {
194 this.uebSecret = uebSecret;
197 public String getUebTopicName() {
201 public void setUebTopicName(String uebTopicName) {
202 this.uebTopicName = uebTopicName;