edu.sampleu.travel.bo
Class MultiAttachmentSample
java.lang.Object
org.kuali.rice.kns.bo.BusinessObjectBase
org.kuali.rice.kns.bo.PersistableBusinessObjectBase
edu.sampleu.travel.bo.MultiAttachmentSample
- All Implemented Interfaces:
- Serializable, org.apache.ojb.broker.PersistenceBrokerAware, BusinessObject, PersistableAttachment, PersistableBusinessObject
public class MultiAttachmentSample
- extends PersistableBusinessObjectBase
- implements PersistableAttachment
- See Also:
- Serialized Form
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes |
genId
private Long genId
description
private String description
fileName
private String fileName
contentType
private String contentType
attachmentContent
private byte[] attachmentContent
attachmentFile
private transient org.apache.struts.upload.FormFile attachmentFile
MultiAttachmentSample
public MultiAttachmentSample()
getGenId
public Long getGenId()
setGenId
public void setGenId(Long genId)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getFileName
public String getFileName()
- Specified by:
getFileName
in interface PersistableAttachment
setFileName
public void setFileName(String fileName)
- Specified by:
setFileName
in interface PersistableAttachment
getContentType
public String getContentType()
- Specified by:
getContentType
in interface PersistableAttachment
setContentType
public void setContentType(String contentType)
- Specified by:
setContentType
in interface PersistableAttachment
getAttachmentContent
public byte[] getAttachmentContent()
- Specified by:
getAttachmentContent
in interface PersistableAttachment
setAttachmentContent
public void setAttachmentContent(byte[] attachmentContent)
- Specified by:
setAttachmentContent
in interface PersistableAttachment
getAttachmentFile
public org.apache.struts.upload.FormFile getAttachmentFile()
setAttachmentFile
public void setAttachmentFile(org.apache.struts.upload.FormFile attachmentFile)
toStringMapper
protected LinkedHashMap toStringMapper()
- Specified by:
toStringMapper
in class BusinessObjectBase
- Returns:
- Map containing the fieldValues of the key fields for this class, indexed by fieldName
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.