Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 11 import org.ozoneDB.DxLib.*; 12 13 14 public class OO7_AtomicPartImpl extends OO7_DesignObjectImpl implements OO7_AtomicPart { 15 long theX; 16 long theY; 17 long theDocId; 18 DxListBag theToConnections; 19 DxListBag theFromConnections; 20 OO7_CompositePart thePartOf; 21 22 23 public OO7_AtomicPartImpl() { 24 theToConnections = new DxListBag(); 25 theFromConnections = new DxListBag(); 26 } 27 28 29 public void setX( long x ) { 30 theX = x; 31 } 32 33 34 public long x() { 35 return theX; 36 } 37 38 39 public void setY( long x ) { 40 theY = x; 41 } 42 43 44 public long y() { 45 return theY; 46 } 47 48 49 public void setDocId( long x ) { 50 theDocId = x; 51 } 52 53 54 public long docId() { 55 return theDocId; 56 } 57 58 59 public void addTo( OO7_Connection x ) { 60 theToConnections.add( x ); 61 } 62 63 64 public DxBag to() { 65 return theToConnections; 66 } 67 68 69 public void addFrom( OO7_Connection x ) { 70 theFromConnections.add( x ); 71 } 72 73 74 public DxBag from() { 75 return theFromConnections; 76 } 77 78 79 public void setPartOf( OO7_CompositePart x ) { 80 thePartOf = x; 81 } 82 83 84 public OO7_CompositePart partOf() { 85 return thePartOf; 86 } 87 } 88
| Popular Tags
|