The module projects of the parent project moved to its own projects.
The jobject-extensions project provides main operation that you can do with java objects.
When programming with java you offen have to clone, copy and some times you have even merge objects. Thats exactly the functionality what this library provides. There are several extension methods for the java core class Object. The feature extension methods can be provided over the lombok library.
If you like this project put a ⭐ and donate
- very small size
- extension methods for java core class Object for clone, copy and merge
- modularize, import only the functionality you need
- simple to use
No animals were harmed in the making of this library.
This project is kept as an open source product and relies on contributions to remain being developed. If you like this project, please consider a donation through paypal:
or over bitcoin or bitcoin-cash with:
1Jzso5h7U82QCNmgxxSCya1yUK7UVcSXsW
or over ether with:
0xaB6EaE10F352268B0CA672Dd6e999C86344D49D8
The source code comes under the liberal MIT License, making jobject-extensions great for all types of applications.
Maven dependency is now on sonatype. Check out sonatype repository for latest snapshots and releases.
Add the following maven dependency to your project pom.xml
if you want to import the core functionality of jobject-extensions:
Than you can add the dependency to your dependencies:
<properties>
...
<!-- JOBJECT-EXTENSIONS versions -->
<jobject-extensions.version>3.1.2</jobject-extensions.version>
<jobject-clone.version>${jobject-extensions.version}</jobject-clone.version>
<jobject-copy.version>${jobject-extensions.version}</jobject-copy.version>
<jobject-merge.version>${jobject-extensions.version}</jobject-merge.version>
...
</properties>
You can add the following dependencies to your project for use the functionality of jobject-extensions.
Add the following maven dependency to your project pom.xml
if you want to import the core functionality of jobject-clone:
<dependencies>
...
<!-- JOBJECT-CLONE DEPENDENCY -->
<dependency>
<groupId>de.alpharogroup</groupId>
<artifactId>jobject-clone</artifactId>
<version>${jobject-clone.version}</version>
</dependency>
...
</dependencies>
Add the following maven dependency to your project pom.xml
if you want to import the functionality of jobject-copy:
<dependencies>
...
<!-- JOBJECT-COPY DEPENDENCY -->
<dependency>
<groupId>de.alpharogroup</groupId>
<artifactId>jobject-copy</artifactId>
<version>${jobject-copy.version}</version>
</dependency>
...
</dependencies>
Add the following maven dependency to your project pom.xml
if you want to import only the jobject-merge:
<dependencies>
...
<!-- JOBJECT-MERGE DEPENDENCY -->
<dependency>
<groupId>de.alpharogroup</groupId>
<artifactId>jobject-merge</artifactId>
<version>${jobject-merge.version}</version>
</dependency>
...
</dependencies>
You can of course import all dependencies of jobject-extensions:
<dependencies>
...
<!-- JOBJECT-EXTENSIONS DEPENDENCIES -->
<!-- JOBJECT-CLONE DEPENDENCY -->
<dependency>
<groupId>de.alpharogroup</groupId>
<artifactId>jobject-clone</artifactId>
<version>${jobject-clone.version}</version>
</dependency>
<!-- JOBJECT-COPY DEPENDENCY -->
<dependency>
<groupId>de.alpharogroup</groupId>
<artifactId>jobject-copy</artifactId>
<version>${jobject-copy.version}</version>
</dependency>
<!-- JOBJECT-MERGE DEPENDENCY -->
<dependency>
<groupId>de.alpharogroup</groupId>
<artifactId>jobject-merge</artifactId>
<version>${jobject-merge.version}</version>
</dependency>
...
</dependencies>
The versions of jobject-extensions are maintained with the Semantic Versioning guidelines.
Release version numbers will be incremented in the following format:
<major>.<minor>.<patch>
For detailed information on versioning you can visit the wiki page.
The source code for jobject-extensions are on GitHub. Please feel free to fork and send pull requests!
Create your own fork of lightblueseas/jobject-extensions/fork
To share your changes, submit a pull request.
Don't forget to add new units tests on your changes.
Do not hesitate to contact the jobject-extensions developers with your questions, concerns, comments, bug reports, or feature requests.
- Feature requests, questions and bug reports can be reported at the issues page.
- cloning deep clone java objects
- JaVers JaVers - Object auditing and diff framework for Java
- jOOR Fluent Reflection in Java jOOR is a very simple fluent API that gives access to your Java Class structures in a more intuitive way.
Travis CI |
---|
[] |
Special thanks to Travis CI for providing a free continuous integration service for open source projects |
Nexus Sonatype repositories |
---|
jobject-clone |
jobject-copy |
jobject-merge |
Special thanks to sonatype repository for providing a free maven repository service for open source projects |
coveralls.io |
---|
Special thanks to coveralls.io for providing a free code coverage for open source projects |
javadoc.io |
---|
jobject-clone |
jobject-copy |
jobject-merge |
Special thanks to javadoc.io for providing a free javadoc documentation for open source projects |