All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kenshoo.pl.entity.CurrentEntityState Maven / Gradle / Ivy

Go to download

A Java persistence layer based on JOOQ for high performance and business flow support.

There is a newer version: 0.1.121-jooq-3.16.3
Show 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 field) {
            return null;
        }
    };

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy