Package de.vinado.lib.identifier
Class Identifier<T>
java.lang.Object
de.vinado.lib.identifier.Identifier<T>
- Type Parameters:
T
- the type of theIdentifier
's value
- All Implemented Interfaces:
Serializable
,Comparable<Identifier<T>>
- Direct Known Subclasses:
NumericIdentifier
,StringIdentifier
,UuidIdentifier
public abstract class Identifier<T>
extends Object
implements Comparable<Identifier<T>>, Serializable
A generic value-wrapping value object which proxies all defined methods to its encapsulated instance. The VO mainly
exist to enforce strictly typed identifiers in domain entities reducing the misuse of ID based query functions by
providing fewer options.
- Author:
- Vincent Nadoll
- See Also: