fixed project structure
This commit is contained in:
parent
b558c89e24
commit
d59a9e1941
6 changed files with 36 additions and 10 deletions
|
|
@ -3,9 +3,13 @@
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<artifactId>contiguous-demo</artifactId>
|
||||||
<version>1.1</version>
|
|
||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,14 @@
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<artifactId>contiguous-jackson</artifactId>
|
||||||
<version>1.1</version>
|
|
||||||
<description>Using Jackson to convert Contiguous data to JSON</description>
|
<description>Using Jackson to convert Contiguous data to JSON</description>
|
||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,14 @@
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<artifactId>contiguous-jdbc</artifactId>
|
||||||
<version>1.0-SNAPSHOT</version>
|
|
||||||
<description>JDBC functions for Contiguous data</description>
|
<description>JDBC functions for Contiguous data</description>
|
||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,9 @@ public class JdbcResults {
|
||||||
/**
|
/**
|
||||||
* Adds the data to an existing CList.
|
* 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 result the JDBC ResultSet
|
||||||
* @param list The list to add to
|
* @param list The list to add to
|
||||||
* @param fieldNameMapper maps the name from the element type property to the actual database column name
|
* @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.
|
* 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 result The CList
|
||||||
* @param elementType the desired Object type
|
* @param elementType the desired Object type
|
||||||
* @param fieldNameMapper maps the name from the element type property to the actual database column name
|
* @param fieldNameMapper maps the name from the element type property to the actual database column name
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,15 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
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>
|
<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>
|
<artifactId>contiguous</artifactId>
|
||||||
|
|
||||||
<description>Datastructures with contiguous storage. Core library with no external dependencies</description>
|
<description>Datastructures with contiguous storage. Core library with no external dependencies</description>
|
||||||
<version>1.0-SNAPSHOT</version>
|
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|
|
||||||
3
pom.xml
3
pom.xml
|
|
@ -6,7 +6,8 @@
|
||||||
<groupId>nl.sanderhautvast</groupId>
|
<groupId>nl.sanderhautvast</groupId>
|
||||||
<artifactId>contiguous-pom</artifactId>
|
<artifactId>contiguous-pom</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<version>1.1</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>lib</module>
|
<module>lib</module>
|
||||||
<module>demo</module>
|
<module>demo</module>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue