com.jamasoftware.contour.domain
Class Attachment

java.lang.Object
  extended by com.jamasoftware.contour.domain.DomainObjectBaseSupport
      extended by com.jamasoftware.contour.domain.DomainObjectSupport
          extended by com.jamasoftware.contour.domain.Attachment
All Implemented Interfaces:
DomainObject, DomainObjectBase, OrganizationAware, java.io.Serializable

@Entity
public class Attachment
extends DomainObjectSupport

Attachment for item, reports, and potentially images and email templates

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.jamasoftware.contour.domain.DomainObjectBase
ORGANIZATION_COLUMN_NAME
 
Constructor Summary
Attachment()
           
 
Method Summary
 java.lang.Integer getAttachmentTypeId()
           
 java.lang.String getDescription()
           
 java.lang.String getDiagramGraphXml()
           
 java.lang.Integer getDiagramHeight()
           
 java.lang.String getDiagramImageXml()
           
 java.lang.Integer getDiagramWidth()
           
 java.lang.String getFileName()
           
 java.lang.Integer getFileSize()
           
 java.lang.Integer getId()
           
 java.lang.String getMimetype()
           
 Organization getOrganization()
           
 java.lang.Integer getOrganizationId()
           
 com.jamasoftware.contour.project.domain.Project getProject()
           
 java.lang.Boolean getSystem()
          Indicates if the attachment is a system attachment or not.
 java.lang.String getXmlToString()
           
 void setAttachmentTypeId(java.lang.Integer attachmentTypeId)
           
 void setDescription(java.lang.String description)
           
 void setDiagramGraphXml(java.lang.String diagramGraphXml)
           
 void setDiagramHeight(java.lang.Integer diagramHeight)
           
 void setDiagramImageXml(java.lang.String diagramImageXml)
           
 void setDiagramWidth(java.lang.Integer diagramWidth)
           
 void setFileName(java.lang.String fileName)
           
 void setFileSize(java.lang.Integer fileSize)
           
 void setId(java.lang.Integer attachmentId)
           
 void setMimetype(java.lang.String mimetype)
           
 void setOrganization(Organization organization)
           
 void setOrganizationId(java.lang.Integer organizationId)
           
 void setProject(com.jamasoftware.contour.project.domain.Project project)
           
 void setSystem(java.lang.Boolean system)
           
 
Methods inherited from class com.jamasoftware.contour.domain.DomainObjectSupport
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
 
Methods inherited from class com.jamasoftware.contour.domain.DomainObjectBaseSupport
equals, hashCode, isNewObject, obtainAclObjectIdentity
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attachment

public Attachment()
Method Detail

getId

public java.lang.Integer getId()

setId

public void setId(java.lang.Integer attachmentId)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getAttachmentTypeId

public java.lang.Integer getAttachmentTypeId()

setAttachmentTypeId

public void setAttachmentTypeId(java.lang.Integer attachmentTypeId)

getProject

public com.jamasoftware.contour.project.domain.Project getProject()

setProject

public void setProject(com.jamasoftware.contour.project.domain.Project project)

getFileName

public java.lang.String getFileName()

setFileName

public void setFileName(java.lang.String fileName)

getFileSize

public java.lang.Integer getFileSize()

setFileSize

public void setFileSize(java.lang.Integer fileSize)

getMimetype

public java.lang.String getMimetype()

setMimetype

public void setMimetype(java.lang.String mimetype)

getOrganization

public Organization getOrganization()

setOrganization

public void setOrganization(Organization organization)

getOrganizationId

public java.lang.Integer getOrganizationId()

setOrganizationId

public void setOrganizationId(java.lang.Integer organizationId)

getSystem

public java.lang.Boolean getSystem()
Indicates if the attachment is a system attachment or not. System attachment are usually readonly.


setSystem

public void setSystem(java.lang.Boolean system)

getDiagramWidth

public java.lang.Integer getDiagramWidth()

setDiagramWidth

public void setDiagramWidth(java.lang.Integer diagramWidth)

getDiagramHeight

public java.lang.Integer getDiagramHeight()

setDiagramHeight

public void setDiagramHeight(java.lang.Integer diagramHeight)

getDiagramImageXml

public java.lang.String getDiagramImageXml()

setDiagramImageXml

public void setDiagramImageXml(java.lang.String diagramImageXml)

getDiagramGraphXml

public java.lang.String getDiagramGraphXml()

setDiagramGraphXml

public void setDiagramGraphXml(java.lang.String diagramGraphXml)

getXmlToString

public java.lang.String getXmlToString()


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