public class Neo4JRelationshipErsatz extends Neo4JErsatz
Relationship
.entity
Constructor and Description |
---|
Neo4JRelationshipErsatz(com.webobjects.eoaccess.EOEntity entity,
org.neo4j.graphdb.Relationship pc) |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete relationship storing data for the record that this ersatz represents.
|
protected Number |
getForeignKeyValue(com.webobjects.eoaccess.EORelationship rel)
Gets ID of an object referenced by the given foreign key
|
protected org.neo4j.graphdb.Relationship |
getRelationship() |
protected void |
setForeignKeyValue(com.webobjects.eoaccess.EORelationship rel,
Number val)
Sets relationship value.
|
attributes, create, get, getAttribute, getPropertyContainer, put, remove, setAttribute
public Neo4JRelationshipErsatz(com.webobjects.eoaccess.EOEntity entity, org.neo4j.graphdb.Relationship pc)
protected org.neo4j.graphdb.Relationship getRelationship()
protected Number getForeignKeyValue(com.webobjects.eoaccess.EORelationship rel)
Neo4JErsatz
getForeignKeyValue
in class Neo4JErsatz
rel
- foreign key attributeprotected void setForeignKeyValue(com.webobjects.eoaccess.EORelationship rel, Number val)
Neo4JErsatz
setForeignKeyValue
in class Neo4JErsatz
rel
- relationship to set value forval
- ID of an object referenced by the relationshipCopyright © 2002 – 2020 Project Wonder.