*
* @return {@link ArtistExample}, the resulting businessclass object.
*/
public ArtistExample exampleFromDto(final ArtistDto source) {
Assert.notNull(source, "argument [source] may not be null");
ArtistExample result = new ArtistExample();
if (source.getFirstName() != null) {
result.setFirstName(source.getFirstName());
}
if (source.getLastName() != null) {
result.setLastName(source.getLastName());
}
if (source.getArtistName() != null) {
result.setArtistName(source.getArtistName());
}
return result;
}