Dashboard > WOProject / WOLips > ... > EOGenerator Templates and Additions > Client-Side EOGenericRecord Addition
  WOProject / WOLips Log In View a printable version of the current page.  
  Client-Side EOGenericRecord Addition
Added by David Avendasora, last edited by David Avendasora on Mar 05, 2008
Labels: 
(None)

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;
}

Site running on a free Atlassian Confluence Open Source Project License granted to ObjectStyle. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators