Package io.tesler.core.service
Class HistoricityKey.KeyAttribute<E,D,T>
- java.lang.Object
-
- io.tesler.core.service.HistoricityKey.KeyAttribute<E,D,T>
-
- Enclosing class:
- HistoricityKey<E extends HistoricityEntity,D extends HistoricityDto>
public static class HistoricityKey.KeyAttribute<E,D,T> extends Object
-
-
Constructor Summary
Constructors Constructor Description KeyAttribute(javax.persistence.metamodel.SingularAttribute<E,T> attribute, HistoricityKey.AttrValueSupplier<T> valueSupplier, DtoField<D,?>... dtoFields)
-
-
-
Constructor Detail
-
KeyAttribute
@SafeVarargs public KeyAttribute(javax.persistence.metamodel.SingularAttribute<E,T> attribute, HistoricityKey.AttrValueSupplier<T> valueSupplier, DtoField<D,?>... dtoFields)
- Parameters:
attribute
- attributevalueSupplier
- function to get attribute valuedtoFields
- dto fields, which changing will change the attribute value
-
-