コード例 #1
0
 @Override
 public ForeignKeyDirection getForeignKeyDirection() {
   return oneToOneElement.isConstrained()
       ? ForeignKeyDirection.FROM_PARENT
       : ForeignKeyDirection.TO_PARENT;
 }
コード例 #2
0
 @Override
 protected boolean requiresImmediateFetch() {
   return !oneToOneElement.isConstrained();
 }