public class Attachment extends java.lang.Object implements Identifiable
Modifier and Type | Field and Description |
---|---|
static Property<User> |
AUTHOR |
static Property<java.lang.String> |
CONTENT_TYPE |
static Property<java.lang.String> |
CONTENT_URL |
static Property<java.util.Date> |
CREATED_ON |
static Property<java.lang.Integer> |
DATABASE_ID
database numeric Id
|
static Property<java.lang.String> |
DESCRIPTION |
static Property<java.lang.String> |
FILE_NAME |
static Property<java.lang.Long> |
FILE_SIZE |
static Property<java.lang.String> |
TOKEN |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
User |
getAuthor() |
java.lang.String |
getContentType() |
java.lang.String |
getContentURL() |
java.util.Date |
getCreatedOn() |
java.lang.String |
getDescription()
Description is empty by default, not NULL.
|
java.lang.String |
getFileName() |
java.lang.Long |
getFileSize() |
java.lang.Integer |
getId() |
PropertyStorage |
getStorage() |
java.lang.String |
getToken() |
int |
hashCode() |
void |
setAuthor(User author) |
void |
setContentType(java.lang.String contentType) |
void |
setContentURL(java.lang.String contentURL) |
void |
setCreatedOn(java.util.Date createdOn) |
void |
setDescription(java.lang.String description) |
void |
setFileName(java.lang.String fileName) |
void |
setFileSize(java.lang.Long fileSize) |
void |
setToken(java.lang.String token) |
java.lang.String |
toString() |
public static final Property<java.lang.Integer> DATABASE_ID
public static final Property<java.lang.String> FILE_NAME
public static final Property<java.lang.Long> FILE_SIZE
public static final Property<java.lang.String> CONTENT_TYPE
public static final Property<java.lang.String> CONTENT_URL
public static final Property<java.lang.String> DESCRIPTION
public static final Property<java.util.Date> CREATED_ON
public static final Property<java.lang.String> TOKEN
public java.lang.Integer getId()
getId
in interface Identifiable
public java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
public java.lang.String getContentURL()
public void setContentURL(java.lang.String contentURL)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.util.Date getCreatedOn()
public void setCreatedOn(java.util.Date createdOn)
public User getAuthor()
public void setAuthor(User author)
public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
public java.lang.Long getFileSize()
public void setFileSize(java.lang.Long fileSize)
public java.lang.String getToken()
public void setToken(java.lang.String token)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public PropertyStorage getStorage()