717273747576777879
getName(), toDataObject(target), setReverse); } catch (Throwable th) { throw new PropertyException("Error setting to-one DataObject property: " + getName(), this, source, th); } }
737475767778798081
getName(), toDataObject(target), setReverse); } catch (Throwable th) { throw new PropertyException("Error setting to-many DataObject property: " + getName(), this, source, th); } }
878889909192939495
getName(), toDataObject(target), setReverse); } catch (Throwable th) { throw new PropertyException("Error unsetting to-many DataObject property: " + getName(), this, source, th); } }
4142434445464748495051
public Object readProperty(Object object) throws PropertyException { try { return toDataObject(object).readProperty(getName()); } catch (Throwable th) { throw new PropertyException( "Error reading DataObject property: " + getName(), this, object, th); }
5556575859606162636465
throws PropertyException { try { toDataObject(object).writeProperty(getName(), newValue); } catch (Throwable th) { throw new PropertyException( "Error writing DataObject property: " + getName(), this, object, th); }
6869707172737475767778
public Object readPropertyDirectly(Object object) throws PropertyException { try { return toDataObject(object).readPropertyDirectly(getName()); } catch (Throwable th) { throw new PropertyException( "Error reading DataObject property: " + getName(), this, object, th); }
8283848586878889909192
throws PropertyException { try { toDataObject(object).writePropertyDirectly(getName(), newValue); } catch (Throwable th) { throw new PropertyException( "Error writing DataObject property: " + getName(), this, object, th); }
9596979899100101102103104
protected final DataObject toDataObject(Object object) throws PropertyException { try { return (DataObject) object; } catch (ClassCastException e) { throw new PropertyException("Object is not a DataObject: '" + object.getClass().getName() + "'", this, object, e); } }
8788899091929394959697
@Override protected ValueHolder createCollectionValueHolder(Object object) throws PropertyException { if (!(object instanceof Persistent)) { throw new PropertyException( "ValueHolders for non-persistent objects are not supported.", this, object); }
727374757677787980