package com.alexrnl.jbetaseries.request.parameters;

/**
 * Parameter which allow to set an order on the notifications received.<br />
 * @author Alex
 */
public class Sort extends Parameter<Sort.Type> {
	/** */
	public static final String	PARAMETER_SORT	= "sort";
	
	/**
	 * @author Alex
	 */
	public static enum Type {
		/** Ascending sort ordering */
		ASCENDING ("asc"),
		/** Descending sort ordering */
		DESCENDING ("desc");
		
		/** The value of the sorting type */
		private String	value;
		
		/**
		 * Constructor #1.<br />
		 * @param value
		 *        the value of the type.
		 */
		private Type (final String value) {
			this.value = value;
		}

		/**
		 * Return the attribute value.
		 * @return the attribute value.
		 */
		public String getValue () {
			return value;
		}

		@Override
		public String toString () {
			return getValue();
		}
		
		
	}
	
	/**
	 * Constructor #1.<br />
	 * @param sort
	 *        the sort type required.
	 */
	public Sort (final Type sort) {
		super(PARAMETER_SORT, sort);
	}
}

@@ -201,16 +201,47 @@
 %3E %7B%0A%09/**
+ The name of the sort parameter
  */%0A%09pub

Add missing javadoc