Firas Framework Java Bean Util

Some utilities for setting fields of aaAa Java bean

License

License

Categories

Categories

Java Languages
GroupId

GroupId

tech.firas.framework
ArtifactId

ArtifactId

java-bean-util
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Firas Framework Java Bean Util
Some utilities for setting fields of aaAa Java bean
Project URL

Project URL

https://github.com/fs523577192/java-bean-util
Source Code Management

Source Code Management

https://github.com/fs523577192/java-bean-util

Download java-bean-util

How to add to project

<!-- https://jarcasting.com/artifacts/tech.firas.framework/java-bean-util/ -->
<dependency>
    <groupId>tech.firas.framework</groupId>
    <artifactId>java-bean-util</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/tech.firas.framework/java-bean-util/
implementation 'tech.firas.framework:java-bean-util:0.1.0'
// https://jarcasting.com/artifacts/tech.firas.framework/java-bean-util/
implementation ("tech.firas.framework:java-bean-util:0.1.0")
'tech.firas.framework:java-bean-util:jar:0.1.0'
<dependency org="tech.firas.framework" name="java-bean-util" rev="0.1.0">
  <artifact name="java-bean-util" type="jar" />
</dependency>
@Grapes(
@Grab(group='tech.firas.framework', module='java-bean-util', version='0.1.0')
)
libraryDependencies += "tech.firas.framework" % "java-bean-util" % "0.1.0"
[tech.firas.framework/java-bean-util "0.1.0"]

Dependencies

provided (1)

Group / Artifact Type Version
org.springframework : spring-core jar ${spring.version}

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

java-bean-util

FieldGetter / FieldSetter

A utility for getting / setting field value of a Java bean

ByFieldNameBeanConverter

A utility that convert a Java bean to another Java bean of another type.

The field value of the result Java bean is copied from the source Java bean if the source has a field with the same name.

Notice on using

This library depends on org.springframework:spring-core.

The dependency is of scope "provided", so you have to provide spring-core at runtime, and you can provide spring-core of any version as long as it is compatible with this library.

java.util.logging is used for logging in order to reduce external library dependencies. You may setup java.util.logging or provide an adapter to another logging library to enable logging inside this library.

How to build

There are 5 profiles in pom.xml corresponding to various version of spring-core:

  • 3.0.3
  • 3.2.2
  • 3.2.2
  • 5.0.9 (corresponding to Spring Boot 2.0.5)
  • 5.2.0 (corresponding to Spring Boot 2.2.0)

You can choose any one of the above profile to build this package.

Versions

Version
0.1.0