com.mlw.fps.view.form
Class SortInfoForm

java.lang.Object
  |
  +--org.apache.struts.action.ActionForm
        |
        +--com.mlw.fps.view.form.SortInfoForm
All Implemented Interfaces:
java.io.Serializable, SortInfo
Direct Known Subclasses:
AdvancedSortInfoForm

public class SortInfoForm
extends org.apache.struts.action.ActionForm
implements SortInfo

Author:
Matthew Wilson
See Also:
Serialized Form

Field Summary
static java.lang.Integer ASCENDING
           
static java.lang.Integer DESCENDING
           
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
SortInfoForm()
          Creates a new instance of SortInfoForm
 
Method Summary
 java.lang.String getColumn()
          Getter for property column.
 java.lang.Integer getDirection()
          Getter for property direction.
 void reset(org.apache.struts.action.ActionMapping a, javax.servlet.http.HttpServletRequest r)
           
 void setColumn(java.lang.String column)
          Setter for property column.
 void setDirection(java.lang.Integer direction)
          Setter for property direction.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DESCENDING

public static java.lang.Integer DESCENDING

ASCENDING

public static java.lang.Integer ASCENDING
Constructor Detail

SortInfoForm

public SortInfoForm()
Creates a new instance of SortInfoForm

Method Detail

reset

public void reset(org.apache.struts.action.ActionMapping a,
                  javax.servlet.http.HttpServletRequest r)
Overrides:
reset in class org.apache.struts.action.ActionForm

getColumn

public java.lang.String getColumn()
Getter for property column.

Specified by:
getColumn in interface SortInfo
Returns:
Value of property column.

getDirection

public java.lang.Integer getDirection()
Getter for property direction.

Specified by:
getDirection in interface SortInfo
Returns:
Value of property direction.

setColumn

public void setColumn(java.lang.String column)
Setter for property column.

Specified by:
setColumn in interface SortInfo
Parameters:
column - New value of property column.

setDirection

public void setDirection(java.lang.Integer direction)
Setter for property direction.

Specified by:
setDirection in interface SortInfo
Parameters:
direction - New value of property direction.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003 mlavilson. All Rights Reserved.