Package org.neo4j.collections.graphdb

Examples of org.neo4j.collections.graphdb.ConnectionMode


  @Override
  public Set<ConnectorType<?>> getConnectorTypes() {
    Set<ConnectorType<?>> connectorTypes = new HashSet<ConnectorType<?>>();
    for(Relationship rel: getNode().getRelationships(ConnectorTypeImpl.RelTypes.ORG_NEO4J_COLLECTIONS_GRAPHDB_CONNECTOR_TYPE, Direction.OUTGOING)){
      String connectorName = (String)rel.getEndNode().getProperty(ConnectorTypeImpl.CONNECTOR_TYPE_NAME);
      ConnectionMode connectionMode = ConnectorTypeImpl.getConnectionMode((String) rel.getEndNode().getProperty(ConnectorTypeImpl.CONNECTOR_MODE));
      connectorTypes.add(ConnectorTypeImpl.getOrCreateInstance(getDb(), connectorName, this.getNode(), connectionMode));
    }
    return connectorTypes;
  }
View Full Code Here

TOP

Related Classes of org.neo4j.collections.graphdb.ConnectionMode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.