All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zone.cogni.libs.sparqlservice.impl.GraphBDUploadTtlBody Maven / Gradle / Ivy

package zone.cogni.libs.sparqlservice.impl;

public class GraphBDUploadTtlBody {

  private String name;
  private String context;
  private String data;

  public String getFormat() {
    return "text/turtle";
  }

  public String getName() {
    return name;
  }

  /**
   *
   * @param name name of the file
   */
  public GraphBDUploadTtlBody setName(String name) {
    this.name = name;
    return this;
  }

  public String getContext() {
    return context;
  }

  /**
   *
   * @param context graph uri
   */
  public GraphBDUploadTtlBody setContext(String context) {
    this.context = context;
    return this;
  }

  public String getData() {
    return data;
  }

  /**
   *
   * @param data rdf in ttl format
   */
  public GraphBDUploadTtlBody setData(String data) {
    this.data = data;
    return this;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy