Class CarddavResource

    • Constructor Detail

      • CarddavResource

        public CarddavResource()
        Constructor
    • Method Detail

      • setOwner

        public void setOwner​(org.bedework.access.AccessPrincipal val)
        Parameters:
        val -
      • getOwner

        public org.bedework.access.AccessPrincipal getOwner()
        Returns:
        AccessPrincipal
      • setName

        public void setName​(String val)
        Set the name
        Parameters:
        val - String name
      • getName

        public String getName()
        Get the name
        Returns:
        String name
      • setCreated

        public void setCreated​(String val)
        Parameters:
        val -
      • getCreated

        public String getCreated()
        Returns:
        String created
      • setLastmod

        public void setLastmod​(String val)
        Parameters:
        val -
      • getLastmod

        public String getLastmod()
        Returns:
        String lastmod
      • setSequence

        public void setSequence​(int val)
        Set the sequence
        Parameters:
        val - sequence number
      • getSequence

        public int getSequence()
        Get the sequence
        Returns:
        int the sequence
      • setContentType

        public void setContentType​(String val)
        Set the contentType - may be null for unknown
        Parameters:
        val - String contentType
      • getContentType

        public String getContentType()
        Get the valueType
        Returns:
        String contentType
      • setEncoding

        public void setEncoding​(String val)
        Set the encoding
        Parameters:
        val - String encoding
      • getEncoding

        public String getEncoding()
        Get the encoding
        Returns:
        String encoding
      • setContentLength

        public void setContentLength​(long val)
        Set the length
        Parameters:
        val - long
      • getContentLength

        public long getContentLength()
        Get the length
        Returns:
        long length
      • updateLastmod

        public void updateLastmod()
        Update last mod fields
      • setPrevLastmod

        public void setPrevLastmod​(String val)
        Set the resource's previous lastmod - used to allow if none match
        Parameters:
        val - lastmod
      • getPrevLastmod

        public String getPrevLastmod()
        Get the resource's previous lastmod - used to allow if none match
        Returns:
        the event's lastmod
      • setPrevSeq

        public void setPrevSeq​(int val)
        Set the event's previous seq - used to allow if none match
        Parameters:
        val - sequence number
      • getPrevSeq

        public int getPrevSeq()
        Get the event's previous seq - used to allow if none match
        Returns:
        the event's seq
      • setContent

        public void setContent​(CarddavResourceContent val)
        Set the content
        Parameters:
        val - BwResourceContent
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object