1 26 27 package org.objectweb.openccm.ir3; 28 29 import org.omg.CORBA.*; 31 32 40 41 public class ModuleDef_impl 42 extends Container_impl 43 implements ModuleDefOperations 44 { 45 51 54 public 55 ModuleDef_impl(IFR ifr, 56 Container_impl container) 57 { 58 super(ifr, container); 60 61 setServant(new ModuleDefPOATie(this)); 63 } 64 65 71 77 80 public ModuleDef 81 asModuleDef() 82 { 83 return ModuleDefHelper.narrow(asObject()); 84 } 85 86 92 95 public void 96 setDescriptionValue(Any any) 97 { 98 ModuleDescription description = new ModuleDescription(); 100 description.name = name(); 101 description.id = id(); 102 description.defined_in = getContainerID(); 103 description.version = version(); 104 105 ModuleDescriptionHelper.insert(any, description); 107 } 108 109 115 118 public DefinitionKind 119 def_kind() 120 { 121 return DefinitionKind.dk_Module; 122 } 123 124 130 } 131 | Popular Tags |