Esempio n. 1
0
        public EventPropertyGetterMapped GetGetterMapped(String mappedPropertyName)
        {
            var item = _propertyItems.Get(mappedPropertyName);

            if (item == null || !item.PropertyDescriptor.IsMapped)
            {
                return(null);
            }
            var mappedProperty = new MappedProperty(mappedPropertyName);

            return(GetterFactory.GetPropertyProvidedGetterMap(
                       NestableTypes, mappedPropertyName, mappedProperty, EventAdapterService));
        }
Esempio n. 2
0
        public EventPropertyGetterMappedSPI GetGetterMappedSPI(string mappedPropertyName)
        {
            var item = _propertyItems.Get(mappedPropertyName);
            if (item == null || !item.PropertyDescriptor.IsMapped) {
                return null;
            }

            var mappedProperty = new MappedProperty(mappedPropertyName);
            return _getterFactory.GetPropertyProvidedGetterMap(
                _nestableTypes,
                mappedPropertyName,
                mappedProperty,
                _beanEventTypeFactory.EventBeanTypedEventFactory,
                _beanEventTypeFactory);
        }