LOG.debug("clearing collection as versions differ: " + adapter.getVersion() + " "
+ parentData.getVersion());
}
final CollectionFacet facet = CollectionFacetUtils.getCollectionFacetFromSpec(collection);
facet.init(collection, new ObjectAdapter[0]);
collection.changeState(ResolveState.GHOST);
}
}
private void setUpCollectionFieldForEntireContents(final ObjectAdapter adapter, final ObjectAssociation field,
final CollectionData collectionContentData, final KnownObjectsRequest knownObjects) {