|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_leipzig.wifa.iwi.mr3.dao.neo4j.impl.NeoHelper
public class NeoHelper
Helper class for DAO layer, specially for neo4j persistence.
Constructor Summary | |
---|---|
NeoHelper()
|
Method Summary | |
---|---|
org.neo4j.api.core.Node |
determineEcoreClassifierNode(String elementName)
Determine a node by a given name inside a model by a given nsURI. |
org.neo4j.api.core.Node |
getModelNode(String nsUri)
Determines the model node for the given namespace uri. |
org.neo4j.api.core.NeoService |
getNeo()
Getter. |
org.neo4j.api.core.Node |
getSubrefNode(EcoreRelationshipType relationshipType)
Determines the one and only subref node bound to the reference node by the specified relationship type. |
Iterable<org.neo4j.api.core.Node> |
getSubrefNodeChildren(EcoreRelationshipType relationshipType)
Determines the children of the subrefNode bound to the reference node by the specified relationship type. |
void |
setNeo(org.neo4j.api.core.NeoService neoService)
Setter. |
String |
toString(org.neo4j.api.core.Node node)
Determine all information from a given node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NeoHelper()
Method Detail |
---|
public void setNeo(org.neo4j.api.core.NeoService neoService)
neoService
- Neo4j servicepublic org.neo4j.api.core.NeoService getNeo()
public String toString(org.neo4j.api.core.Node node)
node
- Node
public org.neo4j.api.core.Node getModelNode(String nsUri)
nsUri
- the model's namespace uri
EPackage
public org.neo4j.api.core.Node getSubrefNode(EcoreRelationshipType relationshipType)
relationshipType
- the relationship type
public Iterable<org.neo4j.api.core.Node> getSubrefNodeChildren(EcoreRelationshipType relationshipType)
relationshipType
- the relationship type from reference node to subreference node.
public org.neo4j.api.core.Node determineEcoreClassifierNode(String elementName)
elementName
- Element name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |