private AssuranceType getAssuranceType() {

        AssuranceType assuranceType = AssuranceType.Factory.newInstance();
        assuranceType.setFormVersionIdentifier(FormVersion.v1_1.getVersion());
        assuranceType.setProgramType(PROGRAM_TYPE);
        assuranceType.setCoreSchemaVersion(CORE_SCHEMA_VERSION_1_1);
        assuranceType.setAuthorizedRepresentative(getAuthorizedRepresentative());
        OrganizationContract organization = pdDoc.getDevelopmentProposal().getApplicantOrganization().getOrganization();
        assuranceType.setApplicantOrganizationName(organization.getOrganizationName());

        return assuranceType;
    }
private AssuranceType getAssuranceType ( ) { AssuranceType assuranceType = AssuranceType . Factory . newInstance ( ) ; assuranceType . setFormVersionIdentifier ( FormVersion . v1_1 . getVersion ( ) ) ; assuranceType . setProgramType ( PROGRAM_TYPE ) ; assuranceType . setCoreSchemaVersion ( CORE_SCHEMA_VERSION_1_1 ) ; assuranceType . setAuthorizedRepresentative ( getAuthorizedRepresentative ( ) ) ; OrganizationContract organization = pdDoc . getDevelopmentProposal ( ) . getApplicantOrganization ( ) . getOrganization ( ) ; assuranceType . setApplicantOrganizationName ( organization . getOrganizationName ( ) ) ; return assuranceType ; }
This method gets AssuranceType details based on proposal development document.AssuranceType type includes details like
ProgramType,AuthorizedRepresentative,ApplicantOrganizationName.

@return AssuranceType object containing information about ApplicantOrganizationName,ProgramType,AuthorizedRepresentative