com.kenshoo.pl.entity.CurrentEntityState Maven / Gradle / Ivy
                 Go to download
                
        
                    Show more of this group  Show more artifacts with this name
Show all versions of persistence-layer Show documentation
                Show all versions of persistence-layer Show documentation
A Java persistence layer based on JOOQ for high performance and business flow support.
                
             The newest version!
        
        package com.kenshoo.pl.entity;
/**
 * The current state of an entity in the database.
 * This is the state of the entity before any changes are applied and contains the current values of the entity's fields
 * which are requested by consumers like validators, enrichers and etc.
 *
 */
public interface CurrentEntityState extends Entity {
    CurrentEntityState EMPTY = new CurrentEntityState() {
        @Override
        public boolean containsField(EntityField, ?> field) {
            return false;
        }
        @Override
        public  T get(EntityField, T> field) {
            return null;
        }
    };
}
     © 2015 - 2025 Weber Informatics LLC | Privacy Policy