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;
26 import com.fasterxml.jackson.annotation.JsonInclude;
27 import com.fasterxml.jackson.annotation.JsonProperty;
30 @JsonInclude(JsonInclude.Include.NON_NULL)
31 public class SearchResultItem extends DomainVo{
36 @JsonProperty("category")
37 private String category;
42 @JsonProperty("target")
43 private String target;
48 public String getUuid() {
51 public void setUuid(String uuid) {
54 public String getRowId() {
57 public void setRowId(String rowId) {
60 public String getCategory() {
63 public void setCategory(String category) {
64 this.category = category;
66 public String getName() {
69 public void setName(String name) {
73 public String getTarget() {
76 public void setTarget(String target) {
80 public String toString() {
81 return "SearchResultItem [rowId=" + rowId + ", category=" + category + ", name=" + name + ", target=" + target
82 + ", uuid=" + uuid + "]";