Esempio n. 1
0
 /**
  * This method was created by a SmartGuide.
  *
  * @return org.jacorb.ir.gui.typesystem.Interface[]
  */
 public Interface[] getSuperInterfaces() {
   if (superInterfaces == null) {
     // superInterfaces in unserem dazugehörigen Field speichern
     InterfaceDef interfaceDef = InterfaceDefHelper.narrow((org.omg.CORBA.Object) irObject);
     InterfaceDef[] baseInterfaces =
         interfaceDef.base_interfaces(); // base interfaces aus IR holen
     this.superInterfaces = new IRInterface[baseInterfaces.length];
     for (int i = 0; i < baseInterfaces.length; i++) {
       // für alle base interfaces die zugehörige TypeSystemNode holen
       IRInterface superInterface =
           (IRInterface) RemoteTypeSystem.createTypeSystemNode(baseInterfaces[i]);
       this.superInterfaces[i] = superInterface;
     }
   }
   return superInterfaces;
 }
Esempio n. 2
0
 /** @param irObject org.omg.CORBA.IRObject */
 public IRValueMember(IRObject irObject) {
   super(irObject);
   ValueMemberDef valueMemberDef = ValueMemberDefHelper.narrow(irObject);
   setAssociatedTypeSystemNode(RemoteTypeSystem.createTypeSystemNode(valueMemberDef.type_def()));
 }