Class RemoteContentDescriptor

  • Direct Known Subclasses:
    WebdavContentDescriptor

    public class RemoteContentDescriptor
    extends Object
    This class represents the description of a remotely content.
    Author:
    silveryocha
    • Constructor Detail

      • RemoteContentDescriptor

        protected RemoteContentDescriptor​(SimpleDocument document)
    • Method Detail

      • getDocument

        public SimpleDocument getDocument()
        Gets the document the remote content descriptor is linked to.
        Returns:
        a SimpleDocument instance.
      • getId

        public String getId()
        Gets the identifier of remote content.
        Returns:
        a string representing an unique identifier.
      • setId

        protected void setId​(String id)
      • getLanguage

        public String getLanguage()
        Gets the language of the remote content.
        Returns:
        a string representing the language.
      • setLanguage

        protected void setLanguage​(String language)
      • getSize

        public long getSize()
        Gets the size of the remote content.
        Returns:
        a long representing a size in bytes.
      • setSize

        protected void setSize​(long size)
      • getLastModificationDate

        public OffsetDateTime getLastModificationDate()
        Gets the last modification date of the remote content.
        Returns:
        an OffsetDateTime representing a date.
      • setLastModificationDate

        protected void setLastModificationDate​(OffsetDateTime lastModificationDate)