public interface Association<T> extends AbstractAssociation
T get()
void set(T associated) throws IllegalArgumentException, IllegalStateException
associated
- the entityIllegalArgumentException
- thrown if the entity is not a valid reference for this associationIllegalStateException
- thrown if association is immutableEntityReference reference()