Class Distribution

java.lang.Object
org.damap.base.rest.madmp.dto.Distribution

@Generated("jsonschema2pojo") public class Distribution extends Object
The Dataset Distribution Items Schema

  • Constructor Details

    • Distribution

      public Distribution()
  • Method Details

    • getAccessUrl

      public String getAccessUrl()
      The Dataset Distribution Access URL Schema

      A URL of the resource that gives access to a distribution of the dataset. e.g. landing page.

    • setAccessUrl

      public void setAccessUrl(String accessUrl)
      The Dataset Distribution Access URL Schema

      A URL of the resource that gives access to a distribution of the dataset. e.g. landing page.

    • getAvailableUntil

      public String getAvailableUntil()
      The Dataset Distribution Available Until Schema

      Indicates how long this distribution will be/ should be available. Encoded using the relevant ISO 8601 Date and Time compliant string.

    • setAvailableUntil

      public void setAvailableUntil(String availableUntil)
      The Dataset Distribution Available Until Schema

      Indicates how long this distribution will be/ should be available. Encoded using the relevant ISO 8601 Date and Time compliant string.

    • getByteSize

      public Integer getByteSize()
      The Dataset Distribution Byte Size Schema

      Size in bytes.

    • setByteSize

      public void setByteSize(Integer byteSize)
      The Dataset Distribution Byte Size Schema

      Size in bytes.

    • getDataAccess

      public Distribution.DataAccess getDataAccess()
      The Dataset Distribution Data Access Schema

      Indicates access mode for data. Allowed values: open, shared, closed (Required)

    • setDataAccess

      public void setDataAccess(Distribution.DataAccess dataAccess)
      The Dataset Distribution Data Access Schema

      Indicates access mode for data. Allowed values: open, shared, closed (Required)

    • getDescription

      public String getDescription()
      The Dataset Distribution Description Schema

      Description is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file.

    • setDescription

      public void setDescription(String description)
      The Dataset Distribution Description Schema

      Description is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file.

    • getDownloadUrl

      public URI getDownloadUrl()
      The Dataset Distribution Download URL Schema

      The URL of the downloadable file in a given format. E.g. CSV file or RDF file.

    • setDownloadUrl

      public void setDownloadUrl(URI downloadUrl)
      The Dataset Distribution Download URL Schema

      The URL of the downloadable file in a given format. E.g. CSV file or RDF file.

    • getFormat

      public List<String> getFormat()
      The Dataset Distribution Format Schema

      Format according to: https://www.iana.org/assignments/media-types/media-types.xhtml if appropriate, otherwise use the common name for this format.

    • setFormat

      public void setFormat(List<String> format)
      The Dataset Distribution Format Schema

      Format according to: https://www.iana.org/assignments/media-types/media-types.xhtml if appropriate, otherwise use the common name for this format.

    • getHost

      public Host getHost()
      The Dataset Distribution Host Schema

      To provide information on quality of service provided by infrastructure (e.g. repository) where data is stored.

    • setHost

      public void setHost(Host host)
      The Dataset Distribution Host Schema

      To provide information on quality of service provided by infrastructure (e.g. repository) where data is stored.

    • getLicense

      public List<License> getLicense()
      The Dataset Distribution License(s) Schema

      To list all licenses applied to a specific distribution of data.

    • setLicense

      public void setLicense(List<License> license)
      The Dataset Distribution License(s) Schema

      To list all licenses applied to a specific distribution of data.

    • getTitle

      public String getTitle()
      The Dataset Distribution Title Schema

      Title is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file. (Required)

    • setTitle

      public void setTitle(String title)
      The Dataset Distribution Title Schema

      Title is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file. (Required)

    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • setAdditionalProperty

      public void setAdditionalProperty(String name, Object value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object