Holon platform examples: Property model
This is one of the Holon Platform example projects.
This example shows how to use the
Property model to define and configure a simple data entity, which can be represented through a
PropertySet and managed using a
PropertyBox to collect, inspect and trasport the property values.
All the APIs used in this example are provided by the Holon platform Core module.
This example addresses the following topics:
- Use the
Propertyinterface to define a data model
- Use a
PropertySetto represent a model entity definition
- Work with
- Deal with
Propertyconfiguration and property value presentation
- Use a
PropertyBoxto collect, inspect and transport the property values
- Obtain a
Propertymodel from a Java bean class
The Product class represents the property model for a simple product entity.
The TestPropertyModel class is a JUnit test class to show how to use the
VirtualProperty interfaces, the
PropertyBox APIs and how to obtain a property model introspecting a Java bean class.
The complete Holon Platform reference guide is available here.
For the specific documentation about the components used in this example see:
- Holon platform Property model
- Holon platform data validation
- Holon platform Context
- Holon platform beans property model
The Holon Platform is built using Java 8, so you need a JRE/JDK version 8 or above to build and run this example projects.
Holon Platform Examples
See Holon Platform Examples for the examples directory.