Bean Utils 0.0.2(Internal) A collection of utilities and software patterns commonly associated with data objects
Bean Utils is a support library that aids Alien-Factory 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.
Loosely named after JavaBeans, Bean Utils
is a collection of utilities and software patterns for overcoming common issues associated with data objects.
Features include:
- Bean Identity
Generate
equals()
,hash()
andtoStr()
methods from annotated 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()
andfromXXX()
methods. - More!
Utility methods to find matching ctors and methods.
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.
Use
To use Bean Utils in a Fantom project, add a dependency to the project's build.fan
:
depends = ["sys 1.0", ..., "afBeanUtils 0.0.2 - 0.0"]
Documentation
Information
Meta information on the Bean Utils pod:
- Published by
- Steve Eynon
- Organisation
- Alien-Factory
- Pod file size
- 55.95 kB
- Licence
- The MIT Licence
- Built on
- 4th Jun 2014
- Source code
- at https://bitbucket.org/AlienFactory/afbeanutils
- Depends on
- sys
- Referenced by
- Javascript Compatible
- No
Dependency Graph
Release History
There have been 10 releases of Bean Utils: