Examples of PersistentObjectMap


Examples of org.apache.cayenne.util.PersistentObjectMap

                    "ValueHolders for non-persistent objects are not supported.",
                    this,
                    object);
        }

        return new PersistentObjectMap((Persistent) object, getName(), mapKeyAccessor);
    }
View Full Code Here

Examples of org.apache.cayenne.util.PersistentObjectMap

        super(owner, targetDescriptor, accessor, reverseName);
        this.mapKeyAccessor = mapKeyAccessor;
    }

    protected ValueHolder createValueHolder(Persistent relationshipOwner) {
        return new PersistentObjectMap(relationshipOwner, getName(), mapKeyAccessor);
    }
View Full Code Here

Examples of org.apache.cayenne.util.PersistentObjectMap

        }
    }
   
    @Override
    public void addTargetDirectly(Object source, Object target) throws PropertyException {
        PersistentObjectMap collection = (PersistentObjectMap) readProperty(source);
        collection.putDirectly(getMapKey(target), target);
    }
View Full Code Here

Examples of org.apache.cayenne.util.PersistentObjectMap

        }
    }
   
    @Override
    public void removeTargetDirectly(Object source, Object target) throws PropertyException {
        PersistentObjectMap collection = (PersistentObjectMap) readProperty(source);
        collection.removeDirectly(getMapKey(target));
    }
View Full Code Here

Examples of org.apache.cayenne.util.PersistentObjectMap

                    "ValueHolders for non-persistent objects are not supported.",
                    this,
                    object);
        }

        return new PersistentObjectMap((Persistent) object, getName(), mapKeyAccessor);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.