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

java.lang.Object
  extended by net.sf.sail.core.beans.assembly.PropertyRef
      extended by net.sf.sail.core.beans.assembly.IndexedPropertyRef

public class IndexedPropertyRef
extends PropertyRef

Version of PropertyRef that points to an index within the property

Author:
turadg
See Also:
PropertyRef

Field Summary
(package private) static java.beans.DefaultPersistenceDelegate IPR_DELEGATE
           
 
Fields inherited from class net.sf.sail.core.beans.assembly.PropertyRef
PR_DELEGATE, propertyName, target
 
Constructor Summary
IndexedPropertyRef(java.lang.Object target, java.lang.String propertyName, int index)
           
 
Method Summary
 int getIndex()
           
 void set(java.lang.Object value)
           
 void setIndex(int index)
           
 
Methods inherited from class net.sf.sail.core.beans.assembly.PropertyRef
getCurrentValue, getPropertyName, getTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IPR_DELEGATE

static final java.beans.DefaultPersistenceDelegate IPR_DELEGATE
Constructor Detail

IndexedPropertyRef

public IndexedPropertyRef(java.lang.Object target,
                          java.lang.String propertyName,
                          int index)
Method Detail

getIndex

public int getIndex()

setIndex

public void setIndex(int index)

set

public void set(java.lang.Object value)
         throws java.lang.IllegalAccessException,
                java.lang.reflect.InvocationTargetException,
                java.lang.NoSuchMethodException
Overrides:
set in class PropertyRef
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException


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