|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.krad.bo.Attachment
@Entity public class Attachment
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
Attachment()
Default constructor. |
Method Summary | |
---|---|
InputStream |
getAttachmentContents()
|
String |
getAttachmentFileName()
Gets the attachmentFileName attribute. |
Long |
getAttachmentFileSize()
Gets the attachmentFileSize attribute. |
String |
getAttachmentFileSizeWithUnits()
Returns the size of the attachment with units (byte, kilobyte, ...) |
String |
getAttachmentIdentifier()
Gets the attachmentIdentifier attribute. |
String |
getAttachmentMimeTypeCode()
Gets the attachmentMimeTypeCode attribute. |
String |
getAttachmentTypeCode()
Gets the attachmentTypeCode attribute. |
Note |
getNote()
Gets the note attribute. |
Long |
getNoteIdentifier()
Gets the noteIdentifier attribute. |
boolean |
isComplete()
|
void |
setAttachmentFileName(String attachmentFileName)
Sets the attachmentFileName attribute. |
void |
setAttachmentFileSize(Long attachmentFileSize)
Sets the attachmentFileSize attribute. |
void |
setAttachmentIdentifier(String attachmentIdentifier)
Sets the attachmentIdentifier attribute. |
void |
setAttachmentMimeTypeCode(String attachmentMimeTypeCode)
Sets the attachmentMimeTypeCode attribute. |
void |
setAttachmentTypeCode(String attachmentTypeCode)
Sets the attachmentTypeCode attribute. |
void |
setNote(Note note)
Sets the note attribute value. |
void |
setNoteIdentifier(Long noteIdentifier)
Sets the noteIdentifier attribute. |
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
---|
prepareForWorkflow, toString, toStringBuilder, toStringMapper |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Constructor Detail |
---|
public Attachment()
Method Detail |
---|
public Long getNoteIdentifier()
public void setNoteIdentifier(Long noteIdentifier)
noteIdentifier
- The noteIdentifier to set.public String getAttachmentMimeTypeCode()
public void setAttachmentMimeTypeCode(String attachmentMimeTypeCode)
attachmentMimeTypeCode
- The attachmentMimeTypeCode to set.public String getAttachmentFileName()
public void setAttachmentFileName(String attachmentFileName)
attachmentFileName
- The attachmentFileName to set.public String getAttachmentIdentifier()
public void setAttachmentIdentifier(String attachmentIdentifier)
attachmentIdentifier
- The attachmentIdentifier to set.public Long getAttachmentFileSize()
public void setAttachmentFileSize(Long attachmentFileSize)
attachmentFileSize
- The attachmentFileSize to set.public String getAttachmentFileSizeWithUnits()
public String getAttachmentTypeCode()
public void setAttachmentTypeCode(String attachmentTypeCode)
attachmentTypeCode
- The attachmentTypeCode to set.public Note getNote()
public void setNote(Note note)
note
- The note to set.public boolean isComplete()
public InputStream getAttachmentContents() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |