}
public void removeFromPaintings(Painting object) {
if(objectContext != null) {
objectContext.prepareForAccess(this, "paintings", true);
} else if (this.paintings == null) {
this.paintings = new PersistentObjectList(this, "paintings");
}
this.paintings.remove(object);
}