Examples of LiteralPropertiesDescription


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

     * @param pointOfView  node that is looking at this relationship for the purposes of determining direction. Must be one
     *                     of the participating nodes.
     * @return relationship description.
     */
    public static DetachedRelationshipDescription literal(Relationship relationship, Node pointOfView) {
        return new DetachedRelationshipDescriptionImpl(relationship.getType(), DirectionUtils.resolveDirection(relationship, pointOfView), new LiteralPropertiesDescription(relationship));
    }
View Full Code Here

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

     * @param type      of the relationship.
     * @param direction of the relationship.
     * @return relationship description.
     */
    public static DetachedRelationshipDescription literal(RelationshipType type, Direction direction) {
        return new DetachedRelationshipDescriptionImpl(type, direction, new LiteralPropertiesDescription(Collections.<String, Predicate>emptyMap()));
    }
View Full Code Here

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

     * @param type      of the relationship.
     * @param direction of the relationship.
     * @return relationship description.
     */
    public static DetachedRelationshipDescription literal(String type, Direction direction) {
        return new DetachedRelationshipDescriptionImpl(withName(type), direction, new LiteralPropertiesDescription(Collections.<String, Predicate>emptyMap()));
    }
View Full Code Here

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

    /**
     * {@inheritDoc}
     */
    @Override
    public boolean include(T propertyContainer) {
        return new LiteralPropertiesDescription(propertyContainer).isMoreSpecificThan(propertiesDescription);
    }
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.