01: /*
02: * Copyright (c) 1998 - 2005 Versant Corporation
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * Versant Corporation - initial API and implementation
10: */
11: package com.versant.core.jdo.sco;
12:
13: import com.versant.core.jdo.VersantPersistenceManager;
14: import com.versant.core.jdo.VersantStateManager;
15: import com.versant.core.common.VersantFieldMetaData;
16:
17: import javax.jdo.spi.PersistenceCapable;
18:
19: import com.versant.core.jdo.VersantPersistenceManager;
20: import com.versant.core.jdo.VersantStateManager;
21:
22: /**
23: * This Factory class is used to create SCOs for the various mutable types.
24: */
25: public interface VersantSCOFactory {
26:
27: /**
28: * Create a instance that implements the JDOGenieSCO interface and fill
29: * it with the data in o.
30: */
31: VersantSimpleSCO createSCO(PersistenceCapable owner,
32: VersantPersistenceManager pm,
33: VersantStateManager stateManager, VersantFieldMetaData fmd,
34: Object o);
35: }
|