Search in sources :

Example 1 with PlacementHomeEntityAwareDTO

use of gov.ca.cwds.cms.data.access.dto.PlacementHomeEntityAwareDTO in project api-core by ca-cwds.

the class BaseDocToolRulesPlacementHomeTest method prepareSuccessfulPlacementHomeEntityAwareDTO.

private PlacementHomeEntityAwareDTO prepareSuccessfulPlacementHomeEntityAwareDTO() {
    PlacementHomeEntityAwareDTO placementHomeEntityAwareDTO = new PlacementHomeEntityAwareDTO();
    PlacementHome placementHome = new PlacementHome();
    placementHome.setAgeToNo((short) 23);
    placementHome.setZipNo("11111");
    placementHome.setLaPZipno("11111");
    placementHome.setpZipNo("11111");
    placementHome.setPyeFstnm("PyeFstnm");
    placementHome.setPyeLstnm("PyeLstnm");
    placementHome.setPstreetNm("PstreetNm");
    placementHome.setpCityNm("pCityNm");
    placementHome.setPayeeStateCode((short) 1);
    SubstituteCareProvider substituteCareProvider = new SubstituteCareProvider();
    substituteCareProvider.setZipNo("11111");
    placementHome.setPrimarySubstituteCareProvider(substituteCareProvider);
    placementHomeEntityAwareDTO.setEntity(placementHome);
    return placementHomeEntityAwareDTO;
}
Also used : PlacementHomeEntityAwareDTO(gov.ca.cwds.cms.data.access.dto.PlacementHomeEntityAwareDTO) PlacementHome(gov.ca.cwds.data.legacy.cms.entity.PlacementHome) SubstituteCareProvider(gov.ca.cwds.data.legacy.cms.entity.SubstituteCareProvider)

Aggregations

PlacementHomeEntityAwareDTO (gov.ca.cwds.cms.data.access.dto.PlacementHomeEntityAwareDTO)1 PlacementHome (gov.ca.cwds.data.legacy.cms.entity.PlacementHome)1 SubstituteCareProvider (gov.ca.cwds.data.legacy.cms.entity.SubstituteCareProvider)1