[PORTAL-16 PORTAL-18] Widget ms; staging
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / domain / WidgetCatalog.java
index 605a41d..5481a22 100644 (file)
-/*-\r
- * ================================================================================\r
- * ECOMP Portal\r
- * ================================================================================\r
- * Copyright (C) 2017 AT&T Intellectual Property\r
- * ================================================================================\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- * \r
- *      http://www.apache.org/licenses/LICENSE-2.0\r
- * \r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- * ================================================================================\r
- */\r
-package org.openecomp.portalapp.portal.domain;\r
-\r
-import java.io.Serializable;\r
-import java.util.Set;\r
-\r
-public class WidgetCatalog implements Serializable{\r
-\r
-       private static final long serialVersionUID = 1L;\r
-\r
-       private long id;\r
-       \r
-       private String name;\r
-       \r
-       private String desc;\r
-       \r
-       private String fileLocation;\r
-       \r
-       private String allowAllUser;\r
-       \r
-       private Long serviceId;\r
-       \r
-       private String sortOrder;\r
-\r
-       private String statusCode;\r
-       \r
-       private Set<RoleApp> widgetRoles;\r
-       \r
-       public long getId() {\r
-               return id;\r
-       }\r
-       public void setId(long id) {\r
-               this.id = id;\r
-       }\r
-       public String getName() {\r
-               return name;\r
-       }\r
-       public void setName(String name) {\r
-               this.name = name;\r
-       }\r
-       \r
-       public Long getServiceId() {\r
-               return serviceId;\r
-       }\r
-       public void setServiceId(Long serviceId) {\r
-               this.serviceId = serviceId;\r
-       }\r
-       public String getDesc() {\r
-               return desc;\r
-       }\r
-       public void setDesc(String desc) {\r
-               this.desc = desc;\r
-       }\r
-       public String getFileLocation() {\r
-               return fileLocation;\r
-       }\r
-       public void setFileLocation(String fileLocation) {\r
-               this.fileLocation = fileLocation;\r
-       }\r
-       \r
-       public String getAllowAllUser() {\r
-               return allowAllUser;\r
-       }\r
-       public void setAllowAllUser(String allowAllUser) {\r
-               this.allowAllUser = allowAllUser;\r
-       }\r
-       public Set<RoleApp> getWidgetRoles() {\r
-               return widgetRoles;\r
-       }\r
-       public void setWidgetRoles(Set<RoleApp> widgetRoles) {\r
-               this.widgetRoles = widgetRoles;\r
-       }\r
-       \r
-       public String getSortOrder() {\r
-               return sortOrder;\r
-       }\r
-       public void setSortOrder(String sortOrder) {\r
-               this.sortOrder = sortOrder;\r
-       }\r
-       public String getStatusCode() {\r
-               return statusCode;\r
-       }\r
-       public void setStatusCode(String statusCode) {\r
-               this.statusCode = statusCode;\r
-       }\r
-       @Override\r
-       public String toString() {\r
-               return "WidgetCatalog [id=" + id + ", name=" + name + ", desc=" + desc + ", fileLocation=" + fileLocation\r
-                               + ", allowAllUser=" + allowAllUser + "]";\r
-       }\r
-}\r
+/*-
+ * ================================================================================
+ * ECOMP Portal
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ================================================================================
+ */
+package org.openecomp.portalapp.portal.domain;
+
+import java.io.Serializable;
+import java.util.Set;
+
+public class WidgetCatalog implements Serializable{
+
+       private static final long serialVersionUID = 1L;
+
+       private long id;
+       
+       private String name;
+       
+       private String desc;
+       
+       private String fileLocation;
+       
+       private String allowAllUser;
+       
+       private Long serviceId;
+       
+       private String sortOrder;
+
+       private String statusCode;
+       
+       private Set<RoleApp> widgetRoles;
+       
+       public long getId() {
+               return id;
+       }
+       public void setId(long id) {
+               this.id = id;
+       }
+       public String getName() {
+               return name;
+       }
+       public void setName(String name) {
+               this.name = name;
+       }
+       
+       public Long getServiceId() {
+               return serviceId;
+       }
+       public void setServiceId(Long serviceId) {
+               this.serviceId = serviceId;
+       }
+       public String getDesc() {
+               return desc;
+       }
+       public void setDesc(String desc) {
+               this.desc = desc;
+       }
+       public String getFileLocation() {
+               return fileLocation;
+       }
+       public void setFileLocation(String fileLocation) {
+               this.fileLocation = fileLocation;
+       }
+       
+       public String getAllowAllUser() {
+               return allowAllUser;
+       }
+       public void setAllowAllUser(String allowAllUser) {
+               this.allowAllUser = allowAllUser;
+       }
+       public Set<RoleApp> getWidgetRoles() {
+               return widgetRoles;
+       }
+       public void setWidgetRoles(Set<RoleApp> widgetRoles) {
+               this.widgetRoles = widgetRoles;
+       }
+       
+       public String getSortOrder() {
+               return sortOrder;
+       }
+       public void setSortOrder(String sortOrder) {
+               this.sortOrder = sortOrder;
+       }
+       public String getStatusCode() {
+               return statusCode;
+       }
+       public void setStatusCode(String statusCode) {
+               this.statusCode = statusCode;
+       }
+       @Override
+       public String toString() {
+               return "WidgetCatalog [id=" + id + ", name=" + name + ", desc=" + desc + ", fileLocation=" + fileLocation
+                               + ", allowAllUser=" + allowAllUser + "]";
+       }
+}