mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/mp/MissionArgumentModel.java
private Object checkStringTypes(final String value)
    {
        if (m_Type == MissionVariableTypesEnum.STRING 
                || m_Type == MissionVariableTypesEnum.ASSET
                || m_Type == MissionVariableTypesEnum.LINK_LAYER
                || m_Type == MissionVariableTypesEnum.PHYSICAL_LINK
                || m_Type == MissionVariableTypesEnum.TRANSPORT_LAYER
                || m_Type == MissionVariableTypesEnum.PROGRAM_DEPENDENCIES)
        {
            return value;
        }
        else
        {
            throw new IllegalArgumentException(String.format("The argument type: %s is not a known argument type!", 
                    m_Type.toString()));
        }
    }
/**
     * Method used while converting to actual type that is used to determine if the argument type should be represented 
     * by a string value. This method is called in the {@link #convertToActualType(String)} and is used to reduce
     * complexity of the method.
     *  
     * @param value
     *          Value to check if the argument type is of a type that should be represented by a string.
     * @return
     *          String value that was passed in if it matches the appropriate argument type. Otherwise it throws an
     *          illegal argument exception if the argument type is not an argument type that should be represented by
     *          a string.
     */
Method used while converting to actual type that is used to determine if the argument type should be represented
by a string value. This method is called in the  #convertToActualType(String) and is used to reduce
complexity of the method.

@param value
Value to check if the argument type is of a type that should be represented by a string.
@return
String value that was passed in if it matches the appropriate argument type. Otherwise it throws an
illegal argument exception if the argument type is not an argument type that should be represented by
a string.
Method used while converting to actual type that is used to determine if the argument type should be represented by a string value . This method is called in the #convertToActualType ( String ) and is used to reduce complexity of the method . @param value Value to check if the argument type is of a type that should be represented by a string . @return String value that was passed in if it matches the appropriate argument type . Otherwise it throws an illegal argument exception if the argument type is not an argument type that should be represented by a string .
private Object checkStringTypes(final String value)
    {
        if (m_Type == MissionVariableTypesEnum.STRING 
                || m_Type == MissionVariableTypesEnum.ASSET
                || m_Type == MissionVariableTypesEnum.LINK_LAYER
                || m_Type == MissionVariableTypesEnum.PHYSICAL_LINK
                || m_Type == MissionVariableTypesEnum.TRANSPORT_LAYER
                || m_Type == MissionVariableTypesEnum.PROGRAM_DEPENDENCIES)
        {
            return value;
        }
        else
        {
            throw new IllegalArgumentException(String.format("The argument type: %s is not a known argument type!", 
                    m_Type.toString()));
        }
    }
private Object checkStringTypes ( final String value ) { if ( m_Type == MissionVariableTypesEnum . STRING || m_Type == MissionVariableTypesEnum . ASSET || m_Type == MissionVariableTypesEnum . LINK_LAYER || m_Type == MissionVariableTypesEnum . PHYSICAL_LINK || m_Type == MissionVariableTypesEnum . TRANSPORT_LAYER || m_Type == MissionVariableTypesEnum . PROGRAM_DEPENDENCIES ) { return value ; } else { throw new IllegalArgumentException ( String . format ( "The argument type: %s is not a known argument type!" , m_Type . toString ( ) ) ) ; } }
Method used while converting to actual type that is used to determine if the argument type should be represented
 by a string value.
Method used while converting to actual type that is used to determine if the argument type should be represented by a string value .