Class BudgetV1_1Generator
java.lang.Object
org.kuali.coeus.s2sgen.impl.generate.S2SBaseFormGenerator<gov.grants.apply.forms.budgetV11.BudgetNarrativeAttachmentsDocument>
org.kuali.coeus.s2sgen.impl.generate.support.BudgetBaseGenerator<gov.grants.apply.forms.budgetV11.BudgetNarrativeAttachmentsDocument>
org.kuali.coeus.s2sgen.impl.generate.support.BudgetV1_1Generator
- All Implemented Interfaces:
Factory<gov.grants.apply.forms.budgetV11.BudgetNarrativeAttachmentsDocument>,Named,S2SFormGenerator<gov.grants.apply.forms.budgetV11.BudgetNarrativeAttachmentsDocument>,S2SFormGeneratorPdfFillable<gov.grants.apply.forms.budgetV11.BudgetNarrativeAttachmentsDocument>,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
@FormGenerator("BudgetV1_1Generator")
public class BudgetV1_1Generator
extends BudgetBaseGenerator<gov.grants.apply.forms.budgetV11.BudgetNarrativeAttachmentsDocument>
This class is used to generate XML Document object for grants.gov BudgetV1.1. This form is generated using XMLBean API's
generated by compiling BudgetV1.1 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.budgetV11.BudgetNarrativeAttachmentsDocument> factory()gov.grants.apply.forms.budgetV11.BudgetNarrativeAttachmentsDocumentgetFormObject(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.budgetV11.BudgetNarrativeAttachmentsDocument form, List<org.kuali.coeus.s2sgen.api.generate.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.support.BudgetBaseGenerator
getAttachedFileDataTypesMethods 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
-
BudgetV1_1Generator
public BudgetV1_1Generator()
-
-
Method Details
-
getFormObject
public gov.grants.apply.forms.budgetV11.BudgetNarrativeAttachmentsDocument 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. -
getNamespace
-
setNamespace
-
getFormName
-
setFormName
-
getStylesheets
- Specified by:
getStylesheetsin interfaceS2SFormGenerator<gov.grants.apply.forms.budgetV11.BudgetNarrativeAttachmentsDocument>- Overrides:
getStylesheetsin classS2SBaseFormGenerator<gov.grants.apply.forms.budgetV11.BudgetNarrativeAttachmentsDocument>
-
setStylesheets
-
getPdfForm
public org.springframework.core.io.Resource getPdfForm() -
setPdfForm
public void setPdfForm(org.springframework.core.io.Resource pdfForm) -
getSortIndex
public int getSortIndex() -
setSortIndex
public void setSortIndex(int sortIndex) -
getMappedAttachments
public S2SFormGeneratorPdfFillable.Attachments getMappedAttachments(gov.grants.apply.forms.budgetV11.BudgetNarrativeAttachmentsDocument form, List<org.kuali.coeus.s2sgen.api.generate.AttachmentData> attachments) -
factory
public org.apache.xmlbeans.impl.schema.DocumentFactory<gov.grants.apply.forms.budgetV11.BudgetNarrativeAttachmentsDocument> factory()
-