diff options
author | grabinsk <maciej.grabinski@nokia.com> | 2019-04-05 13:34:14 +0200 |
---|---|---|
committer | Maciej Grabinski <maciej.grabinski@nokia.com> | 2019-04-05 13:23:14 +0000 |
commit | f34a9a055140573c759df8e34e3121d4956668da (patch) | |
tree | 72c2662c069f54ea2254ba018373a5fadebcd1b0 /prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/RelationshipDict.java | |
parent | 2abfecad9aeb88ba95d62d718376535fb6e00325 (diff) |
Remove unused code from autogenerated AAI model objects
Hand written pojos will have to be replaced with autogenerated ones
Change-Id: I5d6fd37e8ce56ab1e0cda3d1b308ce51c5e0ebd1
Issue-ID: DCAEGEN2-1391
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
Diffstat (limited to 'prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/RelationshipDict.java')
-rw-r--r-- | prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/RelationshipDict.java | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/RelationshipDict.java b/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/RelationshipDict.java index 5db99dc7..0a7a9459 100644 --- a/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/RelationshipDict.java +++ b/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/RelationshipDict.java @@ -24,7 +24,6 @@ import com.google.gson.annotations.SerializedName; import java.util.ArrayList; import java.util.List; -import java.util.Objects; /** * RelationshipDict @@ -42,11 +41,6 @@ public class RelationshipDict { @SerializedName("relationship-data") private List<RelationshipData> relationshipData = null; - public RelationshipDict relatedTo(String relatedTo) { - this.relatedTo = relatedTo; - return this; - } - /** * A keyword provided by A&AI to indicate type of node. * @@ -60,11 +54,6 @@ public class RelationshipDict { this.relatedTo = relatedTo; } - public RelationshipDict relationshipLabel(String relationshipLabel) { - this.relationshipLabel = relationshipLabel; - return this; - } - /** * The edge label for this relationship. * @@ -78,11 +67,6 @@ public class RelationshipDict { this.relationshipLabel = relationshipLabel; } - public RelationshipDict relatedLink(String relatedLink) { - this.relatedLink = relatedLink; - return this; - } - /** * URL to the object in A&AI. * @@ -96,11 +80,6 @@ public class RelationshipDict { this.relatedLink = relatedLink; } - public RelationshipDict relationshipData(List<RelationshipData> relationshipData) { - this.relationshipData = relationshipData; - return this; - } - public RelationshipDict addRelationshipDataItem(RelationshipData relationshipDataItem) { if (this.relationshipData == null) { this.relationshipData = new ArrayList<RelationshipData>(); @@ -124,27 +103,6 @@ public class RelationshipDict { @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RelationshipDict relationshipDict = (RelationshipDict) o; - return Objects.equals(this.relatedTo, relationshipDict.relatedTo) && - Objects.equals(this.relationshipLabel, relationshipDict.relationshipLabel) && - Objects.equals(this.relatedLink, relationshipDict.relatedLink) && - Objects.equals(this.relationshipData, relationshipDict.relationshipData); - } - - @Override - public int hashCode() { - return Objects.hash(relatedTo, relationshipLabel, relatedLink, relationshipData); - } - - - @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RelationshipDict {\n"); |