org.kuali.rice.kew.notes
Class Attachment

java.lang.Object
  extended by org.kuali.rice.kew.notes.Attachment

@Entity(name="org.kuali.rice.kew.notes.Attachment")
public class Attachment
extends Object

An attachment which is attached to a Note.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Note

Field Summary
private  InputStream attachedObject
           
private  Long attachmentId
           
private  String fileLoc
           
private  String fileName
           
private  Integer lockVerNbr
           
private  String mimeType
           
private  Note note
           
private  Long noteId
           
 
Constructor Summary
Attachment()
           
 
Method Summary
 void beforeInsert()
           
 InputStream getAttachedObject()
           
 Long getAttachmentId()
           
 String getFileLoc()
           
 String getFileName()
           
 Integer getLockVerNbr()
           
 String getMimeType()
           
 Note getNote()
           
 Long getNoteId()
           
 void setAttachedObject(InputStream attachedObject)
           
 void setAttachmentId(Long attachmentId)
           
 void setFileLoc(String fileLoc)
           
 void setFileName(String fileName)
           
 void setLockVerNbr(Integer lockVerNbr)
           
 void setMimeType(String mimeType)
           
 void setNote(Note note)
           
 void setNoteId(Long noteId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attachmentId

private Long attachmentId

noteId

private Long noteId

fileName

private String fileName

fileLoc

private String fileLoc

mimeType

private String mimeType

lockVerNbr

private Integer lockVerNbr

attachedObject

private InputStream attachedObject

note

private Note note
Constructor Detail

Attachment

public Attachment()
Method Detail

getAttachmentId

public Long getAttachmentId()

setAttachmentId

public void setAttachmentId(Long attachmentId)

getFileLoc

public String getFileLoc()

setFileLoc

public void setFileLoc(String fileLoc)

getFileName

public String getFileName()

setFileName

public void setFileName(String fileName)

getLockVerNbr

public Integer getLockVerNbr()

setLockVerNbr

public void setLockVerNbr(Integer lockVerNbr)

getMimeType

public String getMimeType()

setMimeType

public void setMimeType(String mimeType)

getNoteId

public Long getNoteId()

setNoteId

public void setNoteId(Long noteId)

getNote

public Note getNote()

setNote

public void setNote(Note note)

getAttachedObject

public InputStream getAttachedObject()

setAttachedObject

public void setAttachedObject(InputStream attachedObject)

beforeInsert

public void beforeInsert()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.