Package org.apache.struts.validator
Class PojoBean
java.lang.Object
org.apache.struts.validator.PojoBean
Test Bean class.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBean(int index) Return and indexed BeanPojoBean[]getBeans()Return PojoBean[].doubledoublefloatfloatReturn integerValue1.Return integerValue2.intReturn intValue1.intReturn intValue2.getMap()Return the MapSet a Mapped propertyString[]Return stringArray.getStringArray(int index) Return Indexed value for stringArray.Return stringValue1.Return stringValue2.voidSet the PojoBean[].voidsetDoubleValue1(double doubleValue1) voidsetDoubleValue2(double doubleValue2) voidsetFloatValue1(float floatValue1) voidsetFloatValue2(float floatValue2) voidsetIntegerValue1(Integer integerValue1) Set the integerValue1.voidsetIntegerValue2(Integer integerValue2) Set the integerValue2.voidsetIntValue1(int intValue1) Set the intValue1.voidsetIntValue2(int intValue2) Set the intValue2.voidReturn the MapvoidSet a Mapped propertyvoidsetStringArray(String[] stringArray) Set the stringArray.voidsetStringValue1(String stringValue1) Set the stringValue1.voidsetStringValue2(String stringValue2) Set the stringValue2.
-
Field Details
-
stringValue1
-
stringValue2
-
intValue1
protected int intValue1 -
intValue2
protected int intValue2 -
integerValue1
-
integerValue2
-
floatValue1
protected float floatValue1 -
floatValue2
protected float floatValue2 -
doubleValue1
protected double doubleValue1 -
doubleValue2
protected double doubleValue2 -
beans
-
map
-
stringArray
-
-
Constructor Details
-
PojoBean
public PojoBean()Default Constructor -
PojoBean
Construct Bean with a pair of String values. -
PojoBean
public PojoBean(int intValue1, int intValue2) Construct Bean with a pair of integer values.
-
-
Method Details
-
setStringValue1
Set the stringValue1. -
getStringValue1
Return stringValue1. -
setStringValue2
Set the stringValue2. -
getStringValue2
Return stringValue2. -
setStringArray
Set the stringArray. -
getStringArray
Return stringArray. -
getStringArray
Return Indexed value for stringArray. -
setIntValue1
public void setIntValue1(int intValue1) Set the intValue1. -
getIntValue1
public int getIntValue1()Return intValue1. -
setIntValue2
public void setIntValue2(int intValue2) Set the intValue2. -
getIntValue2
public int getIntValue2()Return intValue2. -
setIntegerValue1
Set the integerValue1. -
getIntegerValue1
Return integerValue1. -
setIntegerValue2
Set the integerValue2. -
getIntegerValue2
Return integerValue2. -
setBeans
Set the PojoBean[]. -
getBeans
Return PojoBean[]. -
getBean
Return and indexed Bean -
getMap
Return the Map -
setMap
Return the Map -
setMapped
Set a Mapped property -
getMapped
Set a Mapped property -
getFloatValue1
public float getFloatValue1() -
getFloatValue2
public float getFloatValue2() -
setFloatValue1
public void setFloatValue1(float floatValue1) -
setFloatValue2
public void setFloatValue2(float floatValue2) -
getDoubleValue1
public double getDoubleValue1() -
getDoubleValue2
public double getDoubleValue2() -
setDoubleValue1
public void setDoubleValue1(double doubleValue1) -
setDoubleValue2
public void setDoubleValue2(double doubleValue2)
-