public class RelationshipStore extends Object implements Store<Ersatz,Neo4JErsatz>
| Constructor and Description |
|---|
RelationshipStore(org.neo4j.graphdb.GraphDatabaseService db,
com.webobjects.eoaccess.EOEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(Neo4JErsatz neoErsatz)
Delete record from the store.
|
Neo4JErsatz |
insert(Ersatz row)
Creates a new record in the store.
|
Ersatz |
newPrimaryKey()
Generate new primary key.
|
Cursor<Neo4JErsatz> |
query(com.webobjects.eocontrol.EOQualifier q)
Query for records matching EO qualifier.
|
static boolean |
shouldBeStoredAsRelationship(com.webobjects.eoaccess.EOEntity entity) |
void |
update(Ersatz newValues,
Neo4JErsatz neoErsatz)
Update record with the given values.
|
public RelationshipStore(org.neo4j.graphdb.GraphDatabaseService db,
com.webobjects.eoaccess.EOEntity entity)
public static boolean shouldBeStoredAsRelationship(com.webobjects.eoaccess.EOEntity entity)
public Ersatz newPrimaryKey()
StorenewPrimaryKey in interface Store<Ersatz,Neo4JErsatz>public Neo4JErsatz insert(Ersatz row)
Storeinsert in interface Store<Ersatz,Neo4JErsatz>row - inserted object descriptiontoInsertpublic void update(Ersatz newValues, Neo4JErsatz neoErsatz)
Storeupdate in interface Store<Ersatz,Neo4JErsatz>newValues - new values, can be partial ersatzneoErsatz - ersatz representing record to be updatedpublic void delete(Neo4JErsatz neoErsatz)
Storedelete in interface Store<Ersatz,Neo4JErsatz>neoErsatz - ersatz representing record to be deletedpublic Cursor<Neo4JErsatz> query(com.webobjects.eocontrol.EOQualifier q)
Storequery in interface Store<Ersatz,Neo4JErsatz>q - qualifierCopyright © 2002 – 2020 Project Wonder.