Examples of SLibraryImpl


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

  protected SLibrary toUnwrappedModel(SLibrary sLibrary) {
    if (sLibrary instanceof SLibraryImpl) {
      return sLibrary;
    }

    SLibraryImpl sLibraryImpl = new SLibraryImpl();

    sLibraryImpl.setNew(sLibrary.isNew());
    sLibraryImpl.setPrimaryKey(sLibrary.getPrimaryKey());

    sLibraryImpl.setLibraryId(sLibrary.getLibraryId());
    sLibraryImpl.setName(sLibrary.getName());
    sLibraryImpl.setAddress(sLibrary.getAddress());

    return sLibraryImpl;
  }
View Full Code Here

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

   *
   * @param libraryId the primary key for the new s library
   * @return the new s library
   */
  public SLibrary create(long libraryId) {
    SLibrary sLibrary = new SLibraryImpl();

    sLibrary.setNew(true);
    sLibrary.setPrimaryKey(libraryId);

    return sLibrary;
  }
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.