@Override
	public CPDefinitionOptionValueRel fetchByCPDefinitionOptionRelId_First(
		long CPDefinitionOptionRelId,
		OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) {
		List<CPDefinitionOptionValueRel> list = findByCPDefinitionOptionRelId(CPDefinitionOptionRelId,
				0, 1, orderByComparator);

		if (!list.isEmpty()) {
			return list.get(0);
		}

		return null;
	}
@ Override public CPDefinitionOptionValueRel fetchByCPDefinitionOptionRelId_First ( long CPDefinitionOptionRelId , OrderByComparator < CPDefinitionOptionValueRel > orderByComparator ) { List < CPDefinitionOptionValueRel > list = findByCPDefinitionOptionRelId ( CPDefinitionOptionRelId , 0 , 1 , orderByComparator ) ; if ( ! list . isEmpty ( ) ) { return list . get ( 0 ) ; } return null ; }
Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = &#63;.

@param CPDefinitionOptionRelId the cp definition option rel ID
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the first matching cp definition option value rel, or <code>null</code> if a matching cp definition option value rel could not be found