Uses of Interface
io.kojan.xml.Setter
-
Uses of Setter in io.kojan.xml
Methods in io.kojan.xml that return SetterModifier and TypeMethodDescriptionProperty.getSetter()
Obtain property setter method that can be used to update property value.Methods in io.kojan.xml with parameters of type SetterModifier 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 SetterModifierConstructorDescriptionAttribute
(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.