@JsonObject(value="Attachment") public class Attachment extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Attachment>
| Modifier and Type | Class and Description |
|---|---|
static class |
Attachment.AttachmentInitializer |
| Constructor and Description |
|---|
Attachment(Attachment.AttachmentInitializer initializer) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Attachment o) |
boolean |
equals(java.lang.Object obj) |
IObjectId |
getAttachmentHolderId()
Returns the id of the entity holding this attachment.
|
java.lang.String |
getDescription()
Returns the description given by the user when uploading this attachment.
|
java.lang.String |
getDownloadLink()
Returns the download link.
|
java.lang.String |
getFileName()
Returns the file name of this attachment.
|
EntityRegistrationDetails |
getRegistrationDetails()
Return the registration details.
|
java.lang.String |
getTitle()
Returns the title given by the user when uploading this attachment.
|
int |
getVersion()
Returns the version of this attachment.
|
int |
hashCode() |
java.lang.String |
toString() |
public Attachment(Attachment.AttachmentInitializer initializer)
public IObjectId getAttachmentHolderId()
public java.lang.String getFileName()
public int getVersion()
public java.lang.String getTitle()
public java.lang.String getDescription()
public EntityRegistrationDetails getRegistrationDetails()
public java.lang.String getDownloadLink()
public int compareTo(Attachment o)
compareTo in interface java.lang.Comparable<Attachment>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object