Uses of Interface
io.kojan.xml.Getter
-
Uses of Getter in io.kojan.xml
Methods in io.kojan.xml that return GetterModifier and TypeMethodDescriptionProperty.getGetter()
Obtain property getter method that can be used to retrieve property value.Methods in io.kojan.xml with parameters of type GetterModifier and TypeMethodDescriptionstatic <Type,
Bean, AttributeType>
Attribute<Type, Bean, AttributeType> Attribute.of
(String tag, Getter<Type, AttributeType> getter, Setter<Bean, AttributeType> setter, Converter<AttributeType, String> toStringConverter, Converter<String, AttributeType> fromStringConverter) Creates a unique, non-optional attribute.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, 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
(String tag, Getter<Type, Iterable<AttributeType>> getter, Setter<Bean, AttributeType> setter, Converter<AttributeType, String> toStringConverter, Converter<String, AttributeType> fromStringConverter) Creates a non-unique, optional attribute.Creates a non-unique, optional String attribute.static <Type,
Bean, AttributeType>
Attribute<Type, Bean, AttributeType> Attribute.ofOptional
(String tag, Getter<Type, AttributeType> getter, Setter<Bean, AttributeType> setter, Converter<AttributeType, String> toStringConverter, Converter<String, AttributeType> fromStringConverter) Creates a unique, optional attribute.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.Constructors in io.kojan.xml with parameters of type GetterModifierConstructorDescriptionAttribute
(String tag, Getter<EnclosingType, Iterable<AttributeType>> getter, Setter<EnclosingBean, AttributeType> setter, Converter<AttributeType, String> toStringConverter, Converter<String, AttributeType> fromStringConverter, boolean optional, boolean unique) Creates an attribute of an entity.protected
Property
(String tag, Getter<EnclosingType, Iterable<NestedType>> getter, Setter<EnclosingBean, NestedType> setter, boolean optional, boolean unique) Initializes the abstract property.Relationship
(Entity<RelatedType, RelatedBean> relatedEntity, Getter<EnclosingType, Iterable<RelatedType>> getter, Setter<EnclosingBean, RelatedType> setter, boolean optional, boolean unique) Creates a relationship between two entities.