Examples of LazyPropertiesDescription


Examples of com.graphaware.common.description.property.LazyPropertiesDescription

                    database.getNodeById(0).getSingleRelationship(withName("TEST"), OUTGOING),
                    database.getNodeById(0));

            assertEquals("TEST", relationshipDescription.getType().name());
            assertEquals(OUTGOING, relationshipDescription.getDirection());
            assertEquals(new LazyPropertiesDescription(database.getNodeById(0).getSingleRelationship(withName("TEST"), OUTGOING)), relationshipDescription.getPropertiesDescription());
        }
    }
View Full Code Here

Examples of com.graphaware.common.description.property.LazyPropertiesDescription

     *
     * @param relationship to construct the most specific relationship description from.
     * @param pointOfView  node whose point of view this relationship description is being constructed from.
     */
    public LazyRelationshipDescription(Relationship relationship, Node pointOfView) {
        super(relationship.getType(), DirectionUtils.resolveDirection(relationship, pointOfView), new LazyPropertiesDescription(relationship));
    }
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.