public static class RelatedToSingleFieldAccessorFactory.RelatedToSingleFieldAccessor extends RelatedToFieldAccessor
direction, property, relatedType, relationshipHelper, template, type| Constructor and Description |
|---|
RelatedToSingleFieldAccessor(org.neo4j.graphdb.RelationshipType type,
org.neo4j.graphdb.Direction direction,
Class<?> clazz,
Neo4jTemplate template,
Neo4jPersistentProperty property) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getValue(Object entity,
MappingPolicy mappingPolicy) |
Object |
setValue(Object entity,
Object newVal,
MappingPolicy mappingPolicy)
handles field write modification.
|
checkAndGetNode, createAddedRelationships, createEntitySetFromRelationshipEndNodes, createEntitySetFromRelationshipEndNodesUsingTypeProperty, createManagedSet, createSetOfTargetNodes, getDefaultValue, isWriteable, removeMissingRelationships, removeMissingRelationshipspublic RelatedToSingleFieldAccessor(org.neo4j.graphdb.RelationshipType type,
org.neo4j.graphdb.Direction direction,
Class<?> clazz,
Neo4jTemplate template,
Neo4jPersistentProperty property)
public Object setValue(Object entity, Object newVal, MappingPolicy mappingPolicy)
FieldAccessorpublic Object getValue(Object entity, MappingPolicy mappingPolicy)
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.