*/
public static IObservableValue observeDetailValue(Realm realm,
IObservableValue master, String propertyName, Class propertyType) {
warnIfDifferentRealms(realm, master.getRealm());
IObservableValue value = MasterDetailObservables.detailValue(master,
BeanProperties.value(propertyName, propertyType).valueFactory(
realm), propertyType);
return new BeanObservableValueDecorator(value, BeanPropertyHelper
.getValueTypePropertyDescriptor(master, propertyName));
}