public Description describe() { String defined_in_id = "IR"; if (defined_in instanceof ContainedOperations) defined_in_id = ((ContainedOperations) defined_in).id(); ConstantDescription d = new ConstantDescription(name, id, defined_in_id, version, typeCode, value); Any any = getORB().create_any(); ConstantDescriptionHelper.insert(any, d); return new Description(DefinitionKind.dk_Constant, any); }
org.omg.CORBA.ConstantDescription describe_constant() { if ( ! defined) { throw new INTF_REPOS ("ConstantDef " + name + " not defined!"); } if( description == null ) { String def_in = null; if( myContainer == null ) def_in = "Global"; else def_in = myContainer.id(); description = new org.omg.CORBA.ConstantDescription( name, id, def_in, version, typeCode, value); } return description; }
public Description describe() { String defined_in_id = "IR"; if (defined_in instanceof ContainedOperations) defined_in_id = ((ContainedOperations) defined_in).id(); ConstantDescription d = new ConstantDescription(name, id, defined_in_id, version, typeCode, value); Any any = getORB().create_any(); ConstantDescriptionHelper.insert(any, d); return new Description(DefinitionKind.dk_Constant, any); }
public Description describe() { String defined_in_id = "IR"; if (defined_in instanceof ContainedOperations) defined_in_id = ((ContainedOperations) defined_in).id(); ConstantDescription d = new ConstantDescription(name, id, defined_in_id, version, typeCode, value); Any any = getORB().create_any(); ConstantDescriptionHelper.insert(any, d); return new Description(DefinitionKind.dk_Constant, any); }
public static org.omg.CORBA.ConstantDescription read (org.omg.CORBA.portable.InputStream istream) { org.omg.CORBA.ConstantDescription value = new org.omg.CORBA.ConstantDescription (); value.name = istream.read_string (); value.id = istream.read_string (); value.defined_in = istream.read_string (); value.version = istream.read_string (); value.type = istream.read_TypeCode (); value.value = istream.read_any (); return value; }
public static org.omg.CORBA.ConstantDescription read (final org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.ConstantDescription result = new org.omg.CORBA.ConstantDescription(); result.name=in.read_string(); result.id=in.read_string(); result.defined_in=in.read_string(); result.version=in.read_string(); result.type=in.read_TypeCode(); result.value=in.read_any(); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CORBA.ConstantDescription s)
public static ConstantDescription read(org.omg.CORBA.portable.InputStream in) { ConstantDescription _ob_v = new ConstantDescription(); _ob_v.name = IdentifierHelper.read(in); _ob_v.id = RepositoryIdHelper.read(in); _ob_v.defined_in = RepositoryIdHelper.read(in); _ob_v.version = VersionSpecHelper.read(in); _ob_v.type = in.read_TypeCode(); _ob_v.value = in.read_any(); return _ob_v; }
public static org.omg.CORBA.ConstantDescription read (final org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.ConstantDescription result = new org.omg.CORBA.ConstantDescription(); result.name=in.read_string(); result.id=in.read_string(); result.defined_in=in.read_string(); result.version=in.read_string(); result.type=in.read_TypeCode(); result.value=in.read_any(); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CORBA.ConstantDescription s)