1 26 27 package org.objectweb.openccm.ast.lib; 28 29 41 42 abstract public class ForwardScopeIDLImpl 43 extends ForwardScopeImpl 44 { 45 51 57 63 protected 64 ForwardScopeIDLImpl(Repository rep, 65 ScopeImpl parent) 66 { 67 super(rep, parent); 69 70 } 72 73 79 82 abstract protected void 83 createContainer(); 84 85 88 abstract protected void 89 completeContainer(); 90 91 97 102 public boolean 103 isForwardCreated() 104 { 105 return getContainer() != null; 106 } 107 108 111 public void 112 createForward() 113 { 114 createContainer(); 115 } 116 117 120 public void 121 completeForward() 122 { 123 completeContainer(); 124 125 getContained().move(the_parent_.getContainer(), getName(), getVersion()); 127 } 128 129 135 141 147 } 153 | Popular Tags |