Class PHS398ModularBudgetBaseGenerator<T extends org.apache.xmlbeans.XmlObject>
java.lang.Object
org.kuali.coeus.s2sgen.impl.generate.S2SBaseFormGenerator<T>
org.kuali.coeus.s2sgen.impl.generate.support.PHS398ModularBudgetBaseGenerator<T>
- All Implemented Interfaces:
Factory<T>,Named,S2SFormGenerator<T>,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
- Direct Known Subclasses:
PHS398ModularBudgetV1_1Generator,PHS398ModularBudgetV1_2Generator
public abstract class PHS398ModularBudgetBaseGenerator<T extends org.apache.xmlbeans.XmlObject>
extends S2SBaseFormGenerator<T>
This abstract class has methods that are common to all the versions of
PHS398ModularBudget form.
- Author:
- Kuali Research Administration Team (kualidev@oncourse.iu.edu)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected org.kuali.coeus.common.budget.api.modular.ModularBudgetServiceprotected static final intprotected static final intprotected org.kuali.coeus.common.api.rolodex.RolodexServiceprotected S2SCommonBudgetServiceprotected S2SDateTimeServiceFields inherited from class org.kuali.coeus.s2sgen.impl.generate.S2SBaseFormGenerator
AREAS_AFFECTED_ABSTRACT_TYPE_CODE, CONGRESSIONAL_DISTRICT_MAX_LENGTH, DEFAULT_SORT_INDEX, DUNS_NUMBER_MAX_LENGTH, globLibV20Generator, NOT_ANSWERED, ORGANIZATION_UEI_MAX_LENGTH, ORGANIZATON_NAME_MAX_LENGTH, pdDoc, PRIMARY_TITLE_MAX_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetCognizantFederalAgency(org.kuali.coeus.common.api.rolodex.RolodexContract rolodex) This method is used to get rolodex Organization FirstName, LastName and PhoneNumber as a single stringorg.kuali.coeus.common.budget.api.modular.ModularBudgetServiceorg.kuali.coeus.common.api.rolodex.RolodexServiceprotected org.kuali.coeus.sys.api.model.ScaleTwoDecimalgetTotalCost(org.kuali.coeus.propdev.api.budget.modular.BudgetModularContract budgetModular) This method is used to get total cost as sum of totalDirectCost and total sum of fundRequested.voidsetModularBudgetService(org.kuali.coeus.common.budget.api.modular.ModularBudgetService modularBudgetService) voidsetRolodexService(org.kuali.coeus.common.api.rolodex.RolodexService rolodexService) voidsetS2SCommonBudgetService(S2SCommonBudgetService s2SCommonBudgetService) voidsetS2SDateTimeService(S2SDateTimeService s2SDateTimeService) Methods inherited from class org.kuali.coeus.s2sgen.impl.generate.S2SBaseFormGenerator
addAttachedFileType, addAttachment, cleanFileName, createContentId, createContentId, getAnswer, getAnswerId, getAnswers, getAttachedFileDataType, getAttachedFileDataTypes, getAttachments, getAuditErrors, getBeanName, getChildQuestionAnswer, getGlobLibV20Generator, getGrantApplicationHashService, getHashValue, getNarrativeService, getPerson, getPersonnelAttachments, getPropDevQuestionAnswerService, getQuestionAnswerService, getS2sNarrativeFileName, getS2sPersonnelAttachmentFileName, getSponsorHierarchyService, getStylesheets, isSponsorNIH, saveNarrative, setAttachments, setAuditErrors, setBeanName, setGlobLibV20Generator, setGrantApplicationHashService, setNarrativeService, setPropDevQuestionAnswerService, setQuestionAnswerService, setSponsorHierarchyService, supportsPdfFilling, supportsXslTransformMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.coeus.s2sgen.impl.generate.S2SFormGenerator
getFormName, getFormObject, getNamespace, getSortIndex
-
Field Details
-
PERSONNEL_JUSTIFICATION_CODE
protected static final int PERSONNEL_JUSTIFICATION_CODE- See Also:
-
CONSORTIUM_JUSTIFICATION_CODE
protected static final int CONSORTIUM_JUSTIFICATION_CODE- See Also:
-
NARRATIVE_JUSTIFICATION_CODE
protected static final int NARRATIVE_JUSTIFICATION_CODE- See Also:
-
modularBudgetService
@Autowired @Qualifier("modularBudgetService") protected org.kuali.coeus.common.budget.api.modular.ModularBudgetService modularBudgetService -
s2SDateTimeService
-
rolodexService
@Autowired @Qualifier("rolodexService") protected org.kuali.coeus.common.api.rolodex.RolodexService rolodexService -
s2SCommonBudgetService
@Autowired @Qualifier("s2SCommonBudgetService") protected S2SCommonBudgetService s2SCommonBudgetService
-
-
Constructor Details
-
PHS398ModularBudgetBaseGenerator
public PHS398ModularBudgetBaseGenerator()
-
-
Method Details
-
getTotalCost
protected org.kuali.coeus.sys.api.model.ScaleTwoDecimal getTotalCost(org.kuali.coeus.propdev.api.budget.modular.BudgetModularContract budgetModular) This method is used to get total cost as sum of totalDirectCost and total sum of fundRequested.- Returns:
- totalCost
-
getCognizantFederalAgency
protected String getCognizantFederalAgency(org.kuali.coeus.common.api.rolodex.RolodexContract rolodex) This method is used to get rolodex Organization FirstName, LastName and PhoneNumber as a single string- Returns:
- String
-
getModularBudgetService
public org.kuali.coeus.common.budget.api.modular.ModularBudgetService getModularBudgetService() -
setModularBudgetService
public void setModularBudgetService(org.kuali.coeus.common.budget.api.modular.ModularBudgetService modularBudgetService) -
getS2SDateTimeService
-
setS2SDateTimeService
-
getRolodexService
public org.kuali.coeus.common.api.rolodex.RolodexService getRolodexService() -
setRolodexService
public void setRolodexService(org.kuali.coeus.common.api.rolodex.RolodexService rolodexService) -
getS2SCommonBudgetService
-
setS2SCommonBudgetService
-