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

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

Field Detail

PR_DELEGATE

static final java.beans.DefaultPersistenceDelegate PR_DELEGATE

target

java.lang.Object target

propertyName

java.lang.String propertyName
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


Copyright 2004-2004-2006 TELS Center. All Rights Reserved.