Class DigitalObject


  • public class DigitalObject
    extends Entity
    A (cultural) digital object, can be a retro digitization of a physical object or a digital native object.

    A digital object can be related to an item, and it also be part of a parent digital object.

    • Constructor Detail

    • Method Detail

      • addFileResource

        public void addFileResource​(FileResource fileResource)
      • getCreationInfo

        public CreationInfo getCreationInfo()
        Returns:
        meta information about the creation of the digital object
      • getFileResources

        public List<FileResource> getFileResources()
        Returns:
        the sorted list of file resources, like images or audio files
      • getItem

        public Item getItem()
        Returns:
        the item, the digital object belongs to. Otherwise, return null.
      • getLicense

        public License getLicense()
        Returns:
        the licence for the digital object (not for the metadata!)
      • getLinkedDataResources

        public List<LinkedDataFileResource> getLinkedDataResources()
        Returns:
        the sorted list of links (with description) to machine readable formats
      • getNumberOfBinaryResources

        public int getNumberOfBinaryResources()
        Returns:
        the number of binary resources for presentation
      • getParent

        public DigitalObject getParent()
        Returns:
        the parent of the digital object, it available. Otherwise, return null.
      • getRenderingResources

        public List<FileResource> getRenderingResources()
        Returns:
        the sorted list of links (with description and MIME type) to human readable formats
      • getVersion

        public Version getVersion()
        Returns:
        the version of the digital object
      • init

        protected void init()
        Description copied from class: UniqueObject
        Use to initialize member variables, used by default constructor and builder
        Overrides:
        init in class Entity
      • setCreationInfo

        public void setCreationInfo​(CreationInfo creationInfo)
        Sets the information about the creation of the digital object
        Parameters:
        creationInfo - the meta information about the creation
      • setFileResources

        public void setFileResources​(List<FileResource> fileResources)
        Sets the sorted list of file resources
        Parameters:
        fileResources - the sorted list of file resources
      • setItem

        public void setItem​(Item item)
        Set the item, the digital object belongs to
        Parameters:
        item - the item, the digital object belongs to
      • setLicense

        public void setLicense​(License license)
        Sets the licence for the digital object
        Parameters:
        license - the licence of the digital object
      • setLinkedDataResources

        public void setLinkedDataResources​(List<LinkedDataFileResource> linkedDataResources)
        Sets a sorted list of links (with description) to machine readable formats
        Parameters:
        linkedDataResources - the sorted list of links
      • setNumberOfBinaryResources

        public void setNumberOfBinaryResources​(int numberOfBinaryResources)
        Sets the number of binary resources for presentation
        Parameters:
        numberOfBinaryResources - the number of binary resources
      • setParent

        public void setParent​(DigitalObject parent)
        Sets the parent of the digital object
        Parameters:
        parent - of the digital object
      • setRenderingResources

        public void setRenderingResources​(List<FileResource> renderingResources)
        Sets the sorted list of links (with description and MIME type) to human readable formats
        Parameters:
        renderingResources - the sorted list of links
      • setVersion

        public void setVersion​(Version version)
        Sets the version of the digital object
        Parameters:
        version - of the digital object