}
}
public void removeAllAssociations(final ObjectAdapter ownerAdapter) {
final CollectionClearFacet facet = getFacet(CollectionClearFacet.class);
facet.clear(ownerAdapter);
}
@Override
public void clearCollection(final ObjectAdapter ownerAdapter) {
if (readWrite()) {