2 * ================================================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ================================================================================
20 package org.openecomp.portalapp.portal.domain;
22 import java.io.Serializable;
25 public class WidgetCatalog implements Serializable{
27 private static final long serialVersionUID = 1L;
35 private String fileLocation;
37 private String allowAllUser;
39 private Long serviceId;
41 private String sortOrder;
43 private String statusCode;
45 private Set<RoleApp> widgetRoles;
50 public void setId(long id) {
53 public String getName() {
56 public void setName(String name) {
60 public Long getServiceId() {
63 public void setServiceId(Long serviceId) {
64 this.serviceId = serviceId;
66 public String getDesc() {
69 public void setDesc(String desc) {
72 public String getFileLocation() {
75 public void setFileLocation(String fileLocation) {
76 this.fileLocation = fileLocation;
79 public String getAllowAllUser() {
82 public void setAllowAllUser(String allowAllUser) {
83 this.allowAllUser = allowAllUser;
85 public Set<RoleApp> getWidgetRoles() {
88 public void setWidgetRoles(Set<RoleApp> widgetRoles) {
89 this.widgetRoles = widgetRoles;
92 public String getSortOrder() {
95 public void setSortOrder(String sortOrder) {
96 this.sortOrder = sortOrder;
98 public String getStatusCode() {
101 public void setStatusCode(String statusCode) {
102 this.statusCode = statusCode;
105 public String toString() {
106 return "WidgetCatalog [id=" + id + ", name=" + name + ", desc=" + desc + ", fileLocation=" + fileLocation
107 + ", allowAllUser=" + allowAllUser + "]";