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
|
Field Summary |
(package private) static java.beans.DefaultPersistenceDelegate |
PR_DELEGATE
|
(package private) java.lang.String |
propertyName
|
(package private) java.lang.Object |
target
|
|
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, toString, wait, wait, wait |
PR_DELEGATE
static final java.beans.DefaultPersistenceDelegate PR_DELEGATE
target
java.lang.Object target
propertyName
java.lang.String propertyName
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
Copyright 2004-2004-2006 TELS Center. All Rights Reserved.