m.add(base, eDef);
base_interfaces, impl); addTypeCode(cls, iDef.type()); m.add(base, iDef);
/** * Get a reference to the special case mapping for java.io.Serializable. * This is according to "Java(TM) Language to IDL Mapping Specification", * section 1.3.10.1 */ private AliasDefImpl getJavaIoSerializable() throws IRConstructionException { if (javaIoSerializable == null) { final String id = "IDL:java/io/Serializable:1.0"; final String name = "Serializable"; final String version = "1.0"; // Get module to add typedef to. ModuleDefImpl m = ensurePackageExists("java.io"); TypeCode typeCode = orb.create_alias_tc(id, name, orb.get_primitive_tc(TCKind.tk_any)); // TypeCode typeCode = new TypeCodeImpl(TCKind._tk_alias, id, name, // new TypeCodeImpl(TCKind.tk_any)); javaIoSerializable = new AliasDefImpl(id, name, version, m, typeCode, impl); m.add(name, javaIoSerializable); } return javaIoSerializable; }
/** * Get a reference to the special case mapping for java.io.Externalizable. * This is according to "Java(TM) Language to IDL Mapping Specification", * section 1.3.10.1 */ private AliasDefImpl getJavaIoExternalizable() throws IRConstructionException { if (javaIoExternalizable == null) { final String id = "IDL:java/io/Externalizable:1.0"; final String name = "Externalizable"; final String version = "1.0"; // Get module to add typedef to. ModuleDefImpl m = ensurePackageExists("java.io"); TypeCode typeCode = orb.create_alias_tc(id, name, orb.get_primitive_tc(TCKind.tk_any)); // TypeCode typeCode = new TypeCodeImpl(TCKind._tk_alias, id, name, // new TypeCodeImpl(TCKind.tk_any)); javaIoExternalizable = new AliasDefImpl(id, name, version, m, typeCode, impl); m.add(name, javaIoExternalizable); } return javaIoExternalizable; }
/** * Get a reference to the special case mapping for java.lang.Object. * This is according to "Java(TM) Language to IDL Mapping Specification", * section 1.3.10.2 */ private AliasDefImpl getJavaLang_Object() throws IRConstructionException { if (javaLang_Object == null) { final String id = "IDL:java/lang/_Object:1.0"; final String name = "_Object"; final String version = "1.0"; // Get module to add typedef to. ModuleDefImpl m = ensurePackageExists("java.lang"); TypeCode typeCode = orb.create_alias_tc(id, name, orb.get_primitive_tc(TCKind.tk_any)); // TypeCode typeCode = new TypeCodeImpl(TCKind._tk_alias, id, name, // new TypeCodeImpl(TCKind.tk_any)); javaLang_Object = new AliasDefImpl(id, name, version, m, typeCode, impl); m.add(name, javaLang_Object); } return javaLang_Object; }
/** * Get a reference to the special case mapping for java.lang.String. * This is according to "Java(TM) Language to IDL Mapping Specification", * section 1.3.5.10 */ private ValueDefImpl getJavaLangString() throws IRConstructionException { if (javaLangString == null) { ModuleDefImpl m = ensurePackageExists("org.omg.CORBA"); ValueDefImpl val = new ValueDefImpl("IDL:omg.org/CORBA/WStringValue:1.0", "WStringValue", "1.0", m, false, false, new String[0], new String[0], orb.get_primitive_tc(TCKind.tk_null), impl); ValueMemberDefImpl vmdi = new ValueMemberDefImpl("IDL:omg.org/CORBA/WStringValue.data:1.0", "data", "1.0", orb.create_wstring_tc(0), true, val, impl); val.add("data", vmdi); m.add("WStringValue", val); javaLangString = val; } return javaLangString; }
m.add(name, vbDef); impl.putSequenceImpl(id, typeCode, sdi, vbDef);
impl); addTypeCode(cls, vDef.type()); m.add(base, vDef);
m.add(base, eDef);
m.add(base, eDef);
base_interfaces, impl); addTypeCode(cls, iDef.type()); m.add(base, iDef);
/** * Get a reference to the special case mapping for java.io.Externalizable. * This is according to "Java(TM) Language to IDL Mapping Specification", * section 1.3.10.1 */ private AliasDefImpl getJavaIoExternalizable() throws IRConstructionException { if (javaIoExternalizable == null) { final String id = "IDL:java/io/Externalizable:1.0"; final String name = "Externalizable"; final String version = "1.0"; // Get module to add typedef to. ModuleDefImpl m = ensurePackageExists("java.io"); TypeCode typeCode = orb.create_alias_tc(id, name, orb.get_primitive_tc(TCKind.tk_any)); // TypeCode typeCode = new TypeCodeImpl(TCKind._tk_alias, id, name, // new TypeCodeImpl(TCKind.tk_any)); javaIoExternalizable = new AliasDefImpl(id, name, version, m, typeCode, impl); m.add(name, javaIoExternalizable); } return javaIoExternalizable; }
/** * Get a reference to the special case mapping for java.lang.Object. * This is according to "Java(TM) Language to IDL Mapping Specification", * section 1.3.10.2 */ private AliasDefImpl getJavaLang_Object() throws IRConstructionException { if (javaLang_Object == null) { final String id = "IDL:java/lang/_Object:1.0"; final String name = "_Object"; final String version = "1.0"; // Get module to add typedef to. ModuleDefImpl m = ensurePackageExists("java.lang"); TypeCode typeCode = orb.create_alias_tc(id, name, orb.get_primitive_tc(TCKind.tk_any)); // TypeCode typeCode = new TypeCodeImpl(TCKind._tk_alias, id, name, // new TypeCodeImpl(TCKind.tk_any)); javaLang_Object = new AliasDefImpl(id, name, version, m, typeCode, impl); m.add(name, javaLang_Object); } return javaLang_Object; }
base_interfaces, impl); addTypeCode(cls, iDef.type()); m.add(base, iDef);
/** * Get a reference to the special case mapping for java.io.Serializable. * This is according to "Java(TM) Language to IDL Mapping Specification", * section 1.3.10.1 */ private AliasDefImpl getJavaIoSerializable() throws IRConstructionException { if (javaIoSerializable == null) { final String id = "IDL:java/io/Serializable:1.0"; final String name = "Serializable"; final String version = "1.0"; // Get module to add typedef to. ModuleDefImpl m = ensurePackageExists("java.io"); TypeCode typeCode = orb.create_alias_tc(id, name, orb.get_primitive_tc(TCKind.tk_any)); // TypeCode typeCode = new TypeCodeImpl(TCKind._tk_alias, id, name, // new TypeCodeImpl(TCKind.tk_any)); javaIoSerializable = new AliasDefImpl(id, name, version, m, typeCode, impl); m.add(name, javaIoSerializable); } return javaIoSerializable; }
/** * Get a reference to the special case mapping for java.io.Externalizable. * This is according to "Java(TM) Language to IDL Mapping Specification", * section 1.3.10.1 */ private AliasDefImpl getJavaIoExternalizable() throws IRConstructionException { if (javaIoExternalizable == null) { final String id = "IDL:java/io/Externalizable:1.0"; final String name = "Externalizable"; final String version = "1.0"; // Get module to add typedef to. ModuleDefImpl m = ensurePackageExists("java.io"); TypeCode typeCode = orb.create_alias_tc(id, name, orb.get_primitive_tc(TCKind.tk_any)); // TypeCode typeCode = new TypeCodeImpl(TCKind._tk_alias, id, name, // new TypeCodeImpl(TCKind.tk_any)); javaIoExternalizable = new AliasDefImpl(id, name, version, m, typeCode, impl); m.add(name, javaIoExternalizable); } return javaIoExternalizable; }
/** * Get a reference to the special case mapping for java.io.Serializable. * This is according to "Java(TM) Language to IDL Mapping Specification", * section 1.3.10.1 */ private AliasDefImpl getJavaIoSerializable() throws IRConstructionException { if (javaIoSerializable == null) { final String id = "IDL:java/io/Serializable:1.0"; final String name = "Serializable"; final String version = "1.0"; // Get module to add typedef to. ModuleDefImpl m = ensurePackageExists("java.io"); TypeCode typeCode = orb.create_alias_tc(id, name, orb.get_primitive_tc(TCKind.tk_any)); // TypeCode typeCode = new TypeCodeImpl(TCKind._tk_alias, id, name, // new TypeCodeImpl(TCKind.tk_any)); javaIoSerializable = new AliasDefImpl(id, name, version, m, typeCode, impl); m.add(name, javaIoSerializable); } return javaIoSerializable; }
/** * Get a reference to the special case mapping for java.lang.Object. * This is according to "Java(TM) Language to IDL Mapping Specification", * section 1.3.10.2 */ private AliasDefImpl getJavaLang_Object() throws IRConstructionException { if (javaLang_Object == null) { final String id = "IDL:java/lang/_Object:1.0"; final String name = "_Object"; final String version = "1.0"; // Get module to add typedef to. ModuleDefImpl m = ensurePackageExists("java.lang"); TypeCode typeCode = orb.create_alias_tc(id, name, orb.get_primitive_tc(TCKind.tk_any)); // TypeCode typeCode = new TypeCodeImpl(TCKind._tk_alias, id, name, // new TypeCodeImpl(TCKind.tk_any)); javaLang_Object = new AliasDefImpl(id, name, version, m, typeCode, impl); m.add(name, javaLang_Object); } return javaLang_Object; }
/** * Get a reference to the special case mapping for java.lang.String. * This is according to "Java(TM) Language to IDL Mapping Specification", * section 1.3.5.10 */ private ValueDefImpl getJavaLangString() throws IRConstructionException { if (javaLangString == null) { ModuleDefImpl m = ensurePackageExists("org.omg.CORBA"); ValueDefImpl val = new ValueDefImpl("IDL:omg.org/CORBA/WStringValue:1.0", "WStringValue", "1.0", m, false, false, new String[0], new String[0], orb.get_primitive_tc(TCKind.tk_null), impl); ValueMemberDefImpl vmdi = new ValueMemberDefImpl("IDL:omg.org/CORBA/WStringValue.data:1.0", "data", "1.0", orb.create_wstring_tc(0), true, val, impl); val.add("data", vmdi); m.add("WStringValue", val); javaLangString = val; } return javaLangString; }
/** * Get a reference to the special case mapping for java.lang.String. * This is according to "Java(TM) Language to IDL Mapping Specification", * section 1.3.5.10 */ private ValueDefImpl getJavaLangString() throws IRConstructionException { if (javaLangString == null) { ModuleDefImpl m = ensurePackageExists("org.omg.CORBA"); ValueDefImpl val = new ValueDefImpl("IDL:omg.org/CORBA/WStringValue:1.0", "WStringValue", "1.0", m, false, false, new String[0], new String[0], orb.get_primitive_tc(TCKind.tk_null), impl); ValueMemberDefImpl vmdi = new ValueMemberDefImpl("IDL:omg.org/CORBA/WStringValue.data:1.0", "data", "1.0", orb.create_wstring_tc(0), true, val, impl); val.add("data", vmdi); m.add("WStringValue", val); javaLangString = val; } return javaLangString; }