|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.krad.document.DocumentBase org.kuali.rice.krad.document.TransactionalDocumentBase edu.sampleu.travel.approval.TravelAuthorizationDocument
@Entity public class TravelAuthorizationDocument
Travel authorization transactional document.
This is a sample KRAD transactional document that demonstrates how to implement transactional documents within the KRAD UIF.
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.document.DocumentBase |
---|
documentHeader, documentNumber |
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
TravelAuthorizationDocument()
|
Method Summary | |
---|---|
PrimaryDestination |
getPrimaryDestination()
Returns primary destination. |
String |
getPrimaryDestinationCountryState()
Returns primary destination state. |
String |
getPrimaryDestinationCounty()
Returns primary destination county. |
Integer |
getPrimaryDestinationId()
Returns the destination id. |
Boolean |
getPrimaryDestinationIndicator()
Returns whether the destination is indicated. |
String |
getPrimaryDestinationName()
Returns primary destination name. |
String |
getTravelDocumentIdentifier()
Returns the travel document identifier. |
Date |
getTripBegin()
Returns the trip begin date. |
String |
getTripDescription()
Returns the trip description. |
Date |
getTripEnd()
Returns the trip end date. |
String |
getTripTypeCode()
Returns the trip type code. |
void |
setPrimaryDestination(PrimaryDestination primaryDestination)
Initializes the primary destination. |
void |
setPrimaryDestinationCountryState(String primaryDestinationCountryState)
Initializes the primary destination state. |
void |
setPrimaryDestinationCounty(String primaryDestinationCounty)
Initializes the primary destination county. |
void |
setPrimaryDestinationId(Integer primaryDestinationId)
Initializes the primary destination id. |
void |
setPrimaryDestinationIndicator(Boolean primaryDestinationIndicator)
Initializes the primary destination flag. |
void |
setPrimaryDestinationName(String primaryDestinationName)
Initializes the primary destination name. |
void |
setTravelDocumentIdentifier(String travelDocumentIdentifier)
Initializes the document identifier. |
void |
setTripBegin(Date tripBegin)
Initializes the trip starting date. |
void |
setTripDescription(String tripDescription)
Initializes the trip description. |
void |
setTripEnd(Date tripEnd)
Initializes the trip ending date. |
void |
setTripTypeCode(String tripTypeCode)
Initializes the trip type code. |
Methods inherited from class org.kuali.rice.krad.document.TransactionalDocumentBase |
---|
getAllowsCopy, isSessionDocument |
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.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 |
---|
public TravelAuthorizationDocument()
Method Detail |
---|
public String getTravelDocumentIdentifier()
Gets the travel document identifier.
public void setTravelDocumentIdentifier(String travelDocumentIdentifier)
Sets the document identifier.
travelDocumentIdentifier
- - document identifierpublic String getTripTypeCode()
Gets the trip type code.
public void setTripTypeCode(String tripTypeCode)
Sets the trip type code.
tripTypeCode
- - trip type codepublic Date getTripBegin()
Gets the trip begin date.
public void setTripBegin(Date tripBegin)
Sets the trip begin date.
tripBegin
- - trip starting datepublic Date getTripEnd()
Gets the trip end date.
public void setTripEnd(Date tripEnd)
Sets the trip end date.
tripEnd
- - trip ending datepublic String getTripDescription()
Gets the trip description.
public void setTripDescription(String tripDescription)
Sets the trip description.
tripDescription-
- trip descriptionpublic Integer getPrimaryDestinationId()
Gets the primary key for the destination.
public void setPrimaryDestinationId(Integer primaryDestinationId)
Sets the primary destination id.
primaryDestinationId
- - integer of primary destination idpublic Boolean getPrimaryDestinationIndicator()
Gets the primary destination indicator flag.
public void setPrimaryDestinationIndicator(Boolean primaryDestinationIndicator)
Sets the flag whether a primary destination is indicated.
primaryDestinationIndicator
- - primary destination indicatorpublic String getPrimaryDestinationName()
Gets the name of the primary destination
public void setPrimaryDestinationName(String primaryDestinationName)
Sets the name for the primary destination.
primaryDestinationName
- - primary destination namepublic String getPrimaryDestinationCountryState()
Gets the state of the primary destination
public void setPrimaryDestinationCountryState(String primaryDestinationCountryState)
Sets the state for the primary destination.
primaryDestinationCountryState
- - primary destination statepublic String getPrimaryDestinationCounty()
Gets the county of the primary destination
public void setPrimaryDestinationCounty(String primaryDestinationCounty)
Sets the county for the primary destination.
primaryDestinationCounty
- - primary destination countypublic PrimaryDestination getPrimaryDestination()
Gets the primary destination
public void setPrimaryDestination(PrimaryDestination primaryDestination)
Sets the primary destination.
primaryDestination
- - primary destination
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |