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


@param sortOrder
The proto sort order enumeration to be converted.
@return
The equivalent java sort order enumeration.
@param sortOrder The proto sort order enumeration to be converted . @return The equivalent java sort order enumeration .
public static ObservationQuery.SortOrder convertProtoSortOrderToJava(final SortOrder sortOrder)
    {
        if (SORT_ORDER.containsValue(sortOrder))
        {
            return SORT_ORDER.inverse().get(sortOrder);
        }
        throw new IllegalArgumentException(String.format("Invalid proto sort order specified: %s", sortOrder));
    }
public static ObservationQuery . SortOrder convertProtoSortOrderToJava ( final SortOrder sortOrder ) { if ( SORT_ORDER . containsValue ( sortOrder ) ) { return SORT_ORDER . inverse ( ) . get ( sortOrder ) ; } throw new IllegalArgumentException ( String . format ( "Invalid proto sort order specified: %s" , sortOrder ) ) ; }
Method used to convert proto based {@link SortOrder} to
 {@link mil.dod.th.core.persistence.ObservationQuery.SortOrder}.
Method used to convert proto based { @link SortOrder } to { @link mil . dod . th . core . persistence . ObservationQuery . SortOrder } .