org.jbeans
Class JavaBeanTools.IndexHelper

java.lang.Object
  |
  +--org.jbeans.JavaBeanTools.IndexHelper
Enclosing class:
JavaBeanTools

public static class JavaBeanTools.IndexHelper
extends Object

This class is a small helper class that is used in the beans pacakge for assisting with indexing operations.


Field Summary
 int index
          This stores the single index when this class is used to break a property name apart from an index
 List indices
          This stores the List of indices when this class is used to break a property name apart one or more indice(s).
 String propertyName
          This stores the property name that is broken apart from a single index or List of indices
 
Constructor Summary
JavaBeanTools.IndexHelper()
          Constructs a new empty index helper
JavaBeanTools.IndexHelper(String propertyName, int index)
          Constructs a new index helper with the given property name and index
JavaBeanTools.IndexHelper(String propertyName, List indices)
          Constructs a new index helper with the given property name and index list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

public int index
This stores the single index when this class is used to break a property name apart from an index

propertyName

public String propertyName
This stores the property name that is broken apart from a single index or List of indices

indices

public List indices
This stores the List of indices when this class is used to break a property name apart one or more indice(s).
Constructor Detail

JavaBeanTools.IndexHelper

public JavaBeanTools.IndexHelper()
Constructs a new empty index helper

JavaBeanTools.IndexHelper

public JavaBeanTools.IndexHelper(String propertyName,
                                 int index)
Constructs a new index helper with the given property name and index

JavaBeanTools.IndexHelper

public JavaBeanTools.IndexHelper(String propertyName,
                                 List indices)
Constructs a new index helper with the given property name and index list