1 11 import org.ozoneDB.DxLib.*; 12 13 14 public class OO7_CompositePartImpl extends OO7_DesignObjectImpl implements OO7_CompositePart { 15 OO7_Document theDocumentation; 16 DxListBag theUsedInPriv; 17 DxListBag theUsedInShar; 18 DxListBag theParts; 19 OO7_AtomicPart theRootPart; 20 21 22 public OO7_CompositePartImpl() { 23 theUsedInPriv = new DxListBag(); 24 theUsedInShar = new DxListBag(); 25 theParts = new DxListBag(); 26 } 27 28 29 public void setDocumentation( OO7_Document x ) { 30 theDocumentation = x; 31 } 32 33 34 public OO7_Document documentation() { 35 return theDocumentation; 36 } 37 38 39 public void addUsedInPriv( OO7_BaseAssembly x ) { 40 theUsedInPriv.addBack( x ); 41 } 42 43 44 public DxBag usedInPriv() { 45 return theUsedInPriv; 46 } 47 48 49 public void addUsedInShar( OO7_BaseAssembly x ) { 50 theUsedInShar.addBack( x ); 51 } 52 53 54 public DxBag usedInShar() { 55 return theUsedInShar; 56 } 57 58 59 public void addPart( OO7_AtomicPart x ) { 60 theParts.add( x ); 61 } 62 63 64 public DxBag parts() { 65 return theParts; 66 } 67 68 69 public void setRootPart( OO7_AtomicPart x ) { 70 theRootPart = x; 71 } 72 73 74 public OO7_AtomicPart rootPart() { 75 return theRootPart; 76 } 77 } 78 | Popular Tags |