Package org.neo4j.graphdb

Examples of org.neo4j.graphdb.PropertyContainer


    neo4jCRUD.remove( key );
  }

  @Override
  public Tuple createTupleAssociation(AssociationKey associationKey, RowKey rowKey) {
    PropertyContainer property = createRelationshipToEntityOrToTempNode( associationKey, rowKey );
    return new Tuple( new Neo4jTupleSnapshot( property ) );
  }
View Full Code Here


    }

    private Pair<PropertyContainer, Long> createTimestampedEntity( EntityCreator<PropertyContainer> creator,
            TimelineIndex<PropertyContainer> timeline, long timestamp )
    {
        PropertyContainer entity = creator.create();
        timeline.add( entity, timestamp );
        return Pair.of( entity, timestamp );
    }
View Full Code Here

        }
    }

    void acquireLock( Primitive resource, LockType lockType )
    {
        PropertyContainer container;
        if ( resource instanceof NodeImpl )
        {
            container = new NodeProxy( resource.id, this );
        }
        else if ( resource instanceof RelationshipImpl )
View Full Code Here

        }
    }

    void releaseLock( Primitive resource, LockType lockType )
    {
        PropertyContainer container;
        if ( resource instanceof NodeImpl )
        {
            container = new NodeProxy( resource.id, this );
        }
        else if ( resource instanceof RelationshipImpl )
View Full Code Here

            Node inputNode = graphView.getCurrentNode();
            Node newInputNode = null;
            Iterator<? extends PropertyContainer> iter = containers.iterator();
            while ( iter.hasNext() )
            {
                PropertyContainer container = iter.next();
                if ( container instanceof Node )
                {
                    Node node = (Node) container;
                    if ( node.getId() == 0 )
                    {
View Full Code Here

    }

    @Override
    public void run()
    {
        PropertyContainer propertyContainer = getPropertyContainer();
        if ( propertyContainer == null )
        {
            return;
        }
        InputDialog keyInput = new InputDialog( null, "Key entry",
View Full Code Here

    }

    @Override
    public void run()
    {
        PropertyContainer propertyContainer = getPropertyContainer();
        if ( propertyContainer == null )
        {
            return;
        }
        performOperation( propertyContainer );
View Full Code Here

        IPropertySheetEntry entry = getPropertySheetEntry();
        if ( entry == null )
        {
            return;
        }
        PropertyContainer propertyContainer = getPropertyContainer();
        if ( propertyContainer == null )
        {
            return;
        }
        performOperation( propertyContainer, entry );
View Full Code Here

     * <code>null</code> on failure, after showing appropriate error messages.
     * @return selected property container
     */
    protected PropertyContainer getPropertyContainer()
    {
        PropertyContainer container = propertySheet.getPropertyContainer();
        if ( container == null )
        {
            MessageDialog.openError( null, "Error",
                "Selected item is not a Node or Relationship." );
            return null;
View Full Code Here

TOP

Related Classes of org.neo4j.graphdb.PropertyContainer

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.