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

Field Detail

attachmentId

private String attachmentId

noteId

private String 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 String getAttachmentId()

setAttachmentId

public void setAttachmentId(String 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 String getNoteId()

setNoteId

public void setNoteId(String 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.