Class HistoricityKey.KeyAttribute<E,​D,​T>

    • Constructor Detail

      • KeyAttribute

        @SafeVarargs
        public KeyAttribute​(javax.persistence.metamodel.SingularAttribute<E,​T> attribute,
                            HistoricityKey.AttrValueSupplier<T> valueSupplier,
                            DtoField<D,​?>... dtoFields)
        Parameters:
        attribute - attribute
        valueSupplier - function to get attribute value
        dtoFields - dto fields, which changing will change the attribute value