Skip navigation links

Package net.sf.mmm.util.property.api

Provides the API for generic and powerful properties.

See: Description

Package net.sf.mmm.util.property.api Description

Provides the API for generic and powerful properties.

Property API


Unfortunately Java has no build in properties and will never have. For decades people had to waste their time writing stupid Java beans with getters, setters and other boilerplate code. Writing generic code on top of this is extremely complex and error prone and also results in relatively poor performance, access modifier violations, and many other flaws. Hence, data-bindings in Java have been a nightmare and where never compiler safe.
JavaFx wanted to cure this pain a little by introducing Property a real property. This already brings a lot of benefits especially for data-bindings, but writing Java beans manually based on such properties is causing even more boiler-plate code. Further Property still lacks a lot of build-in features such as generic value type support, validation, read-only views, JSON mapping, etc.
This API (and its implementation) comes with ReadableProperty and WritableProperty as well as all the sub-interfaces and implementations to give you full support for all your needs. It is based on and extends the JavaFx interfaces such as Property what makes it fully compatible so it can be used in JavaFx clients and many other supporting places. Further, it adds all the missing features and comes with Bean support that saves you from all the boilerplate code to give you the perfect world you need. Stop wasting your time and use your time to actually implement real value.
Note: You can also implement custom Datatypes as property just like StringListProperty or DurationInSecondsProperty.
See Also:
Bean, StringProperty, BooleanProperty, IntegerProperty, LongProperty, BigDecimalProperty, InstantProperty, LocalDateProperty, LocalDateTimeProperty, ListProperty, SetProperty, MapProperty, LinkProperty, LinkListProperty
Skip navigation links

Copyright © 2001–2016 mmm-Team. All rights reserved.