public static EODistributedObjectStore _distributedObjectStore() {
EOObjectStore objectStore = EOEditingContext.defaultParentObjectStore();
if ((objectStore == null) || (!(objectStore instanceof EODistributedObjectStore))) {
throw new IllegalStateException("Default parent object store needs to be an EODistributedObjectStore");
}
return (EODistributedObjectStore)objectStore;
}