use of gov.ca.cwds.cms.data.access.dto.ClientEntityAwareDTO in project api-core by ca-cwds.
the class R05814_1Test method dto.
public static ClientEntityAwareDTO dto(Client client, PlacementEpisode... placementEpisodes) {
ClientEntityAwareDTO dto = new ClientEntityAwareDTO();
dto.setEntity(client);
dto.getPlacementEpisodes().addAll(Arrays.asList(placementEpisodes));
return dto;
}
use of gov.ca.cwds.cms.data.access.dto.ClientEntityAwareDTO in project api-core by ca-cwds.
the class R05814_2Test method dto.
public static ClientEntityAwareDTO dto(Client client, PlacementEpisode... placementEpisodes) {
ClientEntityAwareDTO dto = new ClientEntityAwareDTO();
dto.setEntity(client);
dto.getPlacementEpisodes().addAll(Arrays.asList(placementEpisodes));
return dto;
}
use of gov.ca.cwds.cms.data.access.dto.ClientEntityAwareDTO in project api-core by ca-cwds.
the class R00736Test method dto.
private static ClientEntityAwareDTO dto(String driverLicenseNumber, short driverLicenseStateCode) {
Client client = new Client();
client.setDriverLicenseNumber(driverLicenseNumber);
client.setDriverLicenseStateCode(driverLicenseStateCode);
ClientEntityAwareDTO dto = new ClientEntityAwareDTO();
dto.setEntity(client);
return dto;
}
use of gov.ca.cwds.cms.data.access.dto.ClientEntityAwareDTO in project api-core by ca-cwds.
the class R06751Test method dto.
public static ClientEntityAwareDTO dto(Client client, ClientServiceProvider... clientServiceProviders) {
ClientEntityAwareDTO dto = new ClientEntityAwareDTO();
dto.setEntity(client);
dto.getClientServiceProviders().addAll(Arrays.asList(clientServiceProviders));
return dto;
}
use of gov.ca.cwds.cms.data.access.dto.ClientEntityAwareDTO in project api-core by ca-cwds.
the class R00756Test method dto.
private static ClientEntityAwareDTO dto(Client client, ClientRelationship... relationships) {
ClientEntityAwareDTO dto = new ClientEntityAwareDTO();
dto.setEntity(client);
dto.getClientRelationships().addAll(Arrays.asList(relationships));
return dto;
}
Aggregations