30be68897fc3e5258346e4bcf1013474fc8740ae
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / domain / EcompApp.java
1 /*-
2  * ============LICENSE_START==========================================
3  * ONAP Portal
4  * ===================================================================
5  * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6  * ===================================================================
7  *
8  * Unless otherwise specified, all software contained herein is licensed
9  * under the Apache License, Version 2.0 (the “License”);
10  * you may not use this software except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *             http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  *
21  * Unless otherwise specified, all documentation contained herein is licensed
22  * under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
23  * you may not use this documentation except in compliance with the License.
24  * You may obtain a copy of the License at
25  *
26  *             https://creativecommons.org/licenses/by/4.0/
27  *
28  * Unless required by applicable law or agreed to in writing, documentation
29  * distributed under the License is distributed on an "AS IS" BASIS,
30  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31  * See the License for the specific language governing permissions and
32  * limitations under the License.
33  *
34  * ============LICENSE_END============================================
35  *
36  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
37  */
38 package org.openecomp.portalapp.portal.domain;
39
40 /**
41  * Model for a subset of the columns in the fn_app table.
42  */
43 public class EcompApp {
44         
45         protected Long id;
46
47         public Long getId() {
48                 return id;
49         }
50         
51         public void setId(Long id) {
52                 this.id = id;
53         }
54         
55     private String name;
56
57         public String getName() {
58                 return name;
59         }
60
61         public void setName(String name) {
62                 this.name = name;
63         }
64         
65         private String imageUrl;
66
67         public String getImageUrl() {
68                 return imageUrl;
69         }
70
71         public void setImageUrl(String imageUrl) {
72                 this.imageUrl = imageUrl;
73         }
74         
75         private String description;
76
77         public String getDescription() {
78                 return description;
79         }
80
81         public void setDescription(String description) {
82                 this.description = description;
83         }
84         
85         private String notes;
86
87         public String getNotes() {
88                 return notes;
89         }
90
91         public void setNotes(String notes) {
92                 this.notes = notes;
93         }       
94
95         private String url;
96
97         public String getUrl() {
98                 return url;
99         }
100
101         public void setUrl(String url) {
102                 this.url = url;
103         }
104
105         private String alternateUrl;
106
107         public String getAlternateUrl() {
108                 return alternateUrl;
109         }
110
111         public void setAlternateUrl(String alternateUrl) {
112                 this.alternateUrl = alternateUrl;
113         }
114         
115         private String uebTopicName;
116         
117         public String getUebTopicName() {
118                 return uebTopicName;
119         }
120         
121         public void setUebTopicName(String topicName) {
122                 this.uebTopicName = topicName;
123         }
124         
125         private String uebKey;
126         
127         public String getUebKey() {
128                 return uebKey;
129         }
130         
131         public void setUebKey(String uebKey) {
132                 this.uebKey = uebKey;
133         }
134         
135         private String uebSecret;
136         
137         public String getUebSecret() {
138                 return uebSecret;
139         }
140         
141         public void setUebSecret(String secret) {
142                 this.uebSecret = secret;
143         }
144         
145         private Boolean enabled;
146         
147         public Boolean isEnabled() {
148                 return enabled;
149         }
150         
151         public void setEnabled(Boolean enable) {
152                 this.enabled = enable;
153         }
154
155         private Boolean restrictedApp;
156         
157         public Boolean isRestrictedApp() {
158                 return restrictedApp;
159         }
160         
161         public void setRestrictedApp(Boolean restrictedApp) {
162                 this.restrictedApp = restrictedApp;
163         }
164
165         private Boolean centralAuth;
166
167         public Boolean getCentralAuth() {
168                 return centralAuth;
169         }
170
171         public void setCentralAuth(Boolean centralAuth) {
172                 this.centralAuth = centralAuth;
173         }
174
175         private String nameSpace;
176         
177         public String getNameSpace() {
178                 return nameSpace;
179         }
180
181         public void setNameSpace(String nameSpace) {
182                 this.nameSpace = nameSpace;
183         }
184
185         
186 }