Package org.dspace.external.model
Class ExternalDataObject
java.lang.Object
org.dspace.external.model.ExternalDataObject
The representation model object for external data
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorExternalDataObject(String source) Constructor for the ExternalDataObject with as parameter the source of where it came from -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetadata(MetadataValueDTO metadataValueDTO) This method will add a Metadata value to the list of metadata valuesGeneric getter for the display valuegetId()Generic getter for the IDGeneric getter for the MetadataGeneric getter for the sourcegetValue()Generic getter for the valuevoidsetDisplayValue(String displayValue) Generic setter for the display valuevoidGeneric setter for the IDvoidsetMetadata(List<MetadataValueDTO> metadata) Generic setter for the MetadatavoidGeneric setter for the sourcevoidGeneric setter for the value
-
Constructor Details
-
ExternalDataObject
public ExternalDataObject()Default constructor -
ExternalDataObject
Constructor for the ExternalDataObject with as parameter the source of where it came from- Parameters:
source- The source where the ExternalDataObject came from
-
-
Method Details
-
getSource
Generic getter for the source- Returns:
- The source
-
setSource
Generic setter for the source- Parameters:
source- The source to be set
-
getMetadata
Generic getter for the Metadata- Returns:
- The metadata
-
setMetadata
Generic setter for the Metadata- Parameters:
metadata- The metadata to be set
-
addMetadata
This method will add a Metadata value to the list of metadata values- Parameters:
metadataValueDTO- The metadata value to be added.
-
getDisplayValue
Generic getter for the display value- Returns:
- The display value
-
setDisplayValue
Generic setter for the display value- Parameters:
displayValue- The display value to be set
-
getId
Generic getter for the ID- Returns:
- The id
-
setId
Generic setter for the ID- Parameters:
id- The id to be set
-
getValue
Generic getter for the value- Returns:
- the value value of this ExternalDataObject
-
setValue
Generic setter for the value- Parameters:
value- The value to be set on this ExternalDataObject
-