Class MetadatumDTO

java.lang.Object
org.dspace.importer.external.metadatamapping.MetadatumDTO

public class MetadatumDTO extends Object
This class is used to cary data between processes. Using this class, we have a uniform, generalised single Object type containing the information used by different classes. This Data Transfer Object contains all data for a call pertaining metadata, resulting in the possibility to return a larger quantity of information. As this is a generalised class, we can use this across the external imports implementations
Author:
Philip Vissenaekens (philip at atmire dot com)
  • Constructor Details

    • MetadatumDTO

      public MetadatumDTO()
      An empty MetadatumDTO constructor
  • Method Details

    • getSchema

      public String getSchema()
      Retrieve the schema set to this MetadatumDTO. Returns null of no schema is set
      Returns:
      metadata field schema
    • setSchema

      public void setSchema(String schema)
      Set the schema to this MetadatumDTO
      Parameters:
      schema - metadata field schema
    • getElement

      public String getElement()
      Retrieve the element set to this MetadatumDTO. Returns null of no element is set
      Returns:
      metadata field element
    • setElement

      public void setElement(String element)
      Set the element to this MetadatumDTO
      Parameters:
      element - metadata field element
    • getQualifier

      public String getQualifier()
      Retrieve the qualifier set to this MetadatumDTO. Returns null of no qualifier is set
      Returns:
      metadata field qualifier
    • setQualifier

      public void setQualifier(String qualifier)
      Set the qualifier to this MetadatumDTO
      Parameters:
      qualifier - metadata field qualifier
    • getValue

      public String getValue()
      Retrieve the value set to this MetadatumDTO. Returns null of no value is set
      Returns:
      metadata field value
    • setValue

      public void setValue(String value)
      Set the MetadatumDTO to this value.
      Parameters:
      value - metadata field value