[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Persistence.java, 1.6, 1.7
Status: Pre-Alpha
Brought to you by:
henryml
From: Nikolaj B. <nbr...@us...> - 2006-09-11 09:22:16
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv10007/src/net/sourceforge/bprocessor/model Modified Files: Persistence.java Log Message: Added classifications to the xml format so they now also get saved and loaded. Index: Persistence.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Persistence.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Persistence.java 18 Aug 2006 07:01:24 -0000 1.6 --- Persistence.java 11 Sep 2006 09:22:07 -0000 1.7 *************** *** 134,137 **** --- 134,138 ---- space.setId(new Long(xml.getProgid())); space.setDescription(xml.getDescription()); + space.setClassification(xml.getClassification()); mapper.put(new Long(xml.getId()), space); xmls.add(xml); *************** *** 537,540 **** --- 538,542 ---- xml.setType(space.getType()); xml.setDescription(space.getDescription().toString()); + xml.setClassification(space.getClassification().toString()); map.put(space, xml); |