2 * ================================================================================
\r
4 * ================================================================================
\r
5 * Copyright (C) 2017 AT&T Intellectual Property
\r
6 * ================================================================================
\r
7 * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 * you may not use this file except in compliance with the License.
\r
9 * You may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * Unless required by applicable law or agreed to in writing, software
\r
14 * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 * See the License for the specific language governing permissions and
\r
17 * limitations under the License.
\r
18 * ================================================================================
\r
20 package org.openecomp.portalapp.portal.ecomp.model;
\r
22 import javax.persistence.Entity;
\r
23 import javax.persistence.Id;
\r
25 import org.openecomp.portalsdk.core.domain.support.DomainVo;
\r
26 import com.fasterxml.jackson.annotation.JsonInclude;
\r
27 import com.fasterxml.jackson.annotation.JsonProperty;
\r
30 @JsonInclude(JsonInclude.Include.NON_NULL)
\r
31 public class SearchResultItem extends DomainVo{
\r
34 private String rowId;
\r
36 @JsonProperty("category")
\r
37 private String category;
\r
39 @JsonProperty("name")
\r
40 private String name;
\r
42 @JsonProperty("target")
\r
43 private String target;
\r
45 @JsonProperty("uuid")
\r
46 private String uuid;
\r
48 public String getUuid() {
\r
51 public void setUuid(String uuid) {
\r
54 public String getRowId() {
\r
57 public void setRowId(String rowId) {
\r
60 public String getCategory() {
\r
63 public void setCategory(String category) {
\r
64 this.category = category;
\r
66 public String getName() {
\r
69 public void setName(String name) {
\r
73 public String getTarget() {
\r
76 public void setTarget(String target) {
\r
77 this.target = target;
\r
80 public String toString() {
\r
81 return "SearchResultItem [rowId=" + rowId + ", category=" + category + ", name=" + name + ", target=" + target
\r
82 + ", uuid=" + uuid + "]";
\r