Aharoni, Pavel (pa0916) | ca3cb01 | 2018-10-22 15:29:57 +0300 | [diff] [blame] | 1 | /*-
|
| 2 | * ============LICENSE_START=======================================================
|
| 3 | * OSAM
|
| 4 | * ================================================================================
|
| 5 | * Copyright (C) 2018 AT&T
|
| 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
|
| 10 | *
|
| 11 | * http://www.apache.org/licenses/LICENSE-2.0
|
| 12 | *
|
| 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 | * ============LICENSE_END=========================================================
|
| 19 | */
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 | package org.onap.osam.aai.model;
|
| 24 |
|
| 25 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
| 26 | import com.fasterxml.jackson.annotation.JsonProperty;
|
| 27 |
|
| 28 | import java.util.List;
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 | @JsonIgnoreProperties(ignoreUnknown = true)
|
| 33 | public class Relationship {
|
| 34 |
|
| 35 | @JsonProperty("related-to")
|
| 36 | public String relatedTo;
|
| 37 |
|
| 38 | @JsonProperty("related-link")
|
| 39 | public String relatedLink;
|
| 40 |
|
| 41 | @JsonProperty("relationship-label")
|
| 42 | public String relationshipLabel;
|
| 43 |
|
| 44 | @JsonProperty("relationship-data")
|
| 45 | public List<RelationshipData> relationshipData;
|
| 46 |
|
| 47 | @JsonProperty("related-to-property")
|
| 48 | public List<RelatedToProperty> relatedToProperty;
|
| 49 |
|
| 50 |
|
| 51 | public String getRelatedTo() {
|
| 52 | return relatedTo;
|
| 53 | }
|
| 54 |
|
| 55 | public void setRelatedTo(String relatedTo) {
|
| 56 | this.relatedTo = relatedTo;
|
| 57 | }
|
| 58 |
|
| 59 | public String getRelatedLink() {
|
| 60 | return relatedLink;
|
| 61 | }
|
| 62 |
|
| 63 | public void setRelatedLink(String relatedLink) {
|
| 64 | this.relatedLink = relatedLink;
|
| 65 | }
|
| 66 |
|
| 67 | public List<RelationshipData> getRelationDataList() {
|
| 68 | return relationshipData;
|
| 69 | }
|
| 70 |
|
| 71 | public void setRelationDataList(List<RelationshipData> relationDataList) {
|
| 72 | this.relationshipData = relationDataList;
|
| 73 | }
|
| 74 |
|
| 75 | public List<RelatedToProperty> getRelatedToPropertyList() {
|
| 76 | return relatedToProperty;
|
| 77 | }
|
| 78 |
|
| 79 | public void setRelatedToPropertyList(List<RelatedToProperty> relatedToPropertyList) {
|
| 80 | this.relatedToProperty = relatedToPropertyList;
|
| 81 | }
|
| 82 |
|
| 83 | public String getRelationshipLabel() {
|
| 84 | return relationshipLabel;
|
| 85 | }
|
| 86 |
|
| 87 | public void setRelationshipLabel(String relationshipLabel) {
|
| 88 | this.relationshipLabel = relationshipLabel;
|
| 89 | }
|
| 90 | }
|