Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src
README.md
pom.xml

README.md

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.

Topics

This example addresses the following topics:

  • Use the Property interface to define a data model
  • Use a PropertySet to represent a model entity definition
  • Work with VirtualPropertys
  • Deal with Property configuration and property value presentation
  • Use a PropertyBox to collect, inspect and transport the property values
  • Obtain a Property model from a Java bean class

Example structure

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 Property and VirtualProperty interfaces, the PropertySet and PropertyBox APIs and how to obtain a property model introspecting a Java bean class.

Documentation

The complete Holon Platform reference guide is available here.

For the specific documentation about the components used in this example see:

System requirements

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.

License

All the Holon Platform modules and examples are Open Source software released under the Apache 2.0 license.

Holon Platform Examples

See Holon Platform Examples for the examples directory.