Skip to content

lightblueseas/jobject-extensions

Repository files navigation

Overview

Build Status Coverage Status Open Issues Maven Central MIT license Donate

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

Key features:

  1. very small size
  2. extension methods for java core class Object for clone, copy and merge
  3. modularize, import only the functionality you need
  4. simple to use

Note

No animals were harmed in the making of this library.

Donations

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: PayPal this

or over bitcoin or bitcoin-cash with:

1Jzso5h7U82QCNmgxxSCya1yUK7UVcSXsW

or over ether with:

0xaB6EaE10F352268B0CA672Dd6e999C86344D49D8

or over flattr: Flattr this

License

The source code comes under the liberal MIT License, making jobject-extensions great for all types of applications.

javadoc

Javadocs jobject-clone

Javadocs jobject-copy

Javadocs jobject-merge

Maven dependency

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>

Semantic Versioning

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.

Want to Help and improve it?

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.

Contacting the Developers

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.

Similar projects

  • 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.

Credits

Travis CI
[Travis CI]
Build Status
Special thanks to Travis CI for providing a free continuous integration service for open source projects
Nexus Sonatype repositories
sonatype repository jobject-clone
sonatype repository jobject-copy
sonatype repository jobject-merge
Special thanks to sonatype repository for providing a free maven repository service for open source projects
coveralls.io
Coverage Status
Special thanks to coveralls.io for providing a free code coverage for open source projects
javadoc.io
Javadoc jobject-clone
Javadoc jobject-copy
Javadoc jobject-merge
Special thanks to javadoc.io for providing a free javadoc documentation for open source projects