net.sf.sail.core.beans.assembly
Class PropertyRef

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.lang.Object getCurrentValue()
           
 java.lang.String getPropertyName()
           
 java.lang.Object getTarget()
           
 void set(java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyRef

public PropertyRef(java.lang.Object target,
                   java.lang.String propertyName)
Parameters:
target - the target bean
propertyName - the name of the property of target bean that this references
Method Detail

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.