net.jbeans.lang.reflect
Interface IndexedValueGetter

All Known Implementing Classes:
PretenderImpl

public interface IndexedValueGetter

IndexedValueGetter defines methods which should be implementd by the class has "getValueAt(int index)" method.

Version:
$Revision: 1.1.1.1 $
Author:
Masahiro Takatsuka (masa@jbeans.net)

Field Summary
static java.lang.String GETTER_INDEX_SEPARATOR
           
static java.lang.String GETTER_NAME
          a string represents the name of method "setValueAt".
static java.lang.String GETTER_PREFIX
           
 
Method Summary
 java.lang.String getGetterNameAt(int index)
          get the setter method name for the specified index.
 int getNumberOfGetter()
          returns the number of available index.
 java.lang.Object getValueAt(int index)
          Method to set value at the specified index.
 void setGetterNameAt(int index, java.lang.String name)
          set the setter method name for the specified index.
 void setNumberOfGetter(int num)
          sets the number of index.
 

Field Detail

GETTER_NAME

public static final java.lang.String GETTER_NAME
a string represents the name of method "setValueAt".

See Also:
Constant Field Values

GETTER_PREFIX

public static final java.lang.String GETTER_PREFIX
See Also:
Constant Field Values

GETTER_INDEX_SEPARATOR

public static final java.lang.String GETTER_INDEX_SEPARATOR
See Also:
Constant Field Values
Method Detail

getNumberOfGetter

public int getNumberOfGetter()
returns the number of available index.


setNumberOfGetter

public void setNumberOfGetter(int num)
sets the number of index.


getValueAt

public java.lang.Object getValueAt(int index)
Method to set value at the specified index.


setGetterNameAt

public void setGetterNameAt(int index,
                            java.lang.String name)
set the setter method name for the specified index.


getGetterNameAt

public java.lang.String getGetterNameAt(int index)
get the setter method name for the specified index.



Copyright © 2003 JBean project. All Rights Reserved.