@Override
public ObjectAdapter getAggregateRoot() {
if(!isParented()) {
return this;
}
ParentedOid parentedOid = (ParentedOid) oid;
final Oid parentOid = parentedOid.getParentOid();
ObjectAdapter parentAdapter = objectAdapterLookup.getAdapterFor(parentOid);
if(parentAdapter == null) {
final Oid parentOidNowPersisted = getPersistenceSession().remappedFrom(parentOid);
parentAdapter = objectAdapterLookup.getAdapterFor(parentOidNowPersisted);
}