Commit 3469049e authored by michael.simon's avatar michael.simon
Browse files

first DAO Objects for AttributeSource

parent f09e50c5
/*******************************************************************************
* Copyright (c) 2014 Michael Simon.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* Michael Simon - initial
******************************************************************************/
package edu.kit.scc.webreg.dao.as;
import edu.kit.scc.webreg.dao.BaseDao;
import edu.kit.scc.webreg.entity.as.AttributeSourceEntity;
public interface AttributeSourceDao extends BaseDao<AttributeSourceEntity, Long> {
}
/*******************************************************************************
* Copyright (c) 2014 Michael Simon.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* Michael Simon - initial
******************************************************************************/
package edu.kit.scc.webreg.dao.jpa.as;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Named;
import edu.kit.scc.webreg.dao.as.AttributeSourceDao;
import edu.kit.scc.webreg.dao.jpa.JpaBaseDao;
import edu.kit.scc.webreg.entity.as.AttributeSourceEntity;
@Named
@ApplicationScoped
public class JpaAttributeSourceDao extends JpaBaseDao<AttributeSourceEntity, Long> implements AttributeSourceDao {
@Override
public Class<AttributeSourceEntity> getEntityClass() {
return AttributeSourceEntity.class;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment