@Entity public class Attachment extends PersistableBusinessObjectBaseAdapter
extension, newCollectionRecordobjectId, versionNumber| Constructor and Description |
|---|
Attachment()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecordgenerateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toStringpublic Attachment()
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 void setNote(Note note)
note - The note to set.public boolean isComplete()
public InputStream getAttachmentContents() throws IOException
IOExceptionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.