Package org.company.recordshop.domain

Examples of org.company.recordshop.domain.ArtistExample


   *
   * @return {@link ArtistExample}, the resulting businessclass object.
   */
  public ArtistExample exampleFromDto(final DisLikesDto 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());
    }

    return result;
  }
View Full Code Here


   *
   * @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;
  }
View Full Code Here

TOP

Related Classes of org.company.recordshop.domain.ArtistExample

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.