Attachment (gCube Social Networking Library 1.16.1-SNAPSHOT API)
Date: 2019-09-27

org.gcube.portal.databook.shared

## Class Attachment

- java.lang.Object
- - org.gcube.portal.databook.shared.Attachment

- All Implemented Interfaces:
    Serializable

      public class Attachment
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static interface` | `Attachment.AttachmentJsonizer`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Attachment()`
    `Attachment(String id, String uri, String name, String description, String thumbnailURL, String mimeType)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getDescription()`
    `String` | `getId()`
    `String` | `getMimeType()`
    `String` | `getName()`
    `String` | `getThumbnailURL()`
    `String` | `getUri()`
    `void` | `setDescription(String description)`
    `void` | `setId(String id)`
    `void` | `setMimeType(String mimeType)`
    `void` | `setName(String name)`
    `void` | `setThumbnailURL(String thumbnailURL)`
    `void` | `setUri(String uri)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 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)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2019. All Rights Reserved.