2 * * Copyright 2019-2020 Fujitsu.
4 * * Licensed under the Apache License, Version 2.0 (the "License");
5 * * you may not use this file except in compliance with the License.
6 * * You may obtain a copy of the License at
8 * * http://www.apache.org/licenses/LICENSE-2.0
10 * * Unless required by applicable law or agreed to in writing, software
11 * * distributed under the License is distributed on an "AS IS" BASIS,
12 * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * * See the License for the specific language governing permissions and
14 * * limitations under the License.
17 package org.onap.usecaseui.server.service.lcm.domain.aai.bean;
19 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
20 import com.fasterxml.jackson.annotation.JsonProperty;
22 @JsonIgnoreProperties(ignoreUnknown = true)
23 public class Relationship {
25 private String relatedTo;
27 private RelationshipData[] relationshipData;
29 private String relatedLink;
31 private String relationshipLabel;
33 @JsonProperty("related-to")
34 public String getRelatedTo() {
38 public void setRelatedTo(String relatedTo) {
39 this.relatedTo = relatedTo;
42 @JsonProperty("relationship-data")
43 public RelationshipData[] getRelationshipData() {
44 return relationshipData;
47 public void setRelationshipData(RelationshipData[] relationshipData) {
48 this.relationshipData = relationshipData;
51 @JsonProperty("related-link")
52 public String getRelatedLink() {
56 public void setRelatedLink(String relatedLink) {
57 this.relatedLink = relatedLink;
60 @JsonProperty("relationship-label")
61 public String getRelationshipLabel() {
62 return relationshipLabel;
65 public void setRelationshipLabel(String relationshipLabel) {
66 this.relationshipLabel = relationshipLabel;