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 Summary
Constructors Constructor Description MetadatumDTO()An empty MetadatumDTO constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetElement()Retrieve the element set to this MetadatumDTO.StringgetQualifier()Retrieve the qualifier set to this MetadatumDTO.StringgetSchema()Retrieve the schema set to this MetadatumDTO.StringgetValue()Retrieve the value set to this MetadatumDTO.voidsetElement(String element)Set the element to this MetadatumDTOvoidsetQualifier(String qualifier)Set the qualifier to this MetadatumDTOvoidsetSchema(String schema)Set the schema to this MetadatumDTOvoidsetValue(String value)Set the MetadatumDTO to this value.
-
-
-
Method Detail
-
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
-
-