FileDocCategorySizeDatePackage
TestAction.javaAPI DocExample3789Mon Jul 23 13:26:26 BST 2007org.apache.struts2

TestAction

public class TestAction extends com.opensymphony.xwork2.ActionSupport

Fields Summary
private static final long
serialVersionUID
private Collection
collection
private Collection
collection2
private Map
map
private String
foo
private String
result
private org.apache.struts2.views.jsp.ui.User
user
private String[]
array
private String[]
list
private List
list2
private List
list3
private SomeEnum
status
private Integer
fooInt
Constructors Summary
Methods Summary
public java.lang.StringdoInput()

        return INPUT;
    
public java.lang.Stringexecute()

        if (result == null) {
            result = Action.SUCCESS;
        }

        return result;
    
public java.lang.String[]getArray()

        return array;
    
public java.util.CollectiongetCollection()


       
        return collection;
    
public java.util.CollectiongetCollection2()

        return this.collection2;
    
public java.lang.StringgetFoo()

        return foo;
    
public java.lang.IntegergetFooInt()

        return fooInt;
    
public java.lang.String[][]getList()

        return list;
    
public java.util.ListgetList2()

        return list2;
    
public java.util.ListgetList3()

        return this.list3;
    
public java.util.MapgetMap()

        return map;
    
public java.lang.StringgetResult()

        return result;
    
public SomeEnumgetStatus()

		return status;
	
public java.util.ListgetStatusList()

    	return Arrays.asList(SomeEnum.values());
    
public org.apache.struts2.views.jsp.ui.UsergetUser()

        return user;
    
public voidsetArray(java.lang.String[] array)

        this.array = array;
    
public voidsetCollection(java.util.Collection collection)

        this.collection = collection;
    
public voidsetCollection2(java.util.Collection collection)

        this.collection2 = collection;
    
public voidsetFoo(java.lang.String foo)

        this.foo = foo;
    
public voidsetFooInt(java.lang.Integer fooInt)

        this.fooInt = fooInt;
    
public voidsetList(java.lang.String[][] list)

        this.list = list;
    
public voidsetList2(java.util.List list2)

        this.list2 = list2;
    
public voidsetList3(java.util.List list)

        this.list3 = list;
    
public voidsetMap(java.util.Map map)

        this.map = map;
    
public voidsetResult(java.lang.String result)

        this.result = result;
    
public voidsetStatus(SomeEnum status)

		this.status = status;
	
public voidsetUser(org.apache.struts2.views.jsp.ui.User user)

        this.user = user;