Class AbstractValueObject<T>

java.lang.Object
com.reallifedeveloper.common.domain.AbstractValueObject<T>
Type Parameters:
T - the type of value object
All Implemented Interfaces:
DomainObject<T>, ValueObject<T>

public abstract class AbstractValueObject<T> extends Object implements ValueObject<T>
An abstract base class that should be used when creating value objects.

It provides no extra functionality, but reminds the implementor to add implementations of hashCode(), equals(Object) and toString() to the value object class.

Author:
RealLifeDeveloper
  • Constructor Details

    • AbstractValueObject

      public AbstractValueObject()
  • Method Details