public Object get(String property) throws PropertyAccessException { EventPropertyGetter getter = revisionEventType.getGetter(property); if (getter == null) { return null; } return getter.get(this); }
public Object getFragment(String propertyExpression) { EventPropertyGetter getter = revisionEventType.getGetter(propertyExpression); if (getter == null) { throw new PropertyAccessException( "Property named '" + propertyExpression + "' is not a valid property name for this type"); } return getter.getFragment(this); }