Package org.springframework.data.neo4j.support.path

Examples of org.springframework.data.neo4j.support.path.ConvertingEntityPath


        }
        if (RelationshipBacked.class.isAssignableFrom(targetType)) {
            return ctx.createEntityFromState(toRelationship(value,sourceType),targetType);
        }
        if (EntityPath.class.isAssignableFrom(targetType)) {
            return new ConvertingEntityPath(ctx,toPath(value,sourceType));
        }
        final Object result = super.doConvert(value, sourceType, targetType);

        if (result!=null) return result;
View Full Code Here


    @SuppressWarnings("unchecked")
    @Override
    protected Object doConvert(Object value, Class<?> sourceType, Class targetType, MappingPolicy mappingPolicy) {
        if (EntityPath.class.isAssignableFrom(targetType)) {
            return new ConvertingEntityPath(toPath(value, sourceType),template);
        }
        if (template.isNodeEntity(targetType)) {
            return template.projectTo(toNode(value, sourceType), targetType, mappingPolicy);
        }
        if (template.isRelationshipEntity(targetType)) {
View Full Code Here

TOP

Related Classes of org.springframework.data.neo4j.support.path.ConvertingEntityPath

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.