private ProjectNarrativeAttachmentsDocument getProjectNarrativeAttachments() {

        ProjectNarrativeAttachmentsDocument proAttachmentsDocument = ProjectNarrativeAttachmentsDocument.Factory.newInstance();
        ProjectNarrativeAttachments proAttachments = ProjectNarrativeAttachments.Factory.newInstance();
        proAttachments.setFormVersion(FormVersion.v1_1.getVersion());
        AttachmentGroupMin1Max100DataType attMin1Max100DataType = AttachmentGroupMin1Max100DataType.Factory.newInstance();
        attMin1Max100DataType.setAttachedFileArray(getAttachedFileDataType());
        proAttachments.setAttachments(attMin1Max100DataType);
        proAttachmentsDocument.setProjectNarrativeAttachments(proAttachments);
        return proAttachmentsDocument;
    }
private ProjectNarrativeAttachmentsDocument getProjectNarrativeAttachments ( ) { ProjectNarrativeAttachmentsDocument proAttachmentsDocument = ProjectNarrativeAttachmentsDocument . Factory . newInstance ( ) ; ProjectNarrativeAttachments proAttachments = ProjectNarrativeAttachments . Factory . newInstance ( ) ; proAttachments . setFormVersion ( FormVersion . v1_1 . getVersion ( ) ) ; AttachmentGroupMin1Max100DataType attMin1Max100DataType = AttachmentGroupMin1Max100DataType . Factory . newInstance ( ) ; attMin1Max100DataType . setAttachedFileArray ( getAttachedFileDataType ( ) ) ; proAttachments . setAttachments ( attMin1Max100DataType ) ; proAttachmentsDocument . setProjectNarrativeAttachments ( proAttachments ) ; return proAttachmentsDocument ; }
This method is used to get Narrative Attachments for Particular Project

@return proAttachmentsDocument {@link XmlObject} of type ProjectNarrativeAttachmentsDocument.