Class ExternalDataObject


  • public class ExternalDataObject
    extends Object
    The representation model object for external data
    • Constructor Detail

      • ExternalDataObject

        public ExternalDataObject()
        Default constructor
      • ExternalDataObject

        public ExternalDataObject​(String source)
        Constructor for the ExternalDataObject with as parameter the source of where it came from
        Parameters:
        source - The source where the ExternalDataObject came from
    • Method Detail

      • getSource

        public String getSource()
        Generic getter for the source
        Returns:
        The source
      • setSource

        public void setSource​(String source)
        Generic setter for the source
        Parameters:
        source - The source to be set
      • getMetadata

        public List<MetadataValueDTO> getMetadata()
        Generic getter for the Metadata
        Returns:
        The metadata
      • setMetadata

        public void setMetadata​(List<MetadataValueDTO> metadata)
        Generic setter for the Metadata
        Parameters:
        metadata - The metadata to be set
      • addMetadata

        public void addMetadata​(MetadataValueDTO metadataValueDTO)
        This method will add a Metadata value to the list of metadata values
        Parameters:
        metadataValueDTO - The metadata value to be added.
      • getDisplayValue

        public String getDisplayValue()
        Generic getter for the display value
        Returns:
        The display value
      • setDisplayValue

        public void setDisplayValue​(String displayValue)
        Generic setter for the display value
        Parameters:
        displayValue - The display value to be set
      • getId

        public String getId()
        Generic getter for the ID
        Returns:
        The id
      • setId

        public void setId​(String id)
        Generic setter for the ID
        Parameters:
        id - The id to be set
      • getValue

        public String getValue()
        Generic getter for the value
        Returns:
        the value value of this ExternalDataObject
      • setValue

        public void setValue​(String value)
        Generic setter for the value
        Parameters:
        value - The value to be set on this ExternalDataObject