com.abra.j2xb.beans.model
Class MODelegateDescriptor
java.lang.Object
com.abra.j2xb.beans.model.MOAbstractPropertyDescriptor
com.abra.j2xb.beans.model.MODelegateDescriptor
public class MODelegateDescriptor
- extends MOAbstractPropertyDescriptor
- Since:
- JDK1.5
- Version:
- 1.0, May 1, 2008
- Author:
- Yoav Abrahami
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MODelegateDescriptor
public MODelegateDescriptor(java.beans.PropertyDescriptor propertyDescriptor,
MOBeanDescriptor parentBean)
throws MOBeansException
- Throws:
MOBeansException
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.