1 package net.sf.sapjcosupport; 2 3 import java.util.Iterator; 4 5 /** 6 * Internal value object for the <code>SapSearchHelp</code> class. 7 * <p/> 8 * It includes a custom iterator for traversing through the fields in an ordered way. 9 * <p/> 10 * The fields in this class are all private Strings, and are accessed through reflection. 11 * 12 * @author Jo Vandermeeren 13 * @see SapSearchHelp 14 * @since Mar 21, 2006 - 12:33:52 PM 15 */ 16 public class SapSearchHelpVO { 17 private String value0; 18 private String value1; 19 private String value2; 20 private String value3; 21 private String value4; 22 private String value5; 23 private String value6; 24 private String value7; 25 private String value8; 26 private String value10; 27 private String value11; 28 private String value12; 29 private String value13; 30 private String value14; 31 private String value15; 32 private String value16; 33 private String value17; 34 private String value18; 35 private String value19; 36 37 public Iterator iterator() { 38 return new ReflectionFieldIterator(this); 39 } 40 41 public static int getFieldCount() { 42 return SapSearchHelpVO.class.getFields().length; 43 } 44 }