docs: public static Collection<?> getRows(
  			Object toManyValue,
  			AssociationKey associationKey) {
  		Collection<?> rows = null;
  
  		if ( associationKey.getMetadata().getAssociationType() == AssociationType.ONE_TO_ONE ) {
  			Object oneToOneValue = toManyValue;
  			if ( oneToOneValue != null ) {
  				rows = Collections.singletonList( oneToOneValue );
  			}
  		}
  
  		// list of rows
  		if ( toManyValue instanceof Collection ) {
  			rows = (Collection<?>) toManyValue;
  		}
  		// a map-typed association, rows are organized by row key
  		else if ( toManyValue instanceof Map ) {
  			rows = getRowsFromMapAssociation( associationKey, (Map) toManyValue );
  		}
  
  		return rows != null ? rows : Collections.emptyList();
  	}