[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Edge.java, 1.47, 1.48 ClippingPlane.
Status: Pre-Alpha
Brought to you by:
henryml
From: rimestad <rim...@us...> - 2006-08-03 15:41:22
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14151/src/net/sourceforge/bprocessor/model Modified Files: Edge.java ClippingPlane.java Persistence.java Log Message: Renamed the constructor boolean in Edge to Strippled and the same with the get and set methods for it Index: Persistence.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Persistence.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Persistence.java 31 Jul 2006 11:25:51 -0000 1.4 --- Persistence.java 3 Aug 2006 14:35:21 -0000 1.5 *************** *** 261,265 **** mapper.put(new Long(xml.getId()), edge); xmls.add(xml); ! edge.setConstructor(xml.isConstructor()); return edge; } --- 261,265 ---- mapper.put(new Long(xml.getId()), edge); xmls.add(xml); ! edge.setStrippled(xml.isConstructor()); return edge; } *************** *** 604,608 **** xml.setProgid(edge.getId().longValue()); map.put(edge, xml); ! xml.setConstructor(edge.getConstructor()); return xml; } --- 604,608 ---- xml.setProgid(edge.getId().longValue()); map.put(edge, xml); ! xml.setConstructor(edge.getStrippled()); return xml; } Index: Edge.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Edge.java,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** Edge.java 21 Jul 2006 08:07:02 -0000 1.47 --- Edge.java 3 Aug 2006 14:35:21 -0000 1.48 *************** *** 38,42 **** /** Constructor */ ! private boolean constructor; /** --- 38,42 ---- /** Constructor */ ! private boolean strippled; /** *************** *** 122,139 **** /** ! * Is the edge a constructor ! * @return True if constructor; otherwise false * @hibernate.property */ ! public boolean getConstructor() { ! return constructor; } /** ! * Set if the edge is a constructor ! * @param c True if constructor; otherwise false */ ! public void setConstructor(boolean c) { ! constructor = c; } --- 122,139 ---- /** ! * Is the edge a strippled ! * @return True if strippled; otherwise false * @hibernate.property */ ! public boolean getStrippled() { ! return strippled; } /** ! * Set if the edge is a strippled ! * @param c True if strippled; otherwise false */ ! public void setStrippled(boolean c) { ! strippled = c; } *************** *** 299,304 **** public Collection split(Vertex vertex) { List added = new ArrayList(); ! // FIXME Why not split a constructor? ! if (!constructor) { Vertex from = getFrom(); Vertex to = getTo(); --- 299,304 ---- public Collection split(Vertex vertex) { List added = new ArrayList(); ! // FIXME Why not split a strippled? ! if (!strippled) { Vertex from = getFrom(); Vertex to = getTo(); Index: ClippingPlane.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/ClippingPlane.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ClippingPlane.java 20 Jul 2006 12:58:08 -0000 1.4 --- ClippingPlane.java 3 Aug 2006 14:35:21 -0000 1.5 *************** *** 184,188 **** } else { Edge newE = new Edge(first, v); ! newE.setConstructor(true); first = null; silluet.add(newE); --- 184,188 ---- } else { Edge newE = new Edge(first, v); ! newE.setStrippled(true); first = null; silluet.add(newE); |