Property fields




How can I use a Property, such as:

as a field within an entity class?

I want to bind a JavaFX CheckBoxTableCell control to the property.





You can use a simple boolean or Boolean persistent field in an entity class, and wrap it with a set and get methods that will implement a BooleanProperty type property (i.e. the underlying persistent field of a BooleanProperty could be java.lang.Boolean).

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login