/*
 * Application.java
 *
 * Created on January 9, 2006, 2:29 PM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package usda.weru.util;
/**
 * The Application enum is used to store version information about the different applications
 * contained in the usda.weru namespace.  
 * @author Joseph Levin
 */
public enum Application {

	/**
	 *
	 */
	WEPS("WEPS", "Wind Erosion Prediction System"),

	/**
	 *
	 */
	MCREW("MCREW", "Management Crop Rotation Editor for WEPS"),

	/**
	 *
	 */
	SWEEP("SWEEP", "Single-event Wind Erosion Evaluation Program"),

	/**
	 *
	 */
	SOILUI("SOILUI", "Soil User Interface Editor for WEPS"),

	/**
	 *
	 */
	WEPSDBVIEWER("WEPSDBVIEWER", "WEPS Database Viewer/Editor"),

	/**
	 *
	 */
	WMRM("WMRM", "WEPS Multiple Run Manager");

    
    //Private variables
    private final String c_name;
    private final String c_description;
    
    
    //Constructor
    /**
     * Application Enum Constructor
     * 
     * The release and build dates are updated through Larry's cook scripts.
     * @param name Short name of the application.
     * @param description Long name of the application.
     * @param release Release number.
     * @param buildDate Date the application was built.
     */
    Application(String name, String description){
        
        c_name = name;
        c_description = description;
        
    }
    
    //Methods
    /**
     * Application Short Name
     * @return Short Name
     */
    public String getName(){
        return c_name;
    }
    /**
     * Applpication Long Name
     * @return Long Name
     */
    public String getDescription(){
        return c_description;
    }
    
}
