net.anwiba.spatial.ckan.json.schema.v1_0.Relationship Maven / Gradle / Ivy
//Copyright (c) 2017 by Andreas W. Bartels
package net.anwiba.spatial.ckan.json.schema.v1_0;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Relationship {
private String subject = null;
private String object = null;
private String type = null;
private String comment = null;
@JsonProperty("subject")
public void setSubject(final String subject) {
this.subject = subject;
}
@JsonProperty("subject")
public String getSubject() {
return this.subject;
}
@JsonProperty("object")
public void setObject(final String object) {
this.object = object;
}
@JsonProperty("object")
public String getObject() {
return this.object;
}
@JsonProperty("type")
public void setType(final String type) {
this.type = type;
}
@JsonProperty("type")
public String getType() {
return this.type;
}
@JsonProperty("comment")
public void setComment(final String comment) {
this.comment = comment;
}
@JsonProperty("comment")
public String getComment() {
return this.comment;
}
}