Is there a more efficient way of setting and getting strings from a bean than like my code below? Seems like way too much code for just setting two strings.
Thanks for any ideas.
package jspBean;
public class dimA {
//Indicator 1
String i1;
String i2;
public void setI1( String value )
{
i1 = value;
}
public void setI2( String value )
{
i2 = value;
}
public String getsetI1() { return i1; }
public String getsetI2() { return i2; }
}
Thanks for any ideas.
package jspBean;
public class dimA {
//Indicator 1
String i1;
String i2;
public void setI1( String value )
{
i1 = value;
}
public void setI2( String value )
{
i2 = value;
}
public String getsetI1() { return i1; }
public String getsetI2() { return i2; }
}