KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > versant > core > jdo > sco > VersantSCOFactory


1
2 /*
3  * Copyright (c) 1998 - 2005 Versant Corporation
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  * Versant Corporation - initial API and implementation
11  */

12 package com.versant.core.jdo.sco;
13
14 import com.versant.core.jdo.VersantPersistenceManager;
15 import com.versant.core.jdo.VersantStateManager;
16 import com.versant.core.common.VersantFieldMetaData;
17
18 import javax.jdo.spi.PersistenceCapable;
19
20 import com.versant.core.jdo.VersantPersistenceManager;
21 import com.versant.core.jdo.VersantStateManager;
22
23 /**
24  * This Factory class is used to create SCOs for the various mutable types.
25  */

26 public interface VersantSCOFactory {
27
28     /**
29      * Create a instance that implements the JDOGenieSCO interface and fill
30      * it with the data in o.
31      */

32     VersantSimpleSCO createSCO(PersistenceCapable owner,
33                                 VersantPersistenceManager pm, VersantStateManager stateManager,
34                                 VersantFieldMetaData fmd, Object JavaDoc o);
35 }
36
Popular Tags