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


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