Bean Utils 1.0.14
Utilities and software patterns commonly associated with data objects (Internal)

Bean Utils is a support library that aids Fantom-Factory Ltd in the development of other libraries, frameworks and applications. Though you are welcome to use it, you may find features are missing and the documentation incomplete.

Bean Utils is a collection of utilities and software patterns for overcoming common issues associated with data objects.

Features include:

  • Bean Builder

    Static methods for creating Fantom objects. Don't make() your beans, build() them instead!

  • Bean Equality

    Generate equals(), hash() and toStr() methods from fields.

  • Bean Properties

    Get and set object properties and call methods via property expressions.

  • Type Coercer

    Convert objects, lists and maps from one type to another using Fantom's standard toXXX() and fromXXX() methods.

  • More!

    Utility methods to find matching ctors and methods.

Bean Utils is loosely named after JavaBeans,

Read more...

Install

To install Bean Utils with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install Bean Utils with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/ directory.

afBeanUtils.pod (102.44 kB)

Use

To use Bean Utils in a Fantom project, add a dependency to the project's build.fan:

depends = ["sys 1.0", ..., "afBeanUtils 1.0.14 - 1.0"]

Documentation

Information

Meta information on the Bean Utils pod:

Published by
Steve Eynon
Organisation
Fantom-Factory Ltd
Pod file size
102.44 kB
Licence
ISC
Built on
14th Apr 2023
Source code
via Git at https://github.com/Fantom-Factory/afBeanUtils
Depends on
sys
Referenced by
afBedSheet, afEfanXtra, afEggbox, afExplorer, afFancordion, afFancordionBootstrap, afFormBean, afIoc, afIocConfig, afJson, afMorphia, afPillow, afReflux
Javascript Compatible

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 10 releases of Bean Utils: