[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model/xml PersistenceManager.java,1.17,1.18
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2006-01-13 11:29:34
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/xml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31920/src/net/sourceforge/bprocessor/model/xml Modified Files: PersistenceManager.java Log Message: Saves description in xml Index: PersistenceManager.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/xml/PersistenceManager.java,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** PersistenceManager.java 4 Jan 2006 14:30:07 -0000 1.17 --- PersistenceManager.java 13 Jan 2006 11:29:25 -0000 1.18 *************** *** 140,143 **** --- 140,144 ---- ConstructionSpace csm = new ConstructionSpace(cs.getName()); + csm.setDescription(cs.getDescription()); Project.getInstance().intern(csm); *************** *** 157,161 **** FunctionalSpace fsm = new FunctionalSpace(fs.getName()); ! Project.getInstance().intern(fsm); --- 158,163 ---- FunctionalSpace fsm = new FunctionalSpace(fs.getName()); ! fsm.setDescription(fs.getDescription()); ! Project.getInstance().intern(fsm); *************** *** 495,498 **** --- 497,501 ---- csx.setId(counter++); csx.setName(cs.getName()); + csx.setDescription(cs.getDescription()); Set data = cs.getAttributes(); *************** *** 528,531 **** --- 531,535 ---- fsx.setId(counter++); fsx.setName(fs.getName()); + fsx.setDescription(fs.getDescription()); Set data = fs.getAttributes(); |