mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/api/EnumConverter.java
public static SortField convertJavaSortFieldToProto(final ObservationQuery.SortField sortField)
    {
        if (SORT_FIELD.containsKey(sortField))
        {
            return SORT_FIELD.get(sortField);
        }
        throw new IllegalArgumentException(String.format("Invalid java sort field specified: %s", sortField));
    }
/**
     * Method used to convert java based {@link mil.dod.th.core.persistence.ObservationQuery.SortField} to 
     * {@link SortField}.
     * 
     * @param sortField
     *      The java sort field enumeration to be converted.
     * @return
     *      The equivalent proto sort field enumeration.
     */


@param sortField
The java sort field enumeration to be converted.
@return
The equivalent proto sort field enumeration.
@param sortField The java sort field enumeration to be converted . @return The equivalent proto sort field enumeration .
public static SortField convertJavaSortFieldToProto(final ObservationQuery.SortField sortField)
    {
        if (SORT_FIELD.containsKey(sortField))
        {
            return SORT_FIELD.get(sortField);
        }
        throw new IllegalArgumentException(String.format("Invalid java sort field specified: %s", sortField));
    }
public static SortField convertJavaSortFieldToProto ( final ObservationQuery . SortField sortField ) { if ( SORT_FIELD . containsKey ( sortField ) ) { return SORT_FIELD . get ( sortField ) ; } throw new IllegalArgumentException ( String . format ( "Invalid java sort field specified: %s" , sortField ) ) ; }
Method used to convert java based {@link mil.dod.th.core.persistence.ObservationQuery.SortField} to
 {@link SortField}.
Method used to convert java based { @link mil . dod . th . core . persistence . ObservationQuery . SortField } to { @link SortField } .