static <Type,Bean,AttributeType> Attribute<Type,Bean,AttributeType> |
Attribute.of(java.lang.String tag,
Getter<Type,AttributeType> getter,
Setter<Bean,AttributeType> setter,
Converter<AttributeType,java.lang.String> toStringConverter,
Converter<java.lang.String,AttributeType> fromStringConverter) |
Creates a unique, non-optional attribute.
|
static <Type,Bean> Attribute<Type,Bean,java.lang.String> |
Attribute.of(java.lang.String tag,
Getter<Type,java.lang.String> getter,
Setter<Bean,java.lang.String> setter) |
Creates a unique, non-optional String attribute.
|
static <Type,Bean,RelatedType,RelatedBean> Relationship<Type,Bean,RelatedType,RelatedBean> |
Relationship.of(Entity<RelatedType,RelatedBean> relatedEntity,
Getter<Type,java.lang.Iterable<RelatedType>> getter,
Setter<Bean,RelatedType> setter) |
Creates a non-unique, optional relationship with another entity.
|
static <Type,Bean,AttributeType> Attribute<Type,Bean,AttributeType> |
Attribute.ofMulti(java.lang.String tag,
Getter<Type,java.lang.Iterable<AttributeType>> getter,
Setter<Bean,AttributeType> setter,
Converter<AttributeType,java.lang.String> toStringConverter,
Converter<java.lang.String,AttributeType> fromStringConverter) |
Creates a non-unique, optional attribute.
|
static <Type,Bean> Attribute<Type,Bean,java.lang.String> |
Attribute.ofMulti(java.lang.String tag,
Getter<Type,java.lang.Iterable<java.lang.String>> getter,
Setter<Bean,java.lang.String> setter) |
Creates a non-unique, optional String attribute.
|
static <Type,Bean,AttributeType> Attribute<Type,Bean,AttributeType> |
Attribute.ofOptional(java.lang.String tag,
Getter<Type,AttributeType> getter,
Setter<Bean,AttributeType> setter,
Converter<AttributeType,java.lang.String> toStringConverter,
Converter<java.lang.String,AttributeType> fromStringConverter) |
Creates a unique, optional attribute.
|
static <Type,Bean> Attribute<Type,Bean,java.lang.String> |
Attribute.ofOptional(java.lang.String tag,
Getter<Type,java.lang.String> getter,
Setter<Bean,java.lang.String> setter) |
Creates a unique, optional String attribute.
|
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.
|