FileDocCategorySizeDatePackage
ValueHolder.javaAPI DocExample429Tue Mar 30 23:14:16 BST 2004com.oreilly.strutsckbk

ValueHolder.java

package com.oreilly.strutsckbk;

public class ValueHolder {
   private int value1;
   private int value2;

   public int getValue1() {
		return value1;
	}

   public void setValue1(int value1) {
		this.value1 = value1;
	}

   public int getValue2() {
		return value2;
	}
   
   public void setValue2(int value2) {
		this.value2 = value2;
	}
   
   public int getSum() {
   	return value1+value2;
   }
}