[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model/modellor Modellor.java, 1.2, 1.3 La
Status: Pre-Alpha
Brought to you by:
henryml
From: rimestad <rim...@us...> - 2006-10-10 14:02:42
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/modellor In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5925/src/net/sourceforge/bprocessor/model/modellor Modified Files: Modellor.java LayerModellor.java Log Message: added set and get content to Modellor and its subclasses, most of them are just empty for now, but will come later Index: Modellor.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/modellor/Modellor.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Modellor.java 29 Aug 2006 10:06:18 -0000 1.2 --- Modellor.java 10 Oct 2006 14:02:32 -0000 1.3 *************** *** 111,113 **** --- 111,126 ---- */ public abstract Modellor newInstance(Space s); + + /** + * Set the entire content of the modellor to the given map key to value pairs + * @param m the map containing the values; + */ + public abstract void setContent(Map m); + + /** + * Get the content of the modellor to be used for persistence + * @return A map of key to value pairs of the content + */ + public abstract Map getContent(); + } Index: LayerModellor.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/modellor/LayerModellor.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** LayerModellor.java 5 Oct 2006 13:24:47 -0000 1.6 --- LayerModellor.java 10 Oct 2006 14:02:32 -0000 1.7 *************** *** 12,15 **** --- 12,16 ---- import java.util.LinkedList; import java.util.List; + import java.util.Map; import java.util.Set; *************** *** 205,207 **** --- 206,220 ---- } } + + /** @see net.sourceforge.bprocessor.model.modellor.Modellor#setContent(Map) */ + public void setContent(Map m) { + // TODO Auto-generated method stub + + } + + /** @see net.sourceforge.bprocessor.model.modellor.Modellor#getContent() */ + public Map getContent() { + // TODO Auto-generated method stub + return null; + } } |