edu.sampleu.travel.bo
Class MultiAttachmentSample

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by 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

Field Summary
private  byte[] attachmentContent
           
private  org.apache.struts.upload.FormFile attachmentFile
           
private  String contentType
           
private  String description
           
private  String fileName
           
private  Long genId
           
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
MultiAttachmentSample()
           
 
Method Summary
 byte[] getAttachmentContent()
           
 org.apache.struts.upload.FormFile getAttachmentFile()
           
 String getContentType()
           
 String getDescription()
           
 String getFileName()
           
 Long getGenId()
           
 void setAttachmentContent(byte[] attachmentContent)
           
 void setAttachmentFile(org.apache.struts.upload.FormFile attachmentFile)
           
 void setContentType(String contentType)
           
 void setDescription(String description)
           
 void setFileName(String fileName)
           
 void setGenId(Long genId)
           
protected  LinkedHashMap toStringMapper()
           
 
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
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow
 

Field Detail

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
Constructor Detail

MultiAttachmentSample

public MultiAttachmentSample()
Method Detail

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.