þChanges for MDONS usecase
[usecase-ui/server.git] / server / src / main / java / org / onap / usecaseui / server / service / lcm / domain / aai / bean / Relationship.java
1 /**
2  *  * Copyright 2019-2020 Fujitsu.
3  *   *
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
7  *       *
8  *        *     http://www.apache.org/licenses/LICENSE-2.0
9  *         *
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.
15  *               */
16
17 package org.onap.usecaseui.server.service.lcm.domain.aai.bean;
18
19 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
20 import com.fasterxml.jackson.annotation.JsonProperty;
21
22 @JsonIgnoreProperties(ignoreUnknown = true)
23 public class Relationship {
24
25         private String relatedTo;
26
27         private RelationshipData[] relationshipData;
28
29         private String relatedLink;
30
31         private String relationshipLabel;
32
33         @JsonProperty("related-to")
34         public String getRelatedTo() {
35                 return relatedTo;
36         }
37
38         public void setRelatedTo(String relatedTo) {
39                 this.relatedTo = relatedTo;
40         }
41
42         @JsonProperty("relationship-data")
43         public RelationshipData[] getRelationshipData() {
44                 return relationshipData;
45         }
46
47         public void setRelationshipData(RelationshipData[] relationshipData) {
48                 this.relationshipData = relationshipData;
49         }
50
51         @JsonProperty("related-link")
52         public String getRelatedLink() {
53                 return relatedLink;
54         }
55
56         public void setRelatedLink(String relatedLink) {
57                 this.relatedLink = relatedLink;
58         }
59
60         @JsonProperty("relationship-label")
61         public String getRelationshipLabel() {
62                 return relationshipLabel;
63         }
64
65         public void setRelationshipLabel(String relationshipLabel) {
66                 this.relationshipLabel = relationshipLabel;
67         }
68
69 }