com.abra.j2xb.beans.model
Class MODelegateDescriptor

java.lang.Object
  extended by com.abra.j2xb.beans.model.MOAbstractPropertyDescriptor
      extended by com.abra.j2xb.beans.model.MODelegateDescriptor

public class MODelegateDescriptor
extends MOAbstractPropertyDescriptor

Since:
JDK1.5
Version:
1.0, May 1, 2008
Author:
Yoav Abrahami

Field Summary
 
Fields inherited from class com.abra.j2xb.beans.model.MOAbstractPropertyDescriptor
group
 
Constructor Summary
MODelegateDescriptor(java.beans.PropertyDescriptor propertyDescriptor, MOBeanDescriptor parentBean)
           
 
Method Summary
 MOBeanDescriptor getDelegateBeanDescriptor()
           
 java.lang.Object getDelegateInstance(java.lang.Object bean)
          this method returns the instance of the delegate, that is being held by the bean.
 java.util.List<MODelegateDescriptor> getDelegates()
           
 java.util.List<MOPropertyDescriptor> getProperties()
           
 int getXmlOrder()
           
 
Methods inherited from class com.abra.j2xb.beans.model.MOAbstractPropertyDescriptor
getBeanDescriptor, getCanonicalName, getDefiningMethod, getGroup, getGroupPath, getJavaPropertyDescriptor, getName, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MODelegateDescriptor

public MODelegateDescriptor(java.beans.PropertyDescriptor propertyDescriptor,
                            MOBeanDescriptor parentBean)
                     throws MOBeansException
Throws:
MOBeansException
Method Detail

getProperties

public java.util.List<MOPropertyDescriptor> getProperties()

getDelegates

public java.util.List<MODelegateDescriptor> getDelegates()

getDelegateBeanDescriptor

public MOBeanDescriptor getDelegateBeanDescriptor()

getDelegateInstance

public java.lang.Object getDelegateInstance(java.lang.Object bean)
                                     throws java.lang.IllegalAccessException,
                                            java.lang.reflect.InvocationTargetException
this method returns the instance of the delegate, that is being held by the bean.

Parameters:
bean -
Returns:
delegate instance
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

getXmlOrder

public int getXmlOrder()


Copyright © 2008. All Rights Reserved.