com.jamasoftware.contour.ws.v3.domain
Class WsAttachment

java.lang.Object
  extended by com.jamasoftware.contour.ws.v3.domain.WsAttachment

public class WsAttachment
extends java.lang.Object

This object represents a Contour attachment.

Author:
Dylan

Constructor Summary
WsAttachment()
           
 
Method Summary
 java.lang.Integer getAttachmentDocId()
          Gets the id of the item that represents this attachment (in WsDocAttach, etc...)
 java.lang.Integer getAttachmentTypeId()
          Gets the attachment's type id.
 java.lang.String getDescription()
          Gets the attachment's description.
 java.lang.String getFileName()
          Gets the attachment's file name.
 java.lang.Integer getFileSize()
          Gets the attachments file size.
 java.lang.Integer getId()
          Gets the attachment's id.
 java.lang.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.
 java.lang.Boolean getSystem()
          Is this a system attachment?
 void setAttachmentDocId(java.lang.Integer attachmentDocId)
           
 void setAttachmentTypeId(java.lang.Integer attachmentTypeId)
           
 void setDescription(java.lang.String description)
          Sets the attachment's description.
 void setFileName(java.lang.String fileName)
           
 void setFileSize(java.lang.Integer fileSize)
           
 void setId(java.lang.Integer id)
          Sets the attachment's id.
 void setMimetype(java.lang.String mimetype)
           
 void setOrganization(WsOrganization organization)
           
 void setProject(WsProject project)
          Sets the Project the attachment is in.
 void setSystem(java.lang.Boolean system)
           
 java.lang.String toString()
          Gets a string representation of this attachment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsAttachment

public WsAttachment()
Method Detail

getId

public java.lang.Integer getId()
Gets the attachment's id.

Returns:
attachment id

setId

public void setId(java.lang.Integer id)
Sets the attachment's id.

Parameters:
id - attachment id

getMimetype

public java.lang.String getMimetype()
Gets the attachment's mime type.

Returns:
attachment mime type

setMimetype

public void setMimetype(java.lang.String mimetype)

getFileName

public java.lang.String getFileName()
Gets the attachment's file name.

Returns:
attachment file name

setFileName

public void setFileName(java.lang.String fileName)

getFileSize

public java.lang.Integer getFileSize()
Gets the attachments file size.

Returns:
attachment file size

setFileSize

public void setFileSize(java.lang.Integer fileSize)

getOrganization

public WsOrganization getOrganization()
Gets Organization the attachment is in.

Returns:
WsOrganization

setOrganization

public void setOrganization(WsOrganization organization)

getDescription

public java.lang.String getDescription()
Gets the attachment's description.

Returns:
attachment description

setDescription

public void setDescription(java.lang.String description)
Sets the attachment's description.

Parameters:
description - attachment description

getProject

public WsProject getProject()
Gets the Project the attachment is in.

Returns:
WsProject

setProject

public void setProject(WsProject project)
Sets the Project the attachment is in.

Parameters:
project - WsProject

getAttachmentTypeId

public java.lang.Integer getAttachmentTypeId()
Gets the attachment's type id.

Returns:
attachment's type id.

setAttachmentTypeId

public void setAttachmentTypeId(java.lang.Integer attachmentTypeId)

getSystem

public java.lang.Boolean getSystem()
Is this a system attachment?

Returns:
whether or not this is a system attachment

setSystem

public void setSystem(java.lang.Boolean system)

getAttachmentDocId

public java.lang.Integer getAttachmentDocId()
Gets the id of the item that represents this attachment (in WsDocAttach, etc...)

Returns:
attachment item id

setAttachmentDocId

public void setAttachmentDocId(java.lang.Integer attachmentDocId)

toString

public java.lang.String toString()
Gets a string representation of this attachment.

Overrides:
toString in class java.lang.Object
Returns:
String


Copyright (c) 2010 Jama Software, Inc. All Rights Reserved.