-
static <Type,Bean>
Entity<Type,Bean>
Creates an entity using a converter method for converting entity beans to entity objects.
Creates an entity using a bean class implementing the
Builder interface.
static <Type> Entity<Type,Type>
Creates an entity over a mutable data type that does not need conversion from bean type.
<Type,Bean>
void
Serializes given
Entity into XML form.
static <Type, Bean, RelatedType, RelatedBean>
Relationship<Type, Bean, RelatedType, RelatedBean>
Relationship.of(Entity<RelatedType, RelatedBean> relatedEntity,
Getter<Type, Iterable<RelatedType>> getter,
Setter<Bean, RelatedType> setter)
Creates a non-unique, optional relationship with another entity.
static <Type, Bean, RelatedType, RelatedBean>
Relationship<Type, Bean, RelatedType, RelatedBean>
Creates a unique, optional relationship with another entity.
<Type,Bean>
void
Deserializes given
Entity from XML form.
Creates a relationship between two entities.