org.kuali.rice.krad.demo.travel.authorization.dataobject
Class TravelAdvance

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.demo.travel.authorization.dataobject.TravelAdvance
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, PersistableBusinessObject

@Entity
public class TravelAdvance
extends PersistableBusinessObjectBase

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
TravelAdvance()
           
 
Method Summary
 String getAdditionalJustification()
          Returns the additional justification text.
 String getAdvancePaymentReasonCode()
          Returns travel advance payment reason code.
 String getDocumentNumber()
          Returns the documentNumber attribute.
 Date getDueDate()
          Returns travel advance due date.
 Integer getId()
          Returns the travel document identifier.
 String getPaymentMethod()
          Returns travel advance payment method.
 boolean getTravelAdvancePolicy()
          Returns travel policy acceptance flag.
 KualiDecimal getTravelAdvanceRequested()
          Returns travel advance requested amount.
 void setAdditionalJustification(String additionalJustification)
          Initializes the additional justification text.
 void setAdvancePaymentReasonCode(String advancePaymentReasonCode)
          Initializes the payment reason code.
 void setDocumentNumber(String documentNumber)
          Initializes the documentNumber attribute.
 void setDueDate(Date dueDate)
          Initializes the due date.
 void setId(Integer id)
          Initializes the document identifier.
 void setPaymentMethod(String paymentMethod)
          Initializes the payment method.
 void setTravelAdvancePolicy(boolean travelAdvancePolicy)
          Initializes the travel policy acceptance flag.
 void setTravelAdvanceRequested(KualiDecimal travelAdvanceRequested)
          Initializes the amount requested attribute.
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, 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.core.api.mo.ModelObjectBasic
toString
 

Constructor Detail

TravelAdvance

public TravelAdvance()
Method Detail

getId

public Integer getId()
Returns the travel document identifier.

Gets the travel document identifier.

Returns:
Integer - generated id of this Travel Advance

setId

public void setId(Integer id)
Initializes the document identifier.

Sets the document identifier.

Parameters:
id - - generated id of this Travel Advance

getDocumentNumber

public String getDocumentNumber()
Returns the documentNumber attribute.

Gets the documentNumber attribute.

Returns:
Integer - generated id of this Travel Advance

setDocumentNumber

public void setDocumentNumber(String documentNumber)
Initializes the documentNumber attribute.

Sets the the documentNumber attribute.

Parameters:
documentNumber - - document number attribute

getTravelAdvanceRequested

public KualiDecimal getTravelAdvanceRequested()
Returns travel advance requested amount.

Gets the travel advance requested amount.

Returns:
KualiDecimal - travel advance requested amount

setTravelAdvanceRequested

public void setTravelAdvanceRequested(KualiDecimal travelAdvanceRequested)
Initializes the amount requested attribute.

Sets the the amount requested attribute.

Parameters:
travelAdvanceRequested - - amount requested

getDueDate

public Date getDueDate()
Returns travel advance due date.

Gets the travel advance due date.

Returns:
Date - travel advance due date

setDueDate

public void setDueDate(Date dueDate)
Initializes the due date.

Sets the the payment advance due date.

Parameters:
dueDate - - due date

getPaymentMethod

public String getPaymentMethod()
Returns travel advance payment method.

Gets the travel advance payment method.

Returns:
String - travel advance payment method

setPaymentMethod

public void setPaymentMethod(String paymentMethod)
Initializes the payment method.

Sets the the payment advance payment method.

Parameters:
paymentMethod - - payment method

getAdvancePaymentReasonCode

public String getAdvancePaymentReasonCode()
Returns travel advance payment reason code.

Gets the travel advance payment reason code.

Returns:
String - travel advance payment reason code

setAdvancePaymentReasonCode

public void setAdvancePaymentReasonCode(String advancePaymentReasonCode)
Initializes the payment reason code.

Sets the payment reason code.

Parameters:
advancePaymentReasonCode - - payment reason code

getTravelAdvancePolicy

public boolean getTravelAdvancePolicy()
Returns travel policy acceptance flag.

Gets the travel policy acceptance flag.

Returns:
Boolean - travel policy acceptance flag

setTravelAdvancePolicy

public void setTravelAdvancePolicy(boolean travelAdvancePolicy)
Initializes the travel policy acceptance flag.

Sets the travel policy acceptance flag.

Parameters:
travelAdvancePolicy - - travel policy acceptance flag

getAdditionalJustification

public String getAdditionalJustification()
Returns the additional justification text.

Gets the additional justification text.

Returns:
String - additional justification

setAdditionalJustification

public void setAdditionalJustification(String additionalJustification)
Initializes the additional justification text.

Sets the additional justification text.

Parameters:
additionalJustification - - the additional justification

toStringMapper

protected LinkedHashMap toStringMapper()


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.