public class WsAttachment extends Object
Constructor and Description |
---|
WsAttachment() |
Modifier and Type | Method and Description |
---|---|
Integer |
getAttachmentDocId()
Gets the id of the item that represents this attachment (in
WsDocAttach , etc...) |
Integer |
getAttachmentTypeId()
Gets the attachment's type id.
|
String |
getDescription()
Gets the attachment's description.
|
String |
getFileName()
Gets the attachment's file name.
|
Integer |
getFileSize()
Gets the attachments file size.
|
Integer |
getId()
Gets the attachment's id.
|
String |
getMimetype()
Gets the attachment's mime type.
|
WsOrganization |
getOrganization()
Gets Organization the attachment is in.
|
WsProject |
getProject()
Gets the Project the attachment is in.
|
Boolean |
getSystem()
Is this a system attachment?
|
void |
setAttachmentDocId(Integer attachmentDocId) |
void |
setAttachmentTypeId(Integer attachmentTypeId) |
void |
setDescription(String description)
Sets the attachment's description.
|
void |
setFileName(String fileName) |
void |
setFileSize(Integer fileSize) |
void |
setId(Integer id)
Sets the attachment's id.
|
void |
setMimetype(String mimetype) |
void |
setOrganization(WsOrganization organization) |
void |
setProject(WsProject project)
Sets the Project the attachment is in.
|
void |
setSystem(Boolean system) |
String |
toString()
Gets a string representation of this attachment.
|
public Integer getId()
public void setId(Integer id)
id
- attachment idpublic String getMimetype()
public void setMimetype(String mimetype)
public String getFileName()
public void setFileName(String fileName)
public Integer getFileSize()
public void setFileSize(Integer fileSize)
public WsOrganization getOrganization()
public void setOrganization(WsOrganization organization)
public String getDescription()
public void setDescription(String description)
description
- attachment descriptionpublic WsProject getProject()
public void setProject(WsProject project)
project
- WsProjectpublic Integer getAttachmentTypeId()
public void setAttachmentTypeId(Integer attachmentTypeId)
public Boolean getSystem()
public void setSystem(Boolean system)
public Integer getAttachmentDocId()
WsDocAttach
, etc...)public void setAttachmentDocId(Integer attachmentDocId)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.