fixed project structure

This commit is contained in:
Shautvast 2023-05-28 18:02:19 +02:00
parent b558c89e24
commit d59a9e1941
6 changed files with 36 additions and 10 deletions

View file

@ -3,9 +3,13 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<groupId>nl.sanderhautvast</groupId>
<parent>
<groupId>nl.sanderhautvast</groupId>
<artifactId>contiguous-pom</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>contiguous-demo</artifactId>
<version>1.1</version>
<modelVersion>4.0.0</modelVersion>

View file

@ -3,9 +3,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<groupId>nl.sanderhautvast</groupId>
<parent>
<groupId>nl.sanderhautvast</groupId>
<artifactId>contiguous-pom</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>contiguous-jackson</artifactId>
<version>1.1</version>
<description>Using Jackson to convert Contiguous data to JSON</description>
<modelVersion>4.0.0</modelVersion>

View file

@ -3,9 +3,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<groupId>nl.sanderhautvast</groupId>
<parent>
<groupId>nl.sanderhautvast</groupId>
<artifactId>contiguous-pom</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>contiguous-jdbc</artifactId>
<version>1.0-SNAPSHOT</version>
<description>JDBC functions for Contiguous data</description>
<modelVersion>4.0.0</modelVersion>

View file

@ -28,6 +28,9 @@ public class JdbcResults {
/**
* Adds the data to an existing CList.
*
* The fieldNameMapper Function does not have to map for column names that do match. So only non-equal
* names have to be mapped.
*
* @param result the JDBC ResultSet
* @param list The list to add to
* @param fieldNameMapper maps the name from the element type property to the actual database column name
@ -72,7 +75,10 @@ public class JdbcResults {
/**
* Same as addAll, but creates a new CList.
*
* <p>
* The fieldNameMapper Function does not have to map for column names that do match. So only non-equal
* names have to be mapped.
* <p>
* @param result The CList
* @param elementType the desired Object type
* @param fieldNameMapper maps the name from the element type property to the actual database column name

View file

@ -4,10 +4,15 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>nl.sanderhautvast</groupId>
<parent>
<groupId>nl.sanderhautvast</groupId>
<artifactId>contiguous-pom</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>contiguous</artifactId>
<description>Datastructures with contiguous storage. Core library with no external dependencies</description>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>

View file

@ -6,7 +6,8 @@
<groupId>nl.sanderhautvast</groupId>
<artifactId>contiguous-pom</artifactId>
<packaging>pom</packaging>
<version>1.1</version>
<version>1.0-SNAPSHOT</version>
<modules>
<module>lib</module>
<module>demo</module>