blob: 247b2426e59794d88c77e788ff52f073f3a26eda [file] [log] [blame]
package org.osbp.tests.dtos.service;
import org.eclipse.osbp.dsl.dto.lib.services.impl.AbstractDTOServiceWithMutablePersistence;
import org.osbp.tests.dtos.DtoTestChildContainmentDto;
import org.osbp.tests.entities.DtoTestChildContainment;
@SuppressWarnings("all")
public class DtoTestChildContainmentDtoService extends AbstractDTOServiceWithMutablePersistence<DtoTestChildContainmentDto, DtoTestChildContainment> {
public DtoTestChildContainmentDtoService() {
// set the default persistence ID
setPersistenceId("businessdata");
}
public Class<DtoTestChildContainmentDto> getDtoClass() {
return DtoTestChildContainmentDto.class;
}
public Class<DtoTestChildContainment> getEntityClass() {
return DtoTestChildContainment.class;
}
public Object getId(final DtoTestChildContainmentDto dto) {
return dto.getId();
}
}