mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/api/EnumConverter.java
public static AssetActiveStatus convertProtoAssetActiveStatusToJava(
            final AssetMessages.AssetActiveStatus activeStatus)
    {
        if (ASSET_ACTIVE_STATUS.containsValue(activeStatus))
        {
            return ASSET_ACTIVE_STATUS.inverse().get(activeStatus);
        }
        throw new IllegalArgumentException(
                String.format("Invalid proto asset active status specified: %s", activeStatus));
    }
/**
     * Method used to convert proto based 
     * {@link mil.dod.th.core.remote.proto.AssetMessages.AssetActiveStatus} to 
     * {@link AssetActiveStatus}.
     * 
     * @param activeStatus
     *      The proto asset active status enumeration to be converted.
     * @return
     *      The java equivalent asset active status enumeration.
     */


@param activeStatus
The proto asset active status enumeration to be converted.
@return
The java equivalent asset active status enumeration.
@param activeStatus The proto asset active status enumeration to be converted . @return The java equivalent asset active status enumeration .
public static AssetActiveStatus convertProtoAssetActiveStatusToJava(
            final AssetMessages.AssetActiveStatus activeStatus)
    {
        if (ASSET_ACTIVE_STATUS.containsValue(activeStatus))
        {
            return ASSET_ACTIVE_STATUS.inverse().get(activeStatus);
        }
        throw new IllegalArgumentException(
                String.format("Invalid proto asset active status specified: %s", activeStatus));
    }
public static AssetActiveStatus convertProtoAssetActiveStatusToJava ( final AssetMessages . AssetActiveStatus activeStatus ) { if ( ASSET_ACTIVE_STATUS . containsValue ( activeStatus ) ) { return ASSET_ACTIVE_STATUS . inverse ( ) . get ( activeStatus ) ; } throw new IllegalArgumentException ( String . format ( "Invalid proto asset active status specified: %s" , activeStatus ) ) ; }
Method used to convert proto based
 {@link mil.dod.th.core.remote.proto.AssetMessages.AssetActiveStatus} to
 {@link AssetActiveStatus}.
Method used to convert proto based { @link mil . dod . th . core . remote . proto . AssetMessages . AssetActiveStatus } to { @link AssetActiveStatus } .