Class EDGEPA427V2_0Generator
java.lang.Object
org.kuali.coeus.s2sgen.impl.generate.S2SBaseFormGenerator<gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document>
org.kuali.coeus.s2sgen.impl.generate.support.EDGEPA427V2_0Generator
- All Implemented Interfaces:
Factory<gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document>,Named,S2SFormGenerator<gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document>,S2SFormGeneratorPdfFillable<gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document>,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
@FormGenerator("EDGEPA427V2_0Generator")
public class EDGEPA427V2_0Generator
extends S2SBaseFormGenerator<gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document>
implements S2SFormGeneratorPdfFillable<gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document>
This class is used to generate XML Document object for grants.gov EDGEPA427V2.0. This form is generated using XMLBean API's
generated by compiling EDGEPA427V2.0 schema.
- Author:
- Kuali Research Administration Team (kualidev@oncourse.iu.edu)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.kuali.coeus.s2sgen.impl.generate.S2SFormGeneratorPdfFillable
S2SFormGeneratorPdfFillable.Attachments -
Field Summary
Fields 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.edGEPA42720V20.EDGEPA42720Document> factory()protected List<? extends org.kuali.coeus.common.questionnaire.api.answer.AnswerHeaderContract> findQuestionnaireWithAnswers(org.kuali.coeus.propdev.api.core.DevelopmentProposalContract developmentProposal) protected org.kuali.coeus.common.questionnaire.api.answer.AnswerContractgetAnswer(org.kuali.coeus.common.questionnaire.api.core.QuestionnaireQuestionContract questionnaireQuestion, org.kuali.coeus.common.questionnaire.api.answer.AnswerHeaderContract answerHeader) protected List<org.kuali.coeus.common.questionnaire.api.answer.AnswerContract> getAnswers(Long questonnaireQuestionId, org.kuali.coeus.common.questionnaire.api.answer.AnswerHeaderContract answerHeader) protected List<org.kuali.coeus.common.questionnaire.api.answer.AnswerContract> getAnswers(org.kuali.coeus.common.questionnaire.api.core.QuestionnaireQuestionContract questionnaireQuestion, org.kuali.coeus.common.questionnaire.api.answer.AnswerHeaderContract answerHeader) gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720DocumentgetFormObject(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract proposalDevelopmentDocument) This method createsXmlObjectof typeEDGEPA42720Documentby populating data from the givenProposalDevelopmentDocumentContractgetMappedAttachments(gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document form, List<AttachmentData> attachments) org.springframework.core.io.ResourceintList<org.springframework.core.io.Resource> voidsetFormName(String formName) 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.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
-
Constructor Details
-
EDGEPA427V2_0Generator
public EDGEPA427V2_0Generator()
-
-
Method Details
-
findQuestionnaireWithAnswers
protected List<? extends org.kuali.coeus.common.questionnaire.api.answer.AnswerHeaderContract> findQuestionnaireWithAnswers(org.kuali.coeus.propdev.api.core.DevelopmentProposalContract developmentProposal) -
getFormObject
public gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document getFormObject(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract proposalDevelopmentDocument) This method createsXmlObjectof typeEDGEPA42720Documentby populating data from the givenProposalDevelopmentDocumentContract- Specified by:
getFormObjectin interfaceS2SFormGenerator<gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document>- Parameters:
proposalDevelopmentDocument- for which theXmlObjectneeds to be created- Returns:
XmlObjectwhich is generated using the givenProposalDevelopmentDocumentContract
-
getNamespace
- Specified by:
getNamespacein interfaceS2SFormGenerator<gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document>
-
setNamespace
-
getFormName
- Specified by:
getFormNamein interfaceS2SFormGenerator<gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document>
-
setFormName
-
getStylesheets
- Specified by:
getStylesheetsin interfaceS2SFormGenerator<gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document>- Overrides:
getStylesheetsin classS2SBaseFormGenerator<gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document>
-
setStylesheets
-
getPdfForm
public org.springframework.core.io.Resource getPdfForm()- Specified by:
getPdfFormin interfaceS2SFormGeneratorPdfFillable<gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document>
-
getMappedAttachments
public S2SFormGeneratorPdfFillable.Attachments getMappedAttachments(gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document form, List<AttachmentData> attachments) - Specified by:
getMappedAttachmentsin interfaceS2SFormGeneratorPdfFillable<gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document>
-
setPdfForm
public void setPdfForm(org.springframework.core.io.Resource pdfForm) -
getSortIndex
public int getSortIndex()- Specified by:
getSortIndexin interfaceS2SFormGenerator<gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document>
-
setSortIndex
public void setSortIndex(int sortIndex) -
getAnswer
protected org.kuali.coeus.common.questionnaire.api.answer.AnswerContract getAnswer(org.kuali.coeus.common.questionnaire.api.core.QuestionnaireQuestionContract questionnaireQuestion, org.kuali.coeus.common.questionnaire.api.answer.AnswerHeaderContract answerHeader) -
getAnswers
protected List<org.kuali.coeus.common.questionnaire.api.answer.AnswerContract> getAnswers(org.kuali.coeus.common.questionnaire.api.core.QuestionnaireQuestionContract questionnaireQuestion, org.kuali.coeus.common.questionnaire.api.answer.AnswerHeaderContract answerHeader) -
getAnswers
-
factory
public org.apache.xmlbeans.impl.schema.DocumentFactory<gov.grants.apply.forms.edGEPA42720V20.EDGEPA42720Document> factory()
-