Class NSFApplicationChecklistBaseGenerator<T extends org.apache.xmlbeans.XmlObject>
java.lang.Object
org.kuali.coeus.s2sgen.impl.generate.S2SBaseFormGenerator<T>
org.kuali.coeus.s2sgen.impl.generate.support.NSFApplicationChecklistBaseGenerator<T>
- All Implemented Interfaces:
Factory<T>,Named,S2SFormGenerator<T>,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
- Direct Known Subclasses:
NSFApplicationChecklistV1_1Generator
public abstract class NSFApplicationChecklistBaseGenerator<T extends org.apache.xmlbeans.XmlObject>
extends S2SBaseFormGenerator<T>
This class will contain all common features that will be used in generators
for different versions of NSFApplicationCheckList forms
- Author:
- Kuali Research Administration Team (kualidev@oncourse.iu.edu)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected org.kuali.coeus.propdev.api.s2s.S2SConfigurationServiceFields 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 intgetChecklistAnswer(int questionId) This method returns the YesNoDataType answer for all the Questions based on the QuestionId passes in to the method.org.kuali.coeus.propdev.api.s2s.S2SConfigurationServicevoidsetS2SConfigurationService(org.kuali.coeus.propdev.api.s2s.S2SConfigurationService s2SConfigurationService) 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
-
QUESTION_ID_1
protected static final int QUESTION_ID_1- See Also:
-
QUESTION_ID_2
protected static final int QUESTION_ID_2- See Also:
-
QUESTION_ID_3
protected static final int QUESTION_ID_3- See Also:
-
QUESTION_ID_4
protected static final int QUESTION_ID_4- See Also:
-
QUESTION_ID_5
protected static final int QUESTION_ID_5- See Also:
-
QUESTION_ID_6
protected static final int QUESTION_ID_6- See Also:
-
QUESTION_ID_7
protected static final int QUESTION_ID_7- See Also:
-
QUESTION_ID_8
protected static final int QUESTION_ID_8- See Also:
-
QUESTION_ID_9
protected static final int QUESTION_ID_9- See Also:
-
QUESTION_ID_10
protected static final int QUESTION_ID_10- See Also:
-
QUESTION_ID_SPACE_CHANGE
protected static final int QUESTION_ID_SPACE_CHANGE- See Also:
-
QUESTION_ID_NIH_INVESTIGAYOR
protected static final int QUESTION_ID_NIH_INVESTIGAYOR- See Also:
-
QUESTION_ID_NSF_INVESTIGATOR
protected static final int QUESTION_ID_NSF_INVESTIGATOR- See Also:
-
QUESTION_ID_NSF_SMALL_GRANT
protected static final int QUESTION_ID_NSF_SMALL_GRANT- See Also:
-
QUESTION_ID_OTHER_AGENCY
protected static final int QUESTION_ID_OTHER_AGENCY- See Also:
-
QUESTION_ID_INVENTION_PATENT
protected static final int QUESTION_ID_INVENTION_PATENT- See Also:
-
QUESTION_ID_CLINICAL_TRIAL
protected static final int QUESTION_ID_CLINICAL_TRIAL- See Also:
-
QUESTION_ID_STEM_CELL
protected static final int QUESTION_ID_STEM_CELL- See Also:
-
QUESTION_ID_CURRENT_SERVING_PI
protected static final int QUESTION_ID_CURRENT_SERVING_PI- See Also:
-
QUESTION_ID_HIGH_RESOLUTION
protected static final int QUESTION_ID_HIGH_RESOLUTION- See Also:
-
QUESTION_ID_FULL_APPLICATION
protected static final int QUESTION_ID_FULL_APPLICATION- See Also:
-
QUESTION_ID_PI_CHANGE
protected static final int QUESTION_ID_PI_CHANGE- See Also:
-
QUESTION_ID_GRANTEE_INSTITUTION_CHANGE
protected static final int QUESTION_ID_GRANTEE_INSTITUTION_CHANGE- See Also:
-
QUESTION_ID_PI_PARTICIPATION_US
protected static final int QUESTION_ID_PI_PARTICIPATION_US- See Also:
-
QUESTION_ID_PI_PARTICIPATION_FOREIGN
protected static final int QUESTION_ID_PI_PARTICIPATION_FOREIGN- See Also:
-
QUESTION_ID_EDUCATION_DEPT
protected static final int QUESTION_ID_EDUCATION_DEPT- See Also:
-
QUESTION_ID_ENVIRINMENT_IMPACT
protected static final int QUESTION_ID_ENVIRINMENT_IMPACT- See Also:
-
QUESTION_ID_28
protected static final int QUESTION_ID_28- See Also:
-
QUESTION_ID_29
protected static final int QUESTION_ID_29- See Also:
-
QUESTION_ID_30
protected static final int QUESTION_ID_30- See Also:
-
QUESTION_ID_31
protected static final int QUESTION_ID_31- See Also:
-
QUESTION_ID_32
protected static final int QUESTION_ID_32- See Also:
-
s2SConfigurationService
@Autowired @Qualifier("s2SConfigurationService") protected org.kuali.coeus.propdev.api.s2s.S2SConfigurationService s2SConfigurationService
-
-
Constructor Details
-
NSFApplicationChecklistBaseGenerator
public NSFApplicationChecklistBaseGenerator()
-
-
Method Details
-
getChecklistAnswer
protected int getChecklistAnswer(int questionId) This method returns the YesNoDataType answer for all the Questions based on the QuestionId passes in to the method.- Parameters:
questionId- passed to get the corresponding answer.- Returns:
- answer (int) Proposal Ynq answer returned for the corresponding question id.
-
getS2SConfigurationService
public org.kuali.coeus.propdev.api.s2s.S2SConfigurationService getS2SConfigurationService() -
setS2SConfigurationService
public void setS2SConfigurationService(org.kuali.coeus.propdev.api.s2s.S2SConfigurationService s2SConfigurationService)
-