public class Neo4JRelationshipErsatz extends Neo4JErsatz
Relationship
.entity
Constructor and Description |
---|
Neo4JRelationshipErsatz(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(EORelationship rel)
Gets ID of an object referenced by the given foreign key
|
protected org.neo4j.graphdb.Relationship |
getRelationship() |
protected void |
setForeignKeyValue(EORelationship rel,
Number val)
Sets relationship value.
|
attributes, create, get, getAttribute, getPropertyContainer, put, remove, setAttribute
public Neo4JRelationshipErsatz(EOEntity entity, org.neo4j.graphdb.Relationship pc)
protected org.neo4j.graphdb.Relationship getRelationship()
protected Number getForeignKeyValue(EORelationship rel)
Neo4JErsatz
getForeignKeyValue
in class Neo4JErsatz
rel
- foreign key attributeprotected void setForeignKeyValue(EORelationship rel, Number val)
Neo4JErsatz
setForeignKeyValue
in class Neo4JErsatz
rel
- relationship to set value forval
- ID of an object referenced by the relationshipCopyright © 2002 – 2024 Project Wonder.