Package org.gcube.portal.databook.shared
Class Attachment
java.lang.Object
org.gcube.portal.databook.shared.Attachment
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getName()getUri()voidsetDescription(String description) voidvoidsetMimeType(String mimeType) voidvoidsetThumbnailURL(String thumbnailURL) voidtoString()
-
Constructor Details
-
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 CFuri- where you can download the file fromname- the name of the attached filedescription- the description of the attached filethumbnailURL- the URL of the image representing the attached filemimeType- the type of file
-
-
Method Details