Examples of SAuthorImpl


Examples of com.jenginetest.builder.model.impl.SAuthorImpl

   *
   * @param authorId the primary key for the new s author
   * @return the new s author
   */
  public SAuthor create(long authorId) {
    SAuthor sAuthor = new SAuthorImpl();

    sAuthor.setNew(true);
    sAuthor.setPrimaryKey(authorId);

    return sAuthor;
  }
View Full Code Here

Examples of com.jenginetest.builder.model.impl.SAuthorImpl

  protected SAuthor toUnwrappedModel(SAuthor sAuthor) {
    if (sAuthor instanceof SAuthorImpl) {
      return sAuthor;
    }

    SAuthorImpl sAuthorImpl = new SAuthorImpl();

    sAuthorImpl.setNew(sAuthor.isNew());
    sAuthorImpl.setPrimaryKey(sAuthor.getPrimaryKey());

    sAuthorImpl.setAuthorId(sAuthor.getAuthorId());
    sAuthorImpl.setFirstName(sAuthor.getFirstName());
    sAuthorImpl.setLastName(sAuthor.getLastName());

    return sAuthorImpl;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.