blob: 0d3df7fc02e20fb133d8aa057db690f87f48e340 [file] [log] [blame]
/**
* Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf), Loetz GmbH&Co.KG (Heidelberg)
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Florian Pirchner - Initial implementation
*/
package org.osbp.mysmartshop.dtos.service;
import org.eclipse.osbp.dsl.dto.lib.services.impl.AbstractDTOServiceWithMutablePersistence;
import org.osbp.mysmartshop.dtos.CashPaymentMethodDto;
import org.osbp.mysmartshop.entities.CashPaymentMethod;
@SuppressWarnings("all")
public class CashPaymentMethodDtoService extends AbstractDTOServiceWithMutablePersistence<CashPaymentMethodDto, CashPaymentMethod> {
public CashPaymentMethodDtoService() {
// set the default persistence ID
setPersistenceId("testCarstore");
}
public Class<CashPaymentMethodDto> getDtoClass() {
return CashPaymentMethodDto.class;
}
public Class<CashPaymentMethod> getEntityClass() {
return CashPaymentMethod.class;
}
public Object getId(final CashPaymentMethodDto dto) {
return dto.getId();
}
}