org.compass.core.accessor
Interface Setter

All Superinterfaces:
Serializable
All Known Implementing Classes:
BasicPropertyAccessor.BasicSetter, DirectPropertyAccessor.DirectSetter

public interface Setter
extends Serializable

Sets values to a particular attribute

Initial version taken from hibernate

Author:
kimchy

Method Summary
 Method getMethod()
          Optional operation (return null)
 String getMethodName()
          Optional operation (return null)
 String getName()
          Get the property name
 void set(Object target, Object value)
          Set the property value from the given instance
 

Method Detail

set

void set(Object target,
         Object value)
         throws CompassException
Set the property value from the given instance

Throws:
CompassException

getName

String getName()
Get the property name


getMethodName

String getMethodName()
Optional operation (return null)


getMethod

Method getMethod()
Optional operation (return null)



Copyright (c) 2004-2008 The Compass Project.