X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=vid-app-common%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fvid%2Faai%2Fmodel%2FAaiGetNetworkCollectionDetails%2FRelationshipData.java;h=f480ef8d0b43bc5c1421e6db9f20aaabd07e08a3;hb=e601bbdc43bae9a08e2e10c5139a6f76b47860d7;hp=cba7f43cbb715f229864e8fbe840e611b77fb8a0;hpb=76c6ee4a697617ec4cdee2f3b48bc83136c858c5;p=vid.git diff --git a/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/RelationshipData.java b/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/RelationshipData.java index cba7f43cb..f480ef8d0 100644 --- a/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/RelationshipData.java +++ b/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/RelationshipData.java @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -24,26 +24,26 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; @JsonIgnoreProperties(ignoreUnknown = true) -public class RelationshipData { +public class RelationshipData extends KeyValueModel { + + @Override @JsonProperty("relationship-key") - public String getRelationshipKey() { - return relationshipKey; + public String getKey() { + return super.getKey(); } + @Override @JsonProperty("relationship-key") - public void setRelationshipKey(String relationshipKey) { - this.relationshipKey = relationshipKey; + public void setKey(String relationshipKey) { + super.setKey(relationshipKey); } + @Override @JsonProperty("relationship-value") - public String getRelationshipValue() { - return relationshipValue; + public String getValue() { + return super.getValue(); } + @Override @JsonProperty("relationship-value") - public void setRelationshipValue(String relationshipValue) { - this.relationshipValue = relationshipValue; + public void setValue(String relationshipValue) { + super.setValue(relationshipValue); } - - public String relationshipKey; - - public String relationshipValue; - }