public class Neo4JNodeErsatz extends Neo4JErsatz
entity| Constructor and Description |
|---|
Neo4JNodeErsatz(com.webobjects.eoaccess.EOEntity entity,
org.neo4j.graphdb.Node pc) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes corresponding node and all of its to-one relationships.
|
Object |
get(EOAttribute att)
Gets neutral value for an EO attribute.
|
protected Number |
getForeignKeyValue(com.webobjects.eoaccess.EORelationship rel)
Gets ID of an object referenced by the given foreign key
|
protected org.neo4j.graphdb.Node |
getNode() |
void |
put(EOAttribute att,
Object value)
Sets neutral java value for an EO attribute.
|
protected void |
setForeignKeyValue(com.webobjects.eoaccess.EORelationship rel,
Number referencedId)
Sets relationship value.
|
attributes, create, getAttribute, getPropertyContainer, remove, setAttributepublic Neo4JNodeErsatz(com.webobjects.eoaccess.EOEntity entity,
org.neo4j.graphdb.Node pc)
protected org.neo4j.graphdb.Node getNode()
public Object get(EOAttribute att)
ErsatzErsatz.attributes().get in class Neo4JErsatzatt - EO attribute to retrieve value forpublic void put(EOAttribute att, Object value)
Ersatzput in class Neo4JErsatzatt - EO attribute to set the value forvalue - library independent valueprotected Number getForeignKeyValue(com.webobjects.eoaccess.EORelationship rel)
Neo4JErsatzgetForeignKeyValue in class Neo4JErsatzrel - foreign key attributeprotected void setForeignKeyValue(com.webobjects.eoaccess.EORelationship rel,
Number referencedId)
Neo4JErsatzsetForeignKeyValue in class Neo4JErsatzrel - relationship to set value forreferencedId - ID of an object referenced by the relationshipCopyright © 2002 – 2020 Project Wonder.