edu.sampleu.travel.bo
Class AttachmentSample

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.AttachmentSample
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.PersistableAttachment, org.kuali.rice.kns.bo.PersistableBusinessObject

public class AttachmentSample
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements org.kuali.rice.kns.bo.PersistableAttachment

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
AttachmentSample()
           
 
Method Summary
 List buildListOfDeletionAwareLists()
           
 byte[] getAttachmentContent()
           
 org.apache.struts.upload.FormFile getAttachmentFile()
           
 String getContentType()
           
 String getDescription()
           
 String getFileName()
           
 String getId()
           
 List<MultiAttachmentSample> getMultiAttachment()
           
 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 setId(String id)
           
 void setMultiAttachment(List<MultiAttachmentSample> multiAttachment)
           
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, 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
 

Constructor Detail

AttachmentSample

public AttachmentSample()
Method Detail

getId

public String getId()

setId

public void setId(String id)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getFileName

public String getFileName()
Specified by:
getFileName in interface org.kuali.rice.kns.bo.PersistableAttachment

setFileName

public void setFileName(String fileName)
Specified by:
setFileName in interface org.kuali.rice.kns.bo.PersistableAttachment

getContentType

public String getContentType()
Specified by:
getContentType in interface org.kuali.rice.kns.bo.PersistableAttachment

setContentType

public void setContentType(String contentType)
Specified by:
setContentType in interface org.kuali.rice.kns.bo.PersistableAttachment

getAttachmentContent

public byte[] getAttachmentContent()
Specified by:
getAttachmentContent in interface org.kuali.rice.kns.bo.PersistableAttachment

setAttachmentContent

public void setAttachmentContent(byte[] attachmentContent)
Specified by:
setAttachmentContent in interface org.kuali.rice.kns.bo.PersistableAttachment

getAttachmentFile

public org.apache.struts.upload.FormFile getAttachmentFile()

setAttachmentFile

public void setAttachmentFile(org.apache.struts.upload.FormFile attachmentFile)

getMultiAttachment

public List<MultiAttachmentSample> getMultiAttachment()

setMultiAttachment

public void setMultiAttachment(List<MultiAttachmentSample> multiAttachment)

toStringMapper

protected LinkedHashMap toStringMapper()
Specified by:
toStringMapper in class org.kuali.rice.kns.bo.BusinessObjectBase

buildListOfDeletionAwareLists

public List buildListOfDeletionAwareLists()
Specified by:
buildListOfDeletionAwareLists in interface org.kuali.rice.kns.bo.PersistableBusinessObject
Overrides:
buildListOfDeletionAwareLists in class org.kuali.rice.kns.bo.PersistableBusinessObjectBase


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.