[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Surface.java,1.2,1.3
Status: Pre-Alpha
Brought to you by:
henryml
From: Jesper P. <je...@us...> - 2005-07-18 09:24:44
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17836 Modified Files: Surface.java Log Message: A surface can be a constructor and has references to edges Index: Surface.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Surface.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Surface.java 11 Jul 2005 09:32:23 -0000 1.2 --- Surface.java 18 Jul 2005 09:24:35 -0000 1.3 *************** *** 29,37 **** private String name; ! /** The domain relationship */ ! private Set domains; ! /** The contour relationship */ ! private Set contours; /** --- 29,37 ---- private String name; ! /** Constructor */ ! private boolean constructor; ! /** The edges relationship */ ! private Set edges; /** *************** *** 48,53 **** setId(new Long(l++)); setName(name); ! setDomains(new HashSet()); ! setContours(new HashSet()); } --- 48,53 ---- setId(new Long(l++)); setName(name); ! setConstructor(false); ! setEdges(new HashSet()); } *************** *** 85,117 **** /** ! * Get the domains ! * @return The domains */ ! public Set getDomains() { ! return domains; } /** ! * Set the domains ! * @param domains The domains */ ! public void setDomains(Set domains) { ! this.domains = domains; } ! /** ! * Get the contours ! * @return The contours */ ! public Set getContours() { ! return contours; } /** ! * Set the contours ! * @param contours The contours */ ! public void setContours(Set contours) { ! this.contours = contours; } --- 85,117 ---- /** ! * Is the surface a constructor ! * @return True if constructor; otherwise false */ ! public boolean getConstructor() { ! return constructor; } /** ! * Set if the surface is a constructor ! * @param c True if constructor; otherwise false */ ! public void setConstructor(boolean c) { ! constructor = c; } ! /** ! * Get the edges ! * @return The edges */ ! public Set getEdges() { ! return edges; } /** ! * Set the edges ! * @param edges The edges */ ! public void setEdges(Set edges) { ! this.edges = edges; } |