Esempio n. 1
0
        public override EventPropertyGetterSPI GetGetter(BeanEventType eventType, EventAdapterService eventAdapterService)
        {
            var propertyDesc = eventType.GetSimpleProperty(PropertyNameAtomic);

            if (propertyDesc == null)
            {
                return(null);
            }
            if (!propertyDesc.PropertyType.Equals(EventPropertyType.SIMPLE))
            {
                return(null);
            }
            return(eventType.GetGetterSPI(PropertyNameAtomic));
        }
Esempio n. 2
0
        public override EventPropertyGetterSPI GetGetter(
            BeanEventType eventType,
            EventBeanTypedEventFactory eventBeanTypedEventFactory,
            BeanEventTypeFactory beanEventTypeFactory)
        {
            var propertyDesc = eventType.GetSimpleProperty(PropertyNameAtomic);
            if (propertyDesc == null) {
                return null;
            }

            if (!propertyDesc.PropertyType.IsSimple()) {
                return null;
            }

            return eventType.GetGetterSPI(PropertyNameAtomic);
        }