@Override public ForeignKeyDirection getForeignKeyDirection() { return oneToOneElement.isConstrained() ? ForeignKeyDirection.FROM_PARENT : ForeignKeyDirection.TO_PARENT; }
@Override protected boolean requiresImmediateFetch() { return !oneToOneElement.isConstrained(); }