static <Type,Bean> Entity<Type,Bean> |
Entity.of(java.lang.String tag,
Factory<Bean> beanFactory,
Converter<Bean,Type> converter,
Property<Type,Bean,?>... properties) |
Creates an entity using a converter method for converting entity beans to entity objects.
|
static <Type,Bean extends Builder<Type>> Entity<Type,Bean> |
Entity.of(java.lang.String tag,
Factory<Bean> beanFactory,
Property<Type,Bean,?>... properties) |
Creates an entity using a bean class implementing the Builder interface.
|
static <Type> Entity<Type,Type> |
Entity.ofMutable(java.lang.String tag,
Factory<Type> factory,
Property<Type,Type,?>... properties) |
Creates an entity over a mutable data type that does not need conversion from bean type.
|