org.compass.core.accessor
Class DirectPropertyAccessor.DirectSetter
java.lang.Object
org.compass.core.accessor.DirectPropertyAccessor.DirectSetter
- All Implemented Interfaces:
- Serializable, Setter
- Enclosing class:
- DirectPropertyAccessor
public static final class DirectPropertyAccessor.DirectSetter
- extends Object
- implements Setter
- See Also:
- Serialized Form
DirectPropertyAccessor.DirectSetter
DirectPropertyAccessor.DirectSetter(ReflectionField field,
Class clazz,
String name)
getName
public String getName()
- Description copied from interface:
Setter
- Get the property name
- Specified by:
getName in interface Setter
getMethod
public Method getMethod()
getMethodName
public String getMethodName()
- Description copied from interface:
Setter
- Optional operation (return null)
- Specified by:
getMethodName in interface Setter
set
public void set(Object target,
Object value)
throws CompassException
- Description copied from interface:
Setter
- Set the property value from the given instance
- Specified by:
set in interface Setter
- Throws:
CompassException
toString
public String toString()
- Overrides:
toString in class Object
Copyright (c) 2004-2008 The Compass Project.