1 package org.onap.vid.aai.model;
3 import org.codehaus.jackson.annotate.JsonAnyGetter;
4 import org.codehaus.jackson.annotate.JsonAnySetter;
5 import org.codehaus.jackson.annotate.JsonIgnore;
6 import org.codehaus.jackson.annotate.JsonProperty;
8 import java.util.HashMap;
12 public class SimpleResult {
15 @JsonProperty("node-type")
16 private String nodeType;
19 @JsonProperty("properties")
20 private Properties properties;
21 @JsonProperty("related-to")
22 private List<RelatedTo> relatedTo = null;
24 private Map<String, Object> additionalProperties = new HashMap<String, Object>();
27 public String getId() {
32 public void setId(String id) {
36 @JsonProperty("node-type")
37 public String getNodeType() {
41 @JsonProperty("node-type")
42 public void setNodeType(String nodeType) {
43 this.nodeType = nodeType;
47 public String getUrl() {
52 public void setUrl(String url) {
56 @JsonProperty("properties")
57 public Properties getProperties() {
61 @JsonProperty("properties")
62 public void setProperties(Properties properties) {
63 this.properties = properties;
66 @JsonProperty("related-to")
67 public List<RelatedTo> getRelatedTo() {
71 @JsonProperty("related-to")
72 public void setRelatedTo(List<RelatedTo> relatedTo) {
73 this.relatedTo = relatedTo;
77 public Map<String, Object> getAdditionalProperties() {
78 return this.additionalProperties;
82 public void setAdditionalProperty(String name, Object value) {
83 this.additionalProperties.put(name, value);