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.ecomp.model;
23 import javax.persistence.Entity;
24 import javax.persistence.Id;
26 import org.openecomp.portalsdk.core.domain.support.DomainVo;
27 import com.fasterxml.jackson.annotation.JsonInclude;
30 * This model of an application catalog entry has some EPApp fields plus
31 * additional fields to indicate access(ible) and select(ed) statuses.
34 @JsonInclude(JsonInclude.Include.NON_NULL)
35 public class AppCatalogItem extends DomainVo {
37 private static final long serialVersionUID = 6619663784935017846L;
42 private String imageUrl;
43 private String description;
46 private String alternateUrl;
47 private Boolean restricted;
49 private Boolean access;
50 private Boolean select;
51 private Boolean pending;
57 public void setId(Long 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 Boolean getRestricted() {
113 public void setRestricted(Boolean restricted) {
114 this.restricted = restricted;
117 public Boolean getOpen() {
121 public void setOpen(Boolean open) {
125 public Boolean getAccess() {
129 public void setAccess(Boolean access) {
130 this.access = access;
133 public Boolean getSelect() {
137 public void setSelect(Boolean select) {
138 this.select = select;
141 public Boolean getPending() {
145 public void setPending(Boolean pending) {
146 this.pending = pending;
149 public static long getSerialversionuid() {
150 return serialVersionUID;
154 public String toString() {
155 return "AppCatalogItem [id=" + id + ", name=" + name + ", access=" + access + ", select=" + select
156 + ", pending=" + pending + "]";