com.codetaco.funnel.parameters.OrderBy Maven / Gradle / Ivy
package com.codetaco.funnel.parameters;
import com.codetaco.argument.annotation.Arg;
import com.codetaco.funnel.orderby.KeyDirection;
/**
*
* OrderBy class.
*
*
* @author Chris DeGreef [email protected]
*/
public class OrderBy
{
@Arg(positional = true,
required = true,
allowCamelCaps = true,
help = "A previously defined column name.")
public String columnName;
@Arg(shortName = 'd',
positional = true,
defaultValues = "ASC",
help = "The direction of the sort for this key. AASC and ADESC are absolute values of the key - the case of letters would not matter and the sign of numbers would not matter.")
public KeyDirection direction;
/**
*
* Constructor for OrderBy.
*
*/
public OrderBy()
{
super();
}
}