Examples of dbName()


Examples of org.structr.core.property.PropertyKey.dbName()

                PropertyKey startNodeIdentifier = notion.getPrimaryPropertyKey();

                if (startNodeIdentifier != null) {

                        Object identifierValue = properties.get(startNodeIdentifier.dbName());

                        properties.remove(sourceIdProperty.dbName());

                        return (NodeInterface)notion.getAdapterForSetter(securityContext).adapt(identifierValue);
View Full Code Here

Examples of org.structr.core.property.PropertyKey.dbName()

    notion.setType(targetType);

                final PropertyKey endNodeIdentifier = notion.getPrimaryPropertyKey();
                if (endNodeIdentifier != null) {

                        Object identifierValue = properties.get(endNodeIdentifier.dbName());

                        properties.remove(targetIdProperty.dbName());

                        return (NodeInterface)notion.getAdapterForSetter(securityContext).adapt(identifierValue);
View Full Code Here

Examples of org.structr.core.property.PropertyKey.dbName()

        tx.success();
      }
     
      try (final Tx tx = app.tx()) {
       
        assertTrue("Expected relationship to have a value for key '" + key1.dbName() + "'", rel.getRelationship().hasProperty(key1.dbName()));

        assertEquals(val1, rel.getRelationship().getProperty(key1.dbName()));

        Object vrfy1 = rel.getProperty(key1);
        assertEquals(val1, vrfy1);
View Full Code Here

Examples of org.structr.core.property.PropertyKey.dbName()

        tx.success();
      }
     
      try (final Tx tx = app.tx()) {
       
        assertTrue("Expected relationship to have a value for key '" + key1.dbName() + "'", rel.getRelationship().hasProperty(key1.dbName()));

        assertEquals(val1, rel.getRelationship().getProperty(key1.dbName()));

        Object vrfy1 = rel.getProperty(key1);
        assertEquals(val1, vrfy1);
View Full Code Here

Examples of org.structr.core.property.PropertyKey.dbName()

     
      try (final Tx tx = app.tx()) {
       
        assertTrue("Expected relationship to have a value for key '" + key1.dbName() + "'", rel.getRelationship().hasProperty(key1.dbName()));

        assertEquals(val1, rel.getRelationship().getProperty(key1.dbName()));

        Object vrfy1 = rel.getProperty(key1);
        assertEquals(val1, vrfy1);
      }
     
View Full Code Here

Examples of org.structr.core.property.PropertyKey.dbName()

        IndexHits<Node> indexHits = null;

        synchronized (index) {

          // see: http://docs.neo4j.org/chunked/milestone/indexing-create-advanced.html
          indexHits = index.query( key.dbName(), "\"" + userNickName + "\"" );
         
        }
       
        try {
          for (final Node n : indexHits) {
View Full Code Here

Examples of org.structr.core.property.StringProperty.dbName()

        tx.success();
      }
     
      try (final Tx tx = app.tx()) {
       
        assertTrue("Expected relationship to have a value for key '" + key1.dbName() + "'", rel.getRelationship().hasProperty(key1.dbName()));

        assertEquals(val1, rel.getRelationship().getProperty(key1.dbName()));

        Object vrfy1 = rel.getProperty(key1);
        assertEquals(val1, vrfy1);
View Full Code Here

Examples of org.structr.core.property.StringProperty.dbName()

        tx.success();
      }
     
      try (final Tx tx = app.tx()) {
       
        assertTrue("Expected relationship to have a value for key '" + key1.dbName() + "'", rel.getRelationship().hasProperty(key1.dbName()));

        assertEquals(val1, rel.getRelationship().getProperty(key1.dbName()));

        Object vrfy1 = rel.getProperty(key1);
        assertEquals(val1, vrfy1);
View Full Code Here

Examples of org.structr.core.property.StringProperty.dbName()

     
      try (final Tx tx = app.tx()) {
       
        assertTrue("Expected relationship to have a value for key '" + key1.dbName() + "'", rel.getRelationship().hasProperty(key1.dbName()));

        assertEquals(val1, rel.getRelationship().getProperty(key1.dbName()));

        Object vrfy1 = rel.getProperty(key1);
        assertEquals(val1, vrfy1);
      }
     
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.