Class MetadatumDTO
java.lang.Object
org.dspace.importer.external.metadatamapping.MetadatumDTO
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 -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the element set to this MetadatumDTO.Retrieve the qualifier set to this MetadatumDTO.Retrieve the schema set to this MetadatumDTO.getValue()Retrieve the value set to this MetadatumDTO.voidsetElement(String element) Set the element to this MetadatumDTOvoidsetQualifier(String qualifier) Set the qualifier to this MetadatumDTOvoidSet the schema to this MetadatumDTOvoidSet the MetadatumDTO to this value.
-
Constructor Details
-
MetadatumDTO
public MetadatumDTO()An empty MetadatumDTO constructor
-
-
Method Details
-
getSchema
Retrieve the schema set to this MetadatumDTO. Returns null of no schema is set- Returns:
- metadata field schema
-
setSchema
Set the schema to this MetadatumDTO- Parameters:
schema- metadata field schema
-
getElement
Retrieve the element set to this MetadatumDTO. Returns null of no element is set- Returns:
- metadata field element
-
setElement
Set the element to this MetadatumDTO- Parameters:
element- metadata field element
-
getQualifier
Retrieve the qualifier set to this MetadatumDTO. Returns null of no qualifier is set- Returns:
- metadata field qualifier
-
setQualifier
Set the qualifier to this MetadatumDTO- Parameters:
qualifier- metadata field qualifier
-
getValue
Retrieve the value set to this MetadatumDTO. Returns null of no value is set- Returns:
- metadata field value
-
setValue
Set the MetadatumDTO to this value.- Parameters:
value- metadata field value
-