Class Attachment

    • Constructor Detail

      • Attachment

        public Attachment()
      • Attachment

        public Attachment​(String id,
                          String uri,
                          String name,
                          String description,
                          String thumbnailURL,
                          String mimeType)
        Parameters:
        id - the id in the cassandra CF
        uri - where you can download the file from
        name - the name of the attached file
        description - the description of the attached file
        thumbnailURL - the URL of the image representing the attached file
        mimeType - the type of file
    • Method Detail

      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • getUri

        public String getUri()
      • setUri

        public void setUri​(String uri)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getThumbnailURL

        public String getThumbnailURL()
      • setThumbnailURL

        public void setThumbnailURL​(String thumbnailURL)
      • getMimeType

        public String getMimeType()
      • setMimeType

        public void setMimeType​(String mimeType)