1 /*
2 * DefaultSortInfoImpl.java
3 *
4 * Created on February 10, 2003, 10:04 AM
5 */
6
7 package com.mlw.fps.model.business.bean;
8
9 import java.io.Serializable;
10
11 /***
12 *
13 * @author Matthew Wilson
14 */
15 public class DefaultSortInfoImpl implements Serializable, SortInfo
16 {
17 private Integer direction;
18 private String column;
19
20 /*** Creates a new instance of DefaultSortInfoImpl
21 */
22 public DefaultSortInfoImpl()
23 {
24 }
25
26 /*** Creates a new instance of DefaultSortInfoImpl
27 */
28 public DefaultSortInfoImpl(String column, int direction)
29 {
30 this.direction = new Integer(direction);
31 this.column = column;
32 }
33
34 /*** Getter for property column.
35 * @return Value of property column.
36 */
37 public String getColumn()
38 {
39 return column;
40 }
41
42 /*** Getter for property direction.
43 * @return Value of property direction.
44 */
45 public Integer getDirection()
46 {
47 return direction;
48 }
49
50 /*** Setter for property column.
51 * @param column New value of property column.
52 */
53 public void setColumn(String column)
54 {
55 this.column = column;
56 }
57
58 /*** Setter for property direction.
59 * @param direction New value of property direction.
60 */
61 public void setDirection(Integer direction)
62 {
63 this.direction = direction;
64 }
65
66 }
This page was automatically generated by Maven