Package org.apache.struts.validator
Class PojoBean
java.lang.Object
org.apache.struts.validator.PojoBean
Test Bean class.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBean
(int index) Return and indexed BeanPojoBean[]
getBeans()
Return PojoBean[].double
double
float
float
Return integerValue1.Return integerValue2.int
Return intValue1.int
Return intValue2.getMap()
Return the MapSet a Mapped propertyString[]
Return stringArray.getStringArray
(int index) Return Indexed value for stringArray.Return stringValue1.Return stringValue2.void
Set the PojoBean[].void
setDoubleValue1
(double doubleValue1) void
setDoubleValue2
(double doubleValue2) void
setFloatValue1
(float floatValue1) void
setFloatValue2
(float floatValue2) void
setIntegerValue1
(Integer integerValue1) Set the integerValue1.void
setIntegerValue2
(Integer integerValue2) Set the integerValue2.void
setIntValue1
(int intValue1) Set the intValue1.void
setIntValue2
(int intValue2) Set the intValue2.void
Return the Mapvoid
Set a Mapped propertyvoid
setStringArray
(String[] stringArray) Set the stringArray.void
setStringValue1
(String stringValue1) Set the stringValue1.void
setStringValue2
(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)
-