Class ImportRecord
java.lang.Object
org.dspace.importer.external.datamodel.ImportRecord
This class contains all MetadatumDTO objects from an imported item
- Author:
- Roeland Dillen (roeland at atmire dot com)
-
Constructor Summary
ConstructorsConstructorDescriptionImportRecord(List<MetadatumDTO> valueList) Create an ImportRecord instance initialized with a List of MetadatumDTO objects -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValue(MetadatumDTO value) Add a value to the valueListReturn the MetadatumDTO's that are related to a given schema/element/qualifier pair/tripletRetrieve an unmodifiableList of MetadatumDTOtoString()Build a string based on the values in the valueList object The syntax will be Record{valueList={"schema"; "element" ; "qualifier"; "value"}}
-
Constructor Details
-
ImportRecord
Create an ImportRecord instance initialized with a List of MetadatumDTO objects- Parameters:
valueList- list of metadata values
-
-
Method Details
-
getValueList
Retrieve an unmodifiableList of MetadatumDTO- Returns:
- List of MetadatumDTO
-
toString
Build a string based on the values in the valueList object The syntax will be Record{valueList={"schema"; "element" ; "qualifier"; "value"}} -
getValue
Return the MetadatumDTO's that are related to a given schema/element/qualifier pair/triplet- Parameters:
schema- metadata field schemaelement- metadata field elementqualifier- metadata field qualifier- Returns:
- the MetadatumDTO's that are related to a given schema/element/qualifier pair/triplet
-
addValue
Add a value to the valueList- Parameters:
value- The MetadatumDTO to add to the valueList
-