Class NSFCoverPageV2_0Generator
java.lang.Object
org.kuali.coeus.s2sgen.impl.generate.S2SBaseFormGenerator<T>
org.kuali.coeus.s2sgen.impl.generate.support.NSFCoverPageBaseGenerator<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document>
org.kuali.coeus.s2sgen.impl.generate.support.NSFCoverPageV2_0Generator
- All Implemented Interfaces:
Factory<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document>,Named,S2SFormGenerator<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document>,S2SFormGeneratorPdfFillable<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document>,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
@FormGenerator("NSFCoverPageV2_0Generator")
public class NSFCoverPageV2_0Generator
extends NSFCoverPageBaseGenerator<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document>
implements S2SFormGeneratorPdfFillable<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.kuali.coeus.s2sgen.impl.generate.S2SFormGeneratorPdfFillable
S2SFormGeneratorPdfFillable.Attachments -
Field Summary
FieldsFields inherited from class org.kuali.coeus.s2sgen.impl.generate.support.NSFCoverPageBaseGenerator
ANSWER_INDICATOR_VALUE, FUNDING_MECHANISM_QUESTION, LOBBYING_QUESTION_ID, PERSONAL_DATA, PI_C0_INVESTIGATOR, PRINCIPAL_INVESTIGATOR, PROGRAM_ANNOUNCEMENT_NUMBER_MAX_LENGTH, PROPOSAL_YNQ_LOBBYING_ACTIVITIES, PROPRIETARY_INFORMATION, QUESTION_ACCOMPLISHMENT_RENEWAL, QUESTION_BEGIN_INVESTIGATOR, QUESTION_CURRENT_PI, QUESTION_EARLY_CONCEPT_GRANT, QUESTION_ID_BEGIN_INVESTIGATOR, QUESTION_ID_EXPLORATORY_RESEARCH, QUESTION_ID_HISTORIC_PLACES, QUESTION_ID_RESOLUTION_GRAPHICS, QUESTION_RAPIDRESPONSE_GRANT, QUESTION_RESOLUTION_GRAPHICS, s2SProposalPersonService, SINGLE_COPY_DOCUMENTFields 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 TypeMethodDescriptionorg.apache.xmlbeans.impl.schema.DocumentFactory<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document>factory()gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20DocumentgetFormObject(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract proposalDevelopmentDocument) This method creates an XML document using the APIs generated using XMLBeans by compiling the form's schema and returns it as XmlObject.getMappedAttachments(gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document form, List<AttachmentData> attachments) protected gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document.NSFCoverPage20.NSFUnitConsiderationorg.springframework.core.io.ResourceintList<org.springframework.core.io.Resource>voidsetFormName(String formName) protected voidsetFundingMechanism(gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document.NSFCoverPage20 nsfCoverPage20, String answer) voidsetNamespace(String namespace) voidsetPdfForm(org.springframework.core.io.Resource pdfForm) voidsetSortIndex(int sortIndex) voidsetStylesheets(List<org.springframework.core.io.Resource> stylesheets) Methods inherited from class org.kuali.coeus.s2sgen.impl.generate.support.NSFCoverPageBaseGenerator
getAttachedFileDataTypes, getAttachedNarrativeFile, getS2SProposalPersonService, getYearAsCalendar, setS2SProposalPersonServiceMethods 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, 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.Named
getBeanName
-
Field Details
-
departmentalPersonService
@Autowired @Qualifier("departmentalPersonService") protected DepartmentalPersonService departmentalPersonService
-
-
Constructor Details
-
NSFCoverPageV2_0Generator
public NSFCoverPageV2_0Generator()
-
-
Method Details
-
setFundingMechanism
protected void setFundingMechanism(gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document.NSFCoverPage20 nsfCoverPage20, String answer) -
getFormObject
public gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document getFormObject(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract proposalDevelopmentDocument) Description copied from interface:S2SFormGeneratorThis method creates an XML document using the APIs generated using XMLBeans by compiling the form's schema and returns it as XmlObject.- Specified by:
getFormObjectin interfaceS2SFormGenerator<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document>
-
getNSFUnitConsideration
protected gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document.NSFCoverPage20.NSFUnitConsideration getNSFUnitConsideration() -
getNamespace
- Specified by:
getNamespacein interfaceS2SFormGenerator<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document>
-
setNamespace
-
getFormName
- Specified by:
getFormNamein interfaceS2SFormGenerator<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document>
-
setFormName
-
getStylesheets
- Specified by:
getStylesheetsin interfaceS2SFormGenerator<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document>- Overrides:
getStylesheetsin classS2SBaseFormGenerator<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document>
-
setStylesheets
-
getPdfForm
public org.springframework.core.io.Resource getPdfForm()- Specified by:
getPdfFormin interfaceS2SFormGeneratorPdfFillable<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document>
-
setPdfForm
public void setPdfForm(org.springframework.core.io.Resource pdfForm) -
getSortIndex
public int getSortIndex()- Specified by:
getSortIndexin interfaceS2SFormGenerator<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document>
-
setSortIndex
public void setSortIndex(int sortIndex) -
getMappedAttachments
public S2SFormGeneratorPdfFillable.Attachments getMappedAttachments(gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document form, List<AttachmentData> attachments) - Specified by:
getMappedAttachmentsin interfaceS2SFormGeneratorPdfFillable<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document>
-
factory
public org.apache.xmlbeans.impl.schema.DocumentFactory<gov.grants.apply.forms.nsfCoverPage20V20.NSFCoverPage20Document> factory()
-