public static Object getPropertyModel(
      final Object bean, final PropertyReference propertyReference) {
    final Method modelMethod =
        ReflectionHelper.getMethod(
            bean.getClass(), propertyReference.getPropertyName() + "Property");

    return ReflectionHelper.invokeMethod(bean, modelMethod);
  }
 public BoundSimplePropertyChainReference(IType rootType, FeatureReference root, String property) {
   _rootType = rootType;
   _pi = PropertyReference.getPropertyInfo(rootType, property);
   _root = root;
 }
 public static void unbind(final Object bean, final PropertyReference propertyReference) {
   final Object propertyModel = getPropertyModel(bean, propertyReference);
   unbind(propertyReference.getValueType(), propertyModel);
 }
 public static void bind(
     final Object bean, final PropertyReference propertyReference, final Object observableValue) {
   final Object propertyModel = getPropertyModel(bean, propertyReference);
   bind(propertyReference.getValueType(), propertyModel, observableValue);
 }