code: public static CPMeasurementUnit fetchByG_P_T_First(long groupId,
  		boolean primary, int type,
  		OrderByComparator<CPMeasurementUnit> orderByComparator) {
  		return getPersistence()
  				   .fetchByG_P_T_First(groupId, primary, type, orderByComparator);
  	}
docs: Returns the first cp measurement unit in the ordered set where groupId = &#63; and primary = &#63; and type = &#63;.
  
  @param groupId the group ID
  @param primary the primary
  @param type the type
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the first matching cp measurement unit, or <code>null</code> if a matching cp measurement unit could not be found