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

io.dddrive.core.ddd.model.Part Maven / Gradle / Ivy

Go to download

Application development framework incorporating reactive and domain driven design principles.

There is a newer version: 1.0.25
Show newest version
package io.dddrive.core.ddd.model;

/**
 * A Part is an Entity that belongs to an Aggregate (but might be attached to another part as parent).
 */
public interface Part {

	A getAggregate();

	Integer getId();

	/**
	 * Calculate all the derived fields, typically after a field change.
	 */
	void calcAll();

	/**
	 * Calculate all the volatile derived fields, i.e. fields that are not saved to
	 * the database. This is triggered after loading the aggregate from the
	 * database.
	 */
	void calcVolatile();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy