Merge from ecomp 718fd196 - Ext. Services Simulator
[vid.git] / vid-ext-services-simulator / src / main / java / org / onap / simulator / db / entities / App.java
1 package org.onap.simulator.db.entities;
2
3 import org.hibernate.annotations.Type;
4
5 import javax.persistence.Column;
6 import javax.persistence.Entity;
7 import javax.persistence.Id;
8
9 @Entity(name = "fn_app")
10 public class App {
11     @Id
12     @Column(name = "app_id")
13     protected Integer id;
14     @Column(name = "app_name")
15     private String name; // app_name
16     @Column(name = "app_image_url")
17     private String imageUrl; // app_image_url
18     @Column(name = "app_description")
19     private String description; // app_description
20     @Column(name = "app_notes")
21     private String notes; // app_notes
22     @Column(name = "app_url")
23     private String url; // app_url
24     @Column(name = "app_alternate_url")
25     private String alternateUrl; // app_alternate_url
26     @Column(name = "app_rest_endpoint")
27     private String restEndpoint; // app_rest_endpoint
28     @Column(name = "ml_app_name")
29     private String mlAppName; // ml_app_name
30     @Column(name = "ml_app_admin_id")
31     private String mlAppAdminId; // ml_app_admin_id
32     @Column(name = "mots_id")
33     private Integer motsId; // mots_id
34     @Column(name = "app_password")
35     private String appPassword; // app_password
36     @Column(columnDefinition = "varchar")
37     @Type(type="yes_no")
38     private Boolean open;
39     @Column(columnDefinition = "varchar")
40     @Type(type="yes_no")
41     private Boolean enabled;
42     @Column(columnDefinition="mediumblob")
43     private byte[] thumbnail;
44     @Column(name = "app_username")
45     private String username; // app_username
46     @Column(name = "ueb_key")
47     private String uebKey; // ueb_key
48     @Column(name = "ueb_secret")
49     private String uebSecret; // ueb_secret
50     @Column(name = "ueb_topic_name")
51     private String uebTopicName; // ueb_topic_name
52
53
54     public Integer getId() {
55         return id;
56     }
57
58     public void setId(Integer id) {
59         this.id = id;
60     }
61
62     public String getName() {
63         return name;
64     }
65
66     public void setName(String name) {
67         this.name = name;
68     }
69
70     public String getImageUrl() {
71         return imageUrl;
72     }
73
74     public void setImageUrl(String imageUrl) {
75         this.imageUrl = imageUrl;
76     }
77
78     public String getDescription() {
79         return description;
80     }
81
82     public void setDescription(String description) {
83         this.description = description;
84     }
85
86     public String getNotes() {
87         return notes;
88     }
89
90     public void setNotes(String notes) {
91         this.notes = notes;
92     }
93
94     public String getUrl() {
95         return url;
96     }
97
98     public void setUrl(String url) {
99         this.url = url;
100     }
101
102     public String getAlternateUrl() {
103         return alternateUrl;
104     }
105
106     public void setAlternateUrl(String alternateUrl) {
107         this.alternateUrl = alternateUrl;
108     }
109
110     public String getRestEndpoint() {
111         return restEndpoint;
112     }
113
114     public void setRestEndpoint(String restEndpoint) {
115         this.restEndpoint = restEndpoint;
116     }
117
118     public String getMlAppName() {
119         return mlAppName;
120     }
121
122     public void setMlAppName(String mlAppName) {
123         this.mlAppName = mlAppName;
124     }
125
126     public String getMlAppAdminId() {
127         return mlAppAdminId;
128     }
129
130     public void setMlAppAdminId(String mlAppAdminId) {
131         this.mlAppAdminId = mlAppAdminId;
132     }
133
134     public Integer getMotsId() {
135         return motsId;
136     }
137
138     public void setMotsId(Integer motsId) {
139         this.motsId = motsId;
140     }
141
142     public String getAppPassword() {
143         return appPassword;
144     }
145
146     public void setAppPassword(String appPassword) {
147         this.appPassword = appPassword;
148     }
149
150     public Boolean getOpen() {
151         return open;
152     }
153
154     public void setOpen(Boolean open) {
155         this.open = open;
156     }
157
158     public Boolean getEnabled() {
159         return enabled;
160     }
161
162     public void setEnabled(Boolean enabled) {
163         this.enabled = enabled;
164     }
165
166     public byte[] getThumbnail() {
167         return thumbnail;
168     }
169
170     public void setThumbnail(byte[] thumbnail) {
171         this.thumbnail = thumbnail;
172     }
173
174     public String getUsername() {
175         return username;
176     }
177
178     public void setUsername(String username) {
179         this.username = username;
180     }
181
182     public String getUebKey() {
183         return uebKey;
184     }
185
186     public void setUebKey(String uebKey) {
187         this.uebKey = uebKey;
188     }
189
190     public String getUebSecret() {
191         return uebSecret;
192     }
193
194     public void setUebSecret(String uebSecret) {
195         this.uebSecret = uebSecret;
196     }
197
198     public String getUebTopicName() {
199         return uebTopicName;
200     }
201
202     public void setUebTopicName(String uebTopicName) {
203         this.uebTopicName = uebTopicName;
204     }
205 }