]> SALOME platform Git repositories - tools/siman.git/commitdiff
Salome HOME
DAOs have been generated.
authorrkv <rkv@opencascade.com>
Tue, 16 Oct 2012 06:47:32 +0000 (06:47 +0000)
committerrkv <rkv@opencascade.com>
Tue, 16 Oct 2012 06:47:32 +0000 (06:47 +0000)
49 files changed:
Workspace/Siman-Common/src/log4j.xml
Workspace/Siman-Common/src/org/splat/dal/dao/kernel/RoleDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/kernel/RoleDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/kernel/TextAttributeDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/kernel/TextAttributeDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/kernel/UserDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/kernel/UserDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/ContributorRelationDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/ContributorRelationDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/ConvertsRelationDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/ConvertsRelationDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/DocumentDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/DocumentDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/DocumentTypeDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/DocumentTypeDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/FileDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/FileDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/IDBuilderDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/IDBuilderDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/KnowledgeElementDAOImpl.java
Workspace/Siman-Common/src/org/splat/dal/dao/som/KnowledgeElementTypeDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/KnowledgeElementTypeDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/PublicationDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/PublicationDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/ScenarioDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/ScenarioDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/SimulationContextDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/SimulationContextDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/SimulationContextTypeDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/SimulationContextTypeDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/StampRelationDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/StampRelationDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/StudyDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/StudyDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/TimestampDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/TimestampDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/UsedByRelationDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/UsedByRelationDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/UsesRelationDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/UsesRelationDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/ValidationCycleDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/ValidationCycleDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/ValidationCycleRelationDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/ValidationCycleRelationDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/VersionsRelationDAO.java [new file with mode: 0644]
Workspace/Siman-Common/src/org/splat/dal/dao/som/VersionsRelationDAOImpl.java [new file with mode: 0644]
Workspace/Siman-Common/src/spring/daoContext.xml
Workspace/Siman-Common/src/spring/globalContext.xml
Workspace/Siman-Common/src/test/splat/dao/TestKnowledgeElementDAO.java

index 1511364b96e426758b0dd02d66b4e8fa4d188edc..c73cdd5e2cbf6c8feb06ceb6745fa276600fcdad 100644 (file)
@@ -1,5 +1,5 @@
 <?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/">
 
@@ -7,7 +7,7 @@
        
     <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>
     
@@ -17,7 +17,7 @@
         <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"/>
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/kernel/RoleDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/kernel/RoleDAO.java
new file mode 100644 (file)
index 0000000..08d087b
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/kernel/RoleDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/kernel/RoleDAOImpl.java
new file mode 100644 (file)
index 0000000..44a8b5f
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/kernel/TextAttributeDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/kernel/TextAttributeDAO.java
new file mode 100644 (file)
index 0000000..53a4b72
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/kernel/TextAttributeDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/kernel/TextAttributeDAOImpl.java
new file mode 100644 (file)
index 0000000..b81fd7f
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/kernel/UserDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/kernel/UserDAO.java
new file mode 100644 (file)
index 0000000..459bd52
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/kernel/UserDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/kernel/UserDAOImpl.java
new file mode 100644 (file)
index 0000000..84a226b
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/ContributorRelationDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/ContributorRelationDAO.java
new file mode 100644 (file)
index 0000000..3e5068b
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/ContributorRelationDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/ContributorRelationDAOImpl.java
new file mode 100644 (file)
index 0000000..2fc75b0
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/ConvertsRelationDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/ConvertsRelationDAO.java
new file mode 100644 (file)
index 0000000..9812845
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/ConvertsRelationDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/ConvertsRelationDAOImpl.java
new file mode 100644 (file)
index 0000000..70c1b62
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/DocumentDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/DocumentDAO.java
new file mode 100644 (file)
index 0000000..7fdc84a
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/DocumentDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/DocumentDAOImpl.java
new file mode 100644 (file)
index 0000000..7726eee
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/DocumentTypeDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/DocumentTypeDAO.java
new file mode 100644 (file)
index 0000000..5f7e795
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/DocumentTypeDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/DocumentTypeDAOImpl.java
new file mode 100644 (file)
index 0000000..dfc5e90
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/FileDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/FileDAO.java
new file mode 100644 (file)
index 0000000..1bf937f
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/FileDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/FileDAOImpl.java
new file mode 100644 (file)
index 0000000..420e9ba
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/IDBuilderDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/IDBuilderDAO.java
new file mode 100644 (file)
index 0000000..38e5ad6
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/IDBuilderDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/IDBuilderDAOImpl.java
new file mode 100644 (file)
index 0000000..e59e606
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
index f19b5ede9c6b80945f11baa1187e1210471c2957..6e3d918662240f2c192a0523ab350d24f19f4068 100644 (file)
@@ -13,7 +13,7 @@ import org.splat.dal.bo.som.KnowledgeElement;
 import org.splat.dal.dao.kernel.GenericDAOImpl;
 
 /**
- * Knowledge element DAO.
+ * KnowledgeElement DAO.
  * @author RKV
  * 
  */
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/KnowledgeElementTypeDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/KnowledgeElementTypeDAO.java
new file mode 100644 (file)
index 0000000..264d5b4
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/KnowledgeElementTypeDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/KnowledgeElementTypeDAOImpl.java
new file mode 100644 (file)
index 0000000..c7634f6
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/PublicationDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/PublicationDAO.java
new file mode 100644 (file)
index 0000000..0122d21
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/PublicationDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/PublicationDAOImpl.java
new file mode 100644 (file)
index 0000000..33bcd15
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/ScenarioDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/ScenarioDAO.java
new file mode 100644 (file)
index 0000000..404d80b
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/ScenarioDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/ScenarioDAOImpl.java
new file mode 100644 (file)
index 0000000..a267181
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/SimulationContextDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/SimulationContextDAO.java
new file mode 100644 (file)
index 0000000..8305e68
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/SimulationContextDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/SimulationContextDAOImpl.java
new file mode 100644 (file)
index 0000000..7c97821
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/SimulationContextTypeDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/SimulationContextTypeDAO.java
new file mode 100644 (file)
index 0000000..48d6e4c
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/SimulationContextTypeDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/SimulationContextTypeDAOImpl.java
new file mode 100644 (file)
index 0000000..10dfb52
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/StampRelationDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/StampRelationDAO.java
new file mode 100644 (file)
index 0000000..6ae5c64
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/StampRelationDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/StampRelationDAOImpl.java
new file mode 100644 (file)
index 0000000..93aa81f
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/StudyDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/StudyDAO.java
new file mode 100644 (file)
index 0000000..b3c530c
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/StudyDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/StudyDAOImpl.java
new file mode 100644 (file)
index 0000000..95c195f
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/TimestampDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/TimestampDAO.java
new file mode 100644 (file)
index 0000000..99e1da5
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/TimestampDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/TimestampDAOImpl.java
new file mode 100644 (file)
index 0000000..c2e51a4
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/UsedByRelationDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/UsedByRelationDAO.java
new file mode 100644 (file)
index 0000000..6a82516
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/UsedByRelationDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/UsedByRelationDAOImpl.java
new file mode 100644 (file)
index 0000000..5c8fe48
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/UsesRelationDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/UsesRelationDAO.java
new file mode 100644 (file)
index 0000000..47e13a3
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/UsesRelationDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/UsesRelationDAOImpl.java
new file mode 100644 (file)
index 0000000..35700be
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/ValidationCycleDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/ValidationCycleDAO.java
new file mode 100644 (file)
index 0000000..34091d1
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/ValidationCycleDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/ValidationCycleDAOImpl.java
new file mode 100644 (file)
index 0000000..a15006e
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/ValidationCycleRelationDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/ValidationCycleRelationDAO.java
new file mode 100644 (file)
index 0000000..b4c0024
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/ValidationCycleRelationDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/ValidationCycleRelationDAOImpl.java
new file mode 100644 (file)
index 0000000..7d59b81
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/VersionsRelationDAO.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/VersionsRelationDAO.java
new file mode 100644 (file)
index 0000000..f91231f
--- /dev/null
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * 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> {
+}
diff --git a/Workspace/Siman-Common/src/org/splat/dal/dao/som/VersionsRelationDAOImpl.java b/Workspace/Siman-Common/src/org/splat/dal/dao/som/VersionsRelationDAOImpl.java
new file mode 100644 (file)
index 0000000..86bf5b6
--- /dev/null
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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
index ec7b3a47a59a783154e6388586e3e20d9e2a0d70..0a54b951856298a5302ab1fcbd98dd2d9e8cd16b 100644 (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
index ac60f7f47f9314f07d9c190671bb58da9c9b345b..d51867821dfb7438480f6099c5e01527f374554f 100644 (file)
@@ -27,4 +27,8 @@ http://www.springframework.org/schema/context/spring-context-3.0.xsd">
                <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>
index 252f4ff019bc8ef7ced9639517cd5d5bca94377f..d5dcbde2c20b3d9ea6ba5f5ccb9160aa2d0a093c 100644 (file)
@@ -229,7 +229,6 @@ public class TestKnowledgeElementDAO extends BaseTest {
        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);