Class DataFile

java.lang.Object
nl.knaw.dans.lib.dataverse.model.file.DataFile

public class DataFile extends Object
  • Constructor Details

    • DataFile

      public DataFile()
  • Method Details

    • getId

      public int getId()
    • getPersistentId

      public String getPersistentId()
    • getPidURL

      public String getPidURL()
    • getFilename

      public String getFilename()
    • getContentType

      public String getContentType()
    • getFriendlyType

      public String getFriendlyType()
    • getFilesize

      public long getFilesize()
    • getDescription

      public String getDescription()
    • getCategories

      public List<String> getCategories()
    • getEmbargo

      public Embargo getEmbargo()
    • getRetention

      public RetentionPeriod getRetention()
    • getStorageIdentifier

      public String getStorageIdentifier()
    • getOriginalFileFormat

      public String getOriginalFileFormat()
    • getOriginalFormatLabel

      public String getOriginalFormatLabel()
    • getOriginalFileSize

      public Long getOriginalFileSize()
    • getOriginalFileName

      public String getOriginalFileName()
    • getUnf

      public String getUnf()
    • getRootDataFileId

      public int getRootDataFileId()
    • getPreviousDataFileId

      public int getPreviousDataFileId()
    • getChecksum

      public Checksum getChecksum()
    • getTabularData

      public Boolean getTabularData()
    • getTabularTags

      public List<String> getTabularTags()
    • getCreationDate

      public String getCreationDate()
    • getPublicationDate

      public String getPublicationDate()
    • getFileAccessRequest

      public Boolean getFileAccessRequest()
    • getRestricted

      public Boolean getRestricted()
    • getFileMetadataId

      public Long getFileMetadataId()
    • setId

      public void setId(int id)
    • setPersistentId

      public void setPersistentId(String persistentId)
    • setPidURL

      public void setPidURL(String pidURL)
    • setFilename

      public void setFilename(String filename)
    • setContentType

      public void setContentType(String contentType)
    • setFriendlyType

      public void setFriendlyType(String friendlyType)
    • setFilesize

      public void setFilesize(long filesize)
    • setDescription

      public void setDescription(String description)
    • setCategories

      public void setCategories(List<String> categories)
    • setEmbargo

      public void setEmbargo(Embargo embargo)
    • setRetention

      public void setRetention(RetentionPeriod retention)
    • setStorageIdentifier

      public void setStorageIdentifier(String storageIdentifier)
    • setOriginalFileFormat

      public void setOriginalFileFormat(String originalFileFormat)
    • setOriginalFormatLabel

      public void setOriginalFormatLabel(String originalFormatLabel)
    • setOriginalFileSize

      public void setOriginalFileSize(Long originalFileSize)
    • setOriginalFileName

      public void setOriginalFileName(String originalFileName)
    • setUnf

      public void setUnf(String unf)
    • setRootDataFileId

      public void setRootDataFileId(int rootDataFileId)
    • setPreviousDataFileId

      public void setPreviousDataFileId(int previousDataFileId)
    • setChecksum

      public void setChecksum(Checksum checksum)
    • setTabularData

      public void setTabularData(Boolean tabularData)
    • setTabularTags

      public void setTabularTags(List<String> tabularTags)
    • setCreationDate

      public void setCreationDate(String creationDate)
    • setPublicationDate

      public void setPublicationDate(String publicationDate)
    • setFileAccessRequest

      public void setFileAccessRequest(Boolean fileAccessRequest)
    • setRestricted

      public void setRestricted(Boolean restricted)
    • setFileMetadataId

      public void setFileMetadataId(Long fileMetadataId)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object