question: public InstrumentHeader createUnsavedInstrumentHeader ( InstrumentType instrumentType , String instrumentNum , Double instrumentAmount , Date instrumentDate , String statusCode , User user ) { InstrumentHeader instrHdr = new InstrumentHeader ( ) ; instrHdr . setInstrumentNumber ( instrumentNum ) ; instrHdr . setInstrumentType ( instrumentType ) ; instrHdr . setInstrumentAmount ( BigDecimal . valueOf ( instrumentAmount ) ) ; instrHdr . setInstrumentDate ( instrumentDate ) ; instrHdr . setStatusId ( createEgwStatus ( statusCode , CollectionConstants . MODULE_NAME_RECEIPTHEADER ) ) ; instrHdr . setCreatedDate ( new Date ( ) ) ; instrHdr . setModifiedDate ( new Date ( ) ) ; instrHdr . setCreatedBy ( user ) ; instrHdr . setModifiedBy ( user ) ; return instrHdr ; }
target:  Creates instrument header with given details