[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model MemoryFacade.java,NONE,1.1 Edge.java,
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Michael L. <he...@us...> - 2005-10-06 11:11:30
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23105/src/net/sourceforge/bprocessor/model Modified Files: Edge.java Vertex.java Domain.java Surface.java Added Files: MemoryFacade.java Log Message: Started implementation of simple memory based storage of objects Index: Domain.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Domain.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Domain.java 5 Oct 2005 10:04:23 -0000 1.10 --- Domain.java 6 Oct 2005 11:11:07 -0000 1.11 *************** *** 58,62 **** * @param id The id */ ! private void setId(Long id) { this.id = id; } --- 58,62 ---- * @param id The id */ ! public void setId(Long id) { this.id = id; } Index: Surface.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Surface.java,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** Surface.java 5 Oct 2005 10:04:23 -0000 1.36 --- Surface.java 6 Oct 2005 11:11:07 -0000 1.37 *************** *** 98,102 **** * @param id The id */ ! private void setId(Long id) { this.id = id; } --- 98,102 ---- * @param id The id */ ! public void setId(Long id) { this.id = id; } Index: Edge.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Edge.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Edge.java 30 Sep 2005 12:47:46 -0000 1.13 --- Edge.java 6 Oct 2005 11:11:07 -0000 1.14 *************** *** 84,88 **** * @param id The id */ ! private void setId(Long id) { this.id = id; } --- 84,88 ---- * @param id The id */ ! public void setId(Long id) { this.id = id; } --- NEW FILE: MemoryFacade.java --- //--------------------------------------------------------------------------------- // $Id: MemoryFacade.java,v 1.1 2005/10/06 11:11:07 henryml Exp $ // // Copyright (c) 2005 The BProcessor Team (http://bprocessor.sourceforge.net) // Released under the Lesser GNU Public License v2.1 //--------------------------------------------------------------------------------- package net.sourceforge.bprocessor.model; import java.util.HashMap; import java.util.Set; /** * The MemoryFacade */ public class MemoryFacade extends DatabaseFacade { /** The vertices */ private HashMap vertices; /** The edges */ private HashMap edges; /** The surfaces */ private HashMap surfaces; /** The domains */ private HashMap domains; /** * Intern an Object * @param o The object */ public void intern(Object o) { } /** * Intern a Vertex * @param v The Vertex */ private void intern(Vertex v) { } /** * Update an object * @param o The object */ public void update(Object o) { } /** * Remove an Object * @param o The Object */ public void remove(Object o) { } /** * Find an attribute by id * @param id The id * @return The Attribute */ public Attribute findAttributeById(Long id) { return null; } /** * Get construction spaces * @return the Construction spaces */ public Set getConstructionSpaces() { return null; } /** * Find a construction space by id * @param id The id * @return The construction space */ public ConstructionSpace findConstructionSpaceById(Long id) { return null; } /** * Get all domains * @return The domains */ public Set getDomains() { return null; } /** * Find domain by ID * @param id The id * @return The Domain */ public Domain findDomainById(Long id) { return null; } /** * Get all edges * @return The edges */ public Set getEdges() { return null; } /** * Find edge by id * @param id The id * @return The edge */ public Edge findEdgeById(Long id) { return null; } /** * Get all elements * @return The elements */ public Set getElements() { return null; } /** * Find element by id * @param id the ID * @return The element */ public Element findElementById(Long id) { return null; } /** * Get all functional spaces * @return the Functional spaces */ public Set getFunctionalSpaces() { return null; } /** * Find functional space by id * @param id The id * @return The functional space */ public FunctionalSpace findFunctionalSpaceById(Long id) { return null; } /** * Get all parts * @return The parts */ public Set getParts() { return null; } /** * Find part by id * @param id The id * @return The part */ public Part findPartById(Long id) { return null; } /** * Get all surfaces * @return The surfaces */ public Set getSurfaces() { return null; } /** * Find surface by id * @param id The id * @return The surface */ public Surface findSurfaceById(Long id) { return null; } /** * Get all vertices * @return The vertices */ public Set getVertices() { return null; } /** * Find vertix by id * @param id The id * @return The Vertex */ public Vertex findVertexById(Long id) { return null; } } Index: Vertex.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Vertex.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Vertex.java 30 Sep 2005 12:47:46 -0000 1.12 --- Vertex.java 6 Oct 2005 11:11:07 -0000 1.13 *************** *** 93,97 **** * @param id The id */ ! private void setId(Long id) { this.id = id; } --- 93,97 ---- * @param id The id */ ! public void setId(Long id) { this.id = id; } |