DATAGRAPH-186 default value for readonly relationship collections

This commit is contained in:
Michael Hunger
2012-02-07 11:48:30 +01:00
parent 2a4576e4bb
commit ef3ee91f1e

View File

@@ -59,5 +59,9 @@ public class ReadOnlyOneToNRelationshipFieldAccessorFactory extends NodeRelation
throw new InvalidDataAccessApiUsageException("Cannot set read-only relationship entity field.");
}
@Override
public Object getDefaultValue() {
return null;
}
}
}