net.sf.sail.core.beans.assembly
Class PropertyRef
java.lang.Object
net.sf.sail.core.beans.assembly.PropertyRef
- Direct Known Subclasses:
- IndexedPropertyRef
public class PropertyRef
- extends java.lang.Object
Reference to a bean's property that maintains over long-term persistance.
- Author:
- turadg
Constructor Summary |
PropertyRef(java.lang.Object target,
java.lang.String propertyName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PropertyRef
public PropertyRef(java.lang.Object target,
java.lang.String propertyName)
- Parameters:
target
- the target beanpropertyName
- the name of the property of target bean that this references
getTarget
public java.lang.Object getTarget()
getPropertyName
public java.lang.String getPropertyName()
set
public void set(java.lang.Object value)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.NoSuchMethodException
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
getCurrentValue
public java.lang.Object getCurrentValue()
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.NoSuchMethodException
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004-2008 TELS Center. All Rights Reserved.