org.compass.core.accessor
Class DirectPropertyAccessor.DirectGetter
java.lang.Object
org.compass.core.accessor.DirectPropertyAccessor.DirectGetter
- All Implemented Interfaces:
- Serializable, Getter
- Enclosing class:
- DirectPropertyAccessor
public static final class DirectPropertyAccessor.DirectGetter
- extends Object
- implements Getter
- See Also:
- Serialized Form
DirectPropertyAccessor.DirectGetter
DirectPropertyAccessor.DirectGetter(Field field,
Class clazz,
String name)
get
public Object get(Object target)
throws CompassException
- Description copied from interface:
Getter
- Get the property value from the given instance
- Specified by:
get in interface Getter
- Throws:
CompassException
getName
public String getName()
- Description copied from interface:
Getter
- Get the property name
- Specified by:
getName in interface Getter
getReturnType
public Class getReturnType()
- Description copied from interface:
Getter
- Get the declared Java type
- Specified by:
getReturnType in interface Getter
getField
public Field getField()
readResolve
Object readResolve()
toString
public String toString()
- Overrides:
toString in class Object
Copyright (c) 2004-2006 The Compass Project.