org.springframework.data.neo4j.mapping
Class RelationshipInfo
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelationshipInfo
public RelationshipInfo(String type,
org.neo4j.graphdb.Direction direction,
org.springframework.data.util.TypeInformation<?> typeInformation,
org.springframework.data.util.TypeInformation<?> concreteActualType,
Neo4jMappingContext ctx)
getDirection
public org.neo4j.graphdb.Direction getDirection()
getType
public String getType()
getRelationshipType
public org.neo4j.graphdb.RelationshipType getRelationshipType()
isMultiple
public boolean isMultiple()
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()
targetsNodes
public boolean targetsNodes()
isReadonly
public boolean isReadonly()
getTargetEntity
public Neo4jPersistentEntity getTargetEntity()
Copyright © 2011 SpringSource. All Rights Reserved.