|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.bristleback.server.bristle.utils.Getter
public final class Getter
Utility class that holds information about object getter. Contains information about getter method and field name.
Created on: 2010-11-21 16:37:23
| Constructor Summary | |
|---|---|
Getter(java.lang.String fieldName,
java.lang.reflect.Method getterMethod)
Creates a new Getter object with complete information. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFieldName()
Name of the returned field name. |
java.lang.reflect.Method |
getGetterMethod()
Getter method. |
java.lang.Class |
getReturnType()
Type of object returned by getter method. |
java.lang.Object |
invoke(java.lang.Object bean)
Invokes getter method on the object given as parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Getter(java.lang.String fieldName,
java.lang.reflect.Method getterMethod)
fieldName - name of the field.getterMethod - getter method.| Method Detail |
|---|
public java.lang.Object invoke(java.lang.Object bean)
BristleRuntimeException to throw.
bean - the object the underlying method is invoked from.
public java.lang.Class getReturnType()
public java.lang.String getFieldName()
public java.lang.reflect.Method getGetterMethod()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||