fixed aspect

This commit is contained in:
Michael Hunger
2010-09-18 18:41:30 +02:00
parent 1114a25d29
commit 2373f815f0

View File

@@ -64,7 +64,7 @@ public aspect Neo4jNodeBacking extends AbstractTypeAnnotatingMixinFields<GraphEn
public void NodeBacked.setUnderlyingNode(Node n) {
this.underlyingNode = n;
if (this.underlyingState == null) {
this.underlyingState = entityStateAccessorsFactory.getEntityStateAccessors(this);
this.underlyingState = Neo4jNodeBacking.aspectOf().entityStateAccessorsFactory.getEntityStateAccessors(this);
} else {
this.underlyingState.setNode(n);
}