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;
22 import javax.persistence.Entity;
23 import javax.persistence.Id;
25 import org.openecomp.portalsdk.core.domain.support.DomainVo;
27 import com.fasterxml.jackson.annotation.JsonInclude;
28 import com.fasterxml.jackson.annotation.JsonProperty;
31 @JsonInclude(JsonInclude.Include.NON_NULL)
32 public class SearchResultItem extends DomainVo{
37 private static final long serialVersionUID = 1598343426058929653L;
42 @JsonProperty("category")
43 private String category;
48 @JsonProperty("target")
49 private String target;
54 public String getUuid() {
57 public void setUuid(String uuid) {
60 public String getRowId() {
63 public void setRowId(String rowId) {
66 public String getCategory() {
69 public void setCategory(String category) {
70 this.category = category;
72 public String getName() {
75 public void setName(String name) {
79 public String getTarget() {
82 public void setTarget(String target) {
86 public String toString() {
87 return "SearchResultItem [rowId=" + rowId + ", category=" + category + ", name=" + name + ", target=" + target
88 + ", uuid=" + uuid + "]";