Uses of Class
io.kojan.xml.Relationship
-
Uses of Relationship in io.kojan.xml
Methods in io.kojan.xml that return RelationshipModifier and TypeMethodDescriptionstatic <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> Relationship.ofSingular
(Entity<RelatedType, RelatedBean> relatedEntity, Getter<Type, RelatedType> getter, Setter<Bean, RelatedType> setter) Creates a unique, optional relationship with another entity.