Spring Data Neo4j

org.springframework.data.neo4j.mapping
Class RelationshipInfo

java.lang.Object
  extended by org.springframework.data.neo4j.mapping.RelationshipInfo

public class RelationshipInfo
extends Object


Constructor Summary
RelationshipInfo(String type, org.neo4j.graphdb.Direction direction, org.springframework.data.util.TypeInformation<?> typeInformation, org.springframework.data.util.TypeInformation<?> concreteActualType, Neo4jMappingContext ctx)
           
 
Method Summary
static RelationshipInfo fromField(Field field, RelatedTo annotation, org.springframework.data.util.TypeInformation<?> typeInformation, Neo4jMappingContext ctx)
           
static RelationshipInfo fromField(Field field, RelatedToVia annotation, org.springframework.data.util.TypeInformation<?> typeInformation, Neo4jMappingContext ctx)
           
static RelationshipInfo fromField(Field field, org.springframework.data.util.TypeInformation<?> typeInformation, Neo4jMappingContext ctx)
           
 org.neo4j.graphdb.Direction getDirection()
           
 org.neo4j.graphdb.RelationshipType getRelationshipType()
           
 Neo4jPersistentEntity getTargetEntity()
           
 org.springframework.data.util.TypeInformation<?> getTargetType()
           
 String getType()
           
 boolean isCollection()
           
 boolean isReadonly()
           
 boolean isRelatedTo()
           
 boolean isRelatedToVia()
           
 boolean isSingle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationshipInfo

public RelationshipInfo(String type,
                        org.neo4j.graphdb.Direction direction,
                        org.springframework.data.util.TypeInformation<?> typeInformation,
                        org.springframework.data.util.TypeInformation<?> concreteActualType,
                        Neo4jMappingContext ctx)
Method Detail

getDirection

public org.neo4j.graphdb.Direction getDirection()

getType

public String getType()

getRelationshipType

public org.neo4j.graphdb.RelationshipType getRelationshipType()

isCollection

public boolean isCollection()

isSingle

public boolean isSingle()

fromField

public static RelationshipInfo fromField(Field field,
                                         org.springframework.data.util.TypeInformation<?> typeInformation,
                                         Neo4jMappingContext ctx)

fromField

public static RelationshipInfo fromField(Field field,
                                         RelatedTo annotation,
                                         org.springframework.data.util.TypeInformation<?> typeInformation,
                                         Neo4jMappingContext ctx)

fromField

public static RelationshipInfo fromField(Field field,
                                         RelatedToVia annotation,
                                         org.springframework.data.util.TypeInformation<?> typeInformation,
                                         Neo4jMappingContext ctx)

getTargetType

public org.springframework.data.util.TypeInformation<?> getTargetType()

isRelatedTo

public boolean isRelatedTo()

isRelatedToVia

public boolean isRelatedToVia()

isReadonly

public boolean isReadonly()

getTargetEntity

public Neo4jPersistentEntity getTargetEntity()

Spring Data Neo4j

Copyright © 2013 SpringSource. All Rights Reserved.