Package net.tangly.gleam.model
package net.tangly.gleam.model
Provides the abstraction to configure programmatically the declarative mapping of business entities to various ports. Currently we support mappings to
- TSV - Tab Separated Values - to archive or retrieve Java entities mapped to a TSV file.
- JSON - Javascript Simple Object Notation - to archive or retrieve Java entities mapped to a JSON file.
- Naked Objects with Vaadin - under definition and not ready for use.
Import and export of business entities are supported through these frameworks.
-
ClassDescriptionEntity<T>JsonArray<T,
U> Define a field containing an array of entities.JsonEntity<T>Defines a mapping between JSON entity and a Java entity.JsonField<T,U> Defines the abstraction of a mapping between a Java property - simple type, another class mapped to a JSON entity, or a collection mapped to a JSON array - and a JSON property, type, or array.JsonProperty<T,U> Defines a JSON property mapping a Java class to a JSON entity property or mapping a simple property to a simple JSON property.TsvEntity<T>Defines an entity mapped to a row of TSV values written to a TSV file.TsvProperty<T,U> The TSV property defines the mapping between a Java property and one or multiple cells in a TSV file.TsvRelation<T>Model an one to multiple relation.