<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE log4j:configuration PUBLIC "-//log4j/log4j Configuration//EN" "../WebContent/META-INF/dtds/log4j.dtd">
+<!DOCTYPE log4j:configuration SYSTEM "http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/xml/doc-files/log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="console" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="[%t] %-5p %-11c{1} - %m%n"/>
+ <param name="ConversionPattern" value="[%t][%d] %-5p %-11c{1} - %m%n"/>
</layout>
</appender>
<param name="MaxBackupIndex" value="10" />
<param name="Append" value="false" />
<layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="[%t] %-5p %-11c{1} - %m%n"/>
+ <param name="ConversionPattern" value="[%t][%d] %-5p %-11c{1} - %m%n"/>
</layout>
</appender>
<logger name="log4j.logger.org.hibernate">
<level value="DEBUG" />
</logger>
+
+ <logger name="log4j.logger.org.hibernate.type">
+ <level value="TRACE"/>
+ </logger>
<category name="com.opensymphony.xwork2.validator">
<priority value="INFO"/>
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.kernel;
+
+import org.splat.dal.bo.kernel.Role;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * Role DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface RoleDAO extends GenericDAO<Role, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.kernel;
+
+import org.splat.dal.bo.kernel.Role;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * Role DAO.
+ * @author RKV
+ *
+ */
+public class RoleDAOImpl extends
+ GenericDAOImpl<Role, Long> implements RoleDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<Role> getType() {
+ return Role.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.kernel;
+
+import org.splat.dal.bo.kernel.TextAttribute;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * TextAttribute DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface TextAttributeDAO extends GenericDAO<TextAttribute, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.kernel;
+
+import org.splat.dal.bo.kernel.TextAttribute;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * TextAttribute DAO.
+ * @author RKV
+ *
+ */
+public class TextAttributeDAOImpl extends
+ GenericDAOImpl<TextAttribute, Long> implements TextAttributeDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<TextAttribute> getType() {
+ return TextAttribute.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.kernel;
+
+import org.splat.dal.bo.kernel.User;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * User DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface UserDAO extends GenericDAO<User, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.kernel;
+
+import org.splat.dal.bo.kernel.User;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * User DAO.
+ * @author RKV
+ *
+ */
+public class UserDAOImpl extends
+ GenericDAOImpl<User, Long> implements UserDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<User> getType() {
+ return User.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.ContributorRelation;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * ContributorRelation DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface ContributorRelationDAO extends GenericDAO<ContributorRelation, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.ContributorRelation;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * ContributorRelation DAO.
+ * @author RKV
+ *
+ */
+public class ContributorRelationDAOImpl extends
+ GenericDAOImpl<ContributorRelation, Long> implements ContributorRelationDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<ContributorRelation> getType() {
+ return ContributorRelation.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.ConvertsRelation;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * ConvertsRelation DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface ConvertsRelationDAO extends GenericDAO<ConvertsRelation, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.ConvertsRelation;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * ConvertsRelation DAO.
+ * @author RKV
+ *
+ */
+public class ConvertsRelationDAOImpl extends
+ GenericDAOImpl<ConvertsRelation, Long> implements ConvertsRelationDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<ConvertsRelation> getType() {
+ return ConvertsRelation.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.Document;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * Document DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface DocumentDAO extends GenericDAO<Document, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.Document;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * Document DAO.
+ * @author RKV
+ *
+ */
+public class DocumentDAOImpl extends
+ GenericDAOImpl<Document, Long> implements DocumentDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<Document> getType() {
+ return Document.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.DocumentType;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * DocumentType DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface DocumentTypeDAO extends GenericDAO<DocumentType, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.DocumentType;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * DocumentType DAO.
+ * @author RKV
+ *
+ */
+public class DocumentTypeDAOImpl extends
+ GenericDAOImpl<DocumentType, Long> implements DocumentTypeDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<DocumentType> getType() {
+ return DocumentType.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.File;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * File DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface FileDAO extends GenericDAO<File, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.File;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * File DAO.
+ * @author RKV
+ *
+ */
+public class FileDAOImpl extends
+ GenericDAOImpl<File, Long> implements FileDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<File> getType() {
+ return File.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.IDBuilder;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * IDBuilder DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface IDBuilderDAO extends GenericDAO<IDBuilder, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.IDBuilder;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * IDBuilder DAO.
+ * @author RKV
+ *
+ */
+public class IDBuilderDAOImpl extends
+ GenericDAOImpl<IDBuilder, Long> implements IDBuilderDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<IDBuilder> getType() {
+ return IDBuilder.class;
+ }
+
+}
\ No newline at end of file
import org.splat.dal.dao.kernel.GenericDAOImpl;
/**
- * Knowledge element DAO.
+ * KnowledgeElement DAO.
* @author RKV
*
*/
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.KnowledgeElementType;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * KnowledgeElementType DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface KnowledgeElementTypeDAO extends GenericDAO<KnowledgeElementType, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.KnowledgeElementType;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * KnowledgeElementType DAO.
+ * @author RKV
+ *
+ */
+public class KnowledgeElementTypeDAOImpl extends
+ GenericDAOImpl<KnowledgeElementType, Long> implements KnowledgeElementTypeDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<KnowledgeElementType> getType() {
+ return KnowledgeElementType.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.Publication;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * Publication DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface PublicationDAO extends GenericDAO<Publication, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.Publication;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * Publication DAO.
+ * @author RKV
+ *
+ */
+public class PublicationDAOImpl extends
+ GenericDAOImpl<Publication, Long> implements PublicationDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<Publication> getType() {
+ return Publication.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.Scenario;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * Scenario DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface ScenarioDAO extends GenericDAO<Scenario, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.Scenario;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * Scenario DAO.
+ * @author RKV
+ *
+ */
+public class ScenarioDAOImpl extends
+ GenericDAOImpl<Scenario, Long> implements ScenarioDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<Scenario> getType() {
+ return Scenario.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.SimulationContext;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * SimulationContext DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface SimulationContextDAO extends GenericDAO<SimulationContext, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.SimulationContext;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * SimulationContext DAO.
+ * @author RKV
+ *
+ */
+public class SimulationContextDAOImpl extends
+ GenericDAOImpl<SimulationContext, Long> implements SimulationContextDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<SimulationContext> getType() {
+ return SimulationContext.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.SimulationContextType;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * SimulationContextType DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface SimulationContextTypeDAO extends GenericDAO<SimulationContextType, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.SimulationContextType;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * SimulationContextType DAO.
+ * @author RKV
+ *
+ */
+public class SimulationContextTypeDAOImpl extends
+ GenericDAOImpl<SimulationContextType, Long> implements SimulationContextTypeDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<SimulationContextType> getType() {
+ return SimulationContextType.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.StampRelation;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * StampRelation DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface StampRelationDAO extends GenericDAO<StampRelation, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.StampRelation;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * StampRelation DAO.
+ * @author RKV
+ *
+ */
+public class StampRelationDAOImpl extends
+ GenericDAOImpl<StampRelation, Long> implements StampRelationDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<StampRelation> getType() {
+ return StampRelation.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.Study;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * Study DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface StudyDAO extends GenericDAO<Study, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.Study;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * Study DAO.
+ * @author RKV
+ *
+ */
+public class StudyDAOImpl extends
+ GenericDAOImpl<Study, Long> implements StudyDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<Study> getType() {
+ return Study.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.Timestamp;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * Timestamp DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface TimestampDAO extends GenericDAO<Timestamp, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.Timestamp;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * Timestamp DAO.
+ * @author RKV
+ *
+ */
+public class TimestampDAOImpl extends
+ GenericDAOImpl<Timestamp, Long> implements TimestampDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<Timestamp> getType() {
+ return Timestamp.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.UsedByRelation;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * UsedByRelation DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface UsedByRelationDAO extends GenericDAO<UsedByRelation, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.UsedByRelation;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * UsedByRelation DAO.
+ * @author RKV
+ *
+ */
+public class UsedByRelationDAOImpl extends
+ GenericDAOImpl<UsedByRelation, Long> implements UsedByRelationDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<UsedByRelation> getType() {
+ return UsedByRelation.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.UsesRelation;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * UsesRelation DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface UsesRelationDAO extends GenericDAO<UsesRelation, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.UsesRelation;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * UsesRelation DAO.
+ * @author RKV
+ *
+ */
+public class UsesRelationDAOImpl extends
+ GenericDAOImpl<UsesRelation, Long> implements UsesRelationDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<UsesRelation> getType() {
+ return UsesRelation.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.ValidationCycle;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * ValidationCycle DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface ValidationCycleDAO extends GenericDAO<ValidationCycle, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.ValidationCycle;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * ValidationCycle DAO.
+ * @author RKV
+ *
+ */
+public class ValidationCycleDAOImpl extends
+ GenericDAOImpl<ValidationCycle, Long> implements ValidationCycleDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<ValidationCycle> getType() {
+ return ValidationCycle.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.ValidationCycleRelation;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * ValidationCycleRelation DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface ValidationCycleRelationDAO extends GenericDAO<ValidationCycleRelation, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.ValidationCycleRelation;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * ValidationCycleRelation DAO.
+ * @author RKV
+ *
+ */
+public class ValidationCycleRelationDAOImpl extends
+ GenericDAOImpl<ValidationCycleRelation, Long> implements ValidationCycleRelationDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<ValidationCycleRelation> getType() {
+ return ValidationCycleRelation.class;
+ }
+
+}
\ No newline at end of file
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.VersionsRelation;
+import org.splat.dal.dao.kernel.GenericDAO;
+
+/**
+ * VersionsRelation DAO class implementation.
+ * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
+ *
+ */
+public interface VersionsRelationDAO extends GenericDAO<VersionsRelation, Long> {
+}
--- /dev/null
+/*****************************************************************************
+ * Company EURIWARE
+ * Application SIMAN
+ * File $Id$
+ * Creation date 06.10.2012
+ * @author $Author$
+ * @version $Revision$
+ *****************************************************************************/
+
+package org.splat.dal.dao.som;
+
+import org.splat.dal.bo.som.VersionsRelation;
+import org.splat.dal.dao.kernel.GenericDAOImpl;
+
+/**
+ * VersionsRelation DAO.
+ * @author RKV
+ *
+ */
+public class VersionsRelationDAOImpl extends
+ GenericDAOImpl<VersionsRelation, Long> implements VersionsRelationDAO {
+
+ /**
+ * {@inheritDoc}
+ * @see org.splat.dal.dao.kernel.GenericDAOImpl#getType()
+ */
+ @Override
+ protected Class<VersionsRelation> getType() {
+ return VersionsRelation.class;
+ }
+
+}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:aop="http://www.springframework.org/schema/aop"
- xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
-http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
-http://www.springframework.org/schema/aop
-http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
-http://www.springframework.org/schema/tx
-http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
+http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
- <bean id="genericDAO" class="org.splat.dal.dao.kernel.GenericDAOImpl"
- abstract="true">
- <property name="sessionFactory" ref="simanSessionFactory" />
- </bean>
- <bean id="knowledgeElementDAO" parent="genericDAO"
- class="org.splat.dal.dao.som.KnowledgeElementDAOImpl">
- </bean>
+ <bean id="textAttributeDAO" parent="genericDAO"
+ class="org.splat.dal.dao.kernel.TextAttributeDAOImpl">
+ </bean>
+
+ <bean id="roleDAO" parent="genericDAO"
+ class="org.splat.dal.dao.kernel.RoleDAOImpl">
+ </bean>
+
+ <bean id="userDAO" parent="genericDAO"
+ class="org.splat.dal.dao.kernel.UserDAOImpl">
+ </bean>
+
+ <bean id="studyDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.StudyDAOImpl">
+ </bean>
+
+ <bean id="scenarioDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.ScenarioDAOImpl">
+ </bean>
+
+ <bean id="usesRelationDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.UsesRelationDAOImpl">
+ </bean>
+
+ <bean id="usedByRelationDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.UsedByRelationDAOImpl">
+ </bean>
+
+ <bean id="versionsRelationDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.VersionsRelationDAOImpl">
+ </bean>
+
+ <bean id="convertsRelationDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.ConvertsRelationDAOImpl">
+ </bean>
+
+ <bean id="contributorRelationDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.ContributorRelationDAOImpl">
+ </bean>
+
+ <bean id="validationCycleRelationDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.ValidationCycleRelationDAOImpl">
+ </bean>
+
+ <bean id="stampRelationDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.StampRelationDAOImpl">
+ </bean>
+
+ <bean id="fileDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.FileDAOImpl">
+ </bean>
+
+ <bean id="documentTypeDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.DocumentTypeDAOImpl">
+ </bean>
+
+ <bean id="documentDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.DocumentDAOImpl">
+ </bean>
+
+ <bean id="publicationDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.PublicationDAOImpl">
+ </bean>
+
+ <bean id="validationCycleDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.ValidationCycleDAOImpl">
+ </bean>
+
+ <bean id="timestampDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.TimestampDAOImpl">
+ </bean>
+
+ <bean id="simulationContextDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.SimulationContextDAOImpl">
+ </bean>
+
+ <bean id="simulationContextTypeDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.SimulationContextTypeDAOImpl">
+ </bean>
+
+ <bean id="knowledgeElementDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.KnowledgeElementDAOImpl">
+ </bean>
+
+ <bean id="knowledgeElementTypeDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.KnowledgeElementTypeDAOImpl">
+ </bean>
+
+ <bean id="iDBuilderDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.IDBuilderDAOImpl">
+ </bean>
+
</beans>
\ No newline at end of file
<property name="repositoryService" ref="repositoryService" />
</bean>
+ <bean id="genericDAO" class="org.splat.dal.dao.kernel.GenericDAOImpl"
+ abstract="true">
+ <property name="sessionFactory" ref="simanSessionFactory" />
+ </bean>
</beans>
public void testUpdate() throws InvalidPropertyException,
MissedPropertyException, MultiplyDefinedException {
LOG.debug(">>>>> BEGIN testUpdate()");
- LOG.debug(">>>>> BEGIN testGet()");
KnowledgeElement aKelm = getKnowledgeElement();
// Call DAO's create method for a good transient knowledge element.
Long id = _knowledgeElementDAO.create(aKelm);