edu.sampleu.travel.dataobject
Class TravelAuthorizationDocument

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.krad.document.DocumentBase
              extended by org.kuali.rice.krad.document.TransactionalDocumentBase
                  extended by edu.sampleu.travel.dataobject.TravelAuthorizationDocument
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, PersistableBusinessObject, Document, SessionDocument, TransactionalDocument

@Entity
@UifAutoCreateViews(value={INQUIRY,LOOKUP})
public class TravelAuthorizationDocument
extends TransactionalDocumentBase

Travel authorization transactional document.

This is a sample KRAD transactional document that demonstrates how to implement transactional documents within the KRAD UIF.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krad.document.DocumentBase
adHocRoutePersons, adHocRouteWorkgroups, documentHeader, documentNumber, notes, pessimisticLocks
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, newCollectionRecord, objectId, versionNumber
 
Constructor Summary
TravelAuthorizationDocument()
           
 
Method Summary
 List<TravelExpenseItem> getActualExpenseItems()
           
 String getCellPhoneNumber()
           
 List<TravelPerDiemExpense> getDailyExpenseEstimates()
           
 KualiDecimal getExpenseLimit()
           
 TravelerDetail getTravelerDetail()
           
 String getTravelerDetailId()
           
 String getTravelTypeCode()
           
 Date getTripBegin()
           
 String getTripDescription()
           
 TravelDestination getTripDestination()
           
 String getTripDestinationId()
           
 Date getTripEnd()
           
 void setActualExpenseItems(List<TravelExpenseItem> actualExpenseItems)
           
 void setCellPhoneNumber(String cellPhoneNumber)
           
 void setDailyExpenseEstimates(List<TravelPerDiemExpense> dailyExpenseEstimates)
           
 void setExpenseLimit(KualiDecimal expenseLimit)
           
 void setTravelerDetail(TravelerDetail travelerDetail)
           
 void setTravelerDetailId(String travelerDetailId)
           
 void setTravelTypeCode(String travelTypeCode)
           
 void setTripBegin(Date tripBegin)
           
 void setTripDescription(String tripDescription)
           
 void setTripDestination(TravelDestination tripDestination)
           
 void setTripDestinationId(String tripDestinationId)
           
 void setTripEnd(Date tripEnd)
           
 
Methods inherited from class org.kuali.rice.krad.document.TransactionalDocumentBase
getAllowsCopy, isSessionDocument
 
Methods inherited from class org.kuali.rice.krad.document.DocumentBase
addCopyErrorDocumentNote, addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, doRouteLevelChange, doRouteStatusChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAttachmentService, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearingMethodNames, getLockClearningMethodNames, getNonLockingActionTakenCodes, getNote, getNotes, getNoteService, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, populateDocumentForRouting, postLoad, postProcessSave, postRemove, prepareForSave, prepareForSave, prePersist, processAfterRetrieve, refreshPessimisticLocks, refreshReferenceObject, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNewDocumentHeader, setNotes, setPessimisticLocks, toCopy, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postPersist, postUpdate, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.krad.document.Document
addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, doRouteStatusChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearingMethodNames, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
 
Methods inherited from interface org.kuali.rice.krad.bo.PersistableBusinessObject
buildListOfDeletionAwareLists, getExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from interface org.kuali.rice.krad.bo.BusinessObject
refresh
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectId
 

Constructor Detail

TravelAuthorizationDocument

public TravelAuthorizationDocument()
Method Detail

getTripBegin

public Date getTripBegin()

setTripBegin

public void setTripBegin(Date tripBegin)

getTripEnd

public Date getTripEnd()

setTripEnd

public void setTripEnd(Date tripEnd)

getTripDescription

public String getTripDescription()

setTripDescription

public void setTripDescription(String tripDescription)

getTravelerDetailId

public String getTravelerDetailId()

setTravelerDetailId

public void setTravelerDetailId(String travelerDetailId)

getTravelerDetail

public TravelerDetail getTravelerDetail()

setTravelerDetail

public void setTravelerDetail(TravelerDetail travelerDetail)

getCellPhoneNumber

public String getCellPhoneNumber()

setCellPhoneNumber

public void setCellPhoneNumber(String cellPhoneNumber)

getExpenseLimit

public KualiDecimal getExpenseLimit()

setExpenseLimit

public void setExpenseLimit(KualiDecimal expenseLimit)

getTripDestinationId

public String getTripDestinationId()

setTripDestinationId

public void setTripDestinationId(String tripDestinationId)

getTripDestination

public TravelDestination getTripDestination()

setTripDestination

public void setTripDestination(TravelDestination tripDestination)

getDailyExpenseEstimates

public List<TravelPerDiemExpense> getDailyExpenseEstimates()

setDailyExpenseEstimates

public void setDailyExpenseEstimates(List<TravelPerDiemExpense> dailyExpenseEstimates)

getActualExpenseItems

public List<TravelExpenseItem> getActualExpenseItems()

setActualExpenseItems

public void setActualExpenseItems(List<TravelExpenseItem> actualExpenseItems)

getTravelTypeCode

public String getTravelTypeCode()

setTravelTypeCode

public void setTravelTypeCode(String travelTypeCode)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.