T - type of the object the identifier identifies.I - type of the identifier value. It should be an immutable type. It
is critical this type implements equals() and hashCode() correctly.public final class Id<T,I extends Serializable> extends Object implements Serializable
public static <T,I extends Serializable> Id<T,I> valueOf(I value)
value - value.public I getValue()
Copyright © 2014. All Rights Reserved.