Package dk.cloudcreate.essentials.immutable
package dk.cloudcreate.essentials.immutable
-
ClassDescriptionMarker interface that's shared by all immutable data types defined in this project, such as
ImmutableValueObject.The base typeImmutableValueObjectsupports creating immutable (i.e. an object where its values cannot change after object instantiation/creation) Value Object
The core feature set ofImmutableValueObjectis that it provides default implementations fortoString(),equals(Object)andhashCode(), but you're always free to override this and provide your own implementation.
Example: