public class IndexedEntityCollectionReflector extends BaseEntityCollectionReflector implements net.sf.morph.reflect.MutableIndexedContainerReflector, net.sf.morph.reflect.SizableReflector, net.sf.morph.reflect.BeanReflector
| Modifier and Type | Field and Description |
|---|---|
static String |
IMPLICIT_PROPERTY_PROTOTYPE
Prototype property constant.
|
TYPE_OVERRIDE| Constructor and Description |
|---|
IndexedEntityCollectionReflector() |
| Modifier and Type | Method and Description |
|---|---|
protected Entity |
getEntity(Object container,
int index)
Get the child entity at index
index. |
protected Entity |
getEntity(Object bean,
String propertyName)
Get the named child entity.
|
protected Object |
getImpl(Object bean,
String propertyName) |
protected Class<?>[] |
getReflectableClassesImpl() |
protected int |
getSizeImpl(Object o) |
protected boolean |
isEntity(Object bean,
String propertyName)
Learn whether the specified property refers to an Entity child.
|
getContainedTypeImpl, getImpl, getIteratorImpl, getPropertyNamesImpl, getToTextConverter, getTypeImpl, isReadableImpl, isTrimStrings, isWriteableImpl, setEntityValue, setImpl, setImpl, setToTextConverter, setTrimStringsadd, addImpl, checkIndex, checkIsReflectable, createWrapperInvocationHandler, get, get, getContainedType, getIterator, getPropertyNames, getReflectableCallCache, getReflectableClasses, getReflectorName, getSize, getType, getWrapper, getWrapperImpl, initialize, initializeImpl, isCachingIsReflectableCalls, isInitialized, isPerformingLogging, isReadable, isReflectable, isReflectable, isReflectableImpl, isReflectableImpl, isStrictlyTyped, isValidIndex, isWrappingRuntimeExceptions, isWriteable, newInstance, newInstanceImpl, newInstanceImpl, set, set, setCachingIsReflectableCalls, setInitialized, setReflectableCallCache, setReflectorName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String IMPLICIT_PROPERTY_PROTOTYPE
public IndexedEntityCollectionReflector()
protected Entity getEntity(Object container, int index) throws Exception
index.
Base implementation throws UnsupportedOperationException.getEntity in class BaseEntityCollectionReflectorcontainer - to readindex - to getException - on errorprotected Class<?>[] getReflectableClassesImpl() throws Exception
getReflectableClassesImpl in class net.sf.morph.reflect.reflectors.BaseReflectorExceptionprotected boolean isEntity(Object bean, String propertyName) throws Exception
isEntity in class BaseEntityCollectionReflectorbean - to inspectpropertyName - to readException - on errorprotected Object getImpl(Object bean, String propertyName) throws Exception
getImpl in class BaseEntityCollectionReflectorExceptionprotected Entity getEntity(Object bean, String propertyName) throws Exception
getEntity in class BaseEntityCollectionReflectorbean - to readpropertyName - to readException - on errorprotected int getSizeImpl(Object o) throws Exception
getSizeImpl in class BaseEntityCollectionReflectorExceptionCopyright © 2008-2016 The Apache Software Foundation. All Rights Reserved.