Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.omg.CORBA._ValueDefStub Maven / Gradle / Ivy
package org.omg.CORBA;
/**
* org/omg/CORBA/_ValueDefStub.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /home/jenkins/agent/workspace/orb-release-build/omgapi/src/main/idl/ir.idl
* Sunday, February 14, 2021 7:42:42 PM GMT
*/
public class _ValueDefStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.CORBA.ValueDef
{
// read/write interface
public org.omg.CORBA.InterfaceDef[] supported_interfaces ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_supported_interfaces", true);
$in = _invoke ($out);
org.omg.CORBA.InterfaceDef $result[] = org.omg.CORBA.InterfaceDefSeqHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return supported_interfaces ( );
} finally {
_releaseReply ($in);
}
} // supported_interfaces
// read/write interface
public void supported_interfaces (org.omg.CORBA.InterfaceDef[] newSupported_interfaces)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_supported_interfaces", true);
org.omg.CORBA.InterfaceDefSeqHelper.write ($out, newSupported_interfaces);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
supported_interfaces (newSupported_interfaces );
} finally {
_releaseReply ($in);
}
} // supported_interfaces
public org.omg.CORBA.Initializer[] initializers ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_initializers", true);
$in = _invoke ($out);
org.omg.CORBA.Initializer $result[] = org.omg.CORBA.InitializerSeqHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return initializers ( );
} finally {
_releaseReply ($in);
}
} // initializers
public void initializers (org.omg.CORBA.Initializer[] newInitializers)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_initializers", true);
org.omg.CORBA.InitializerSeqHelper.write ($out, newInitializers);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
initializers (newInitializers );
} finally {
_releaseReply ($in);
}
} // initializers
public org.omg.CORBA.ValueDef base_value ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_base_value", true);
$in = _invoke ($out);
org.omg.CORBA.ValueDef $result = org.omg.CORBA.ValueDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return base_value ( );
} finally {
_releaseReply ($in);
}
} // base_value
public void base_value (org.omg.CORBA.ValueDef newBase_value)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_base_value", true);
org.omg.CORBA.ValueDefHelper.write ($out, newBase_value);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
base_value (newBase_value );
} finally {
_releaseReply ($in);
}
} // base_value
public org.omg.CORBA.ValueDef[] abstract_base_values ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_abstract_base_values", true);
$in = _invoke ($out);
org.omg.CORBA.ValueDef $result[] = org.omg.CORBA.ValueDefSeqHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return abstract_base_values ( );
} finally {
_releaseReply ($in);
}
} // abstract_base_values
public void abstract_base_values (org.omg.CORBA.ValueDef[] newAbstract_base_values)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_abstract_base_values", true);
org.omg.CORBA.ValueDefSeqHelper.write ($out, newAbstract_base_values);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
abstract_base_values (newAbstract_base_values );
} finally {
_releaseReply ($in);
}
} // abstract_base_values
public boolean is_abstract ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_is_abstract", true);
$in = _invoke ($out);
boolean $result = $in.read_boolean ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return is_abstract ( );
} finally {
_releaseReply ($in);
}
} // is_abstract
public void is_abstract (boolean newIs_abstract)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_is_abstract", true);
$out.write_boolean (newIs_abstract);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
is_abstract (newIs_abstract );
} finally {
_releaseReply ($in);
}
} // is_abstract
public boolean is_custom ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_is_custom", true);
$in = _invoke ($out);
boolean $result = $in.read_boolean ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return is_custom ( );
} finally {
_releaseReply ($in);
}
} // is_custom
public void is_custom (boolean newIs_custom)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_is_custom", true);
$out.write_boolean (newIs_custom);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
is_custom (newIs_custom );
} finally {
_releaseReply ($in);
}
} // is_custom
public byte flags ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_flags", true);
$in = _invoke ($out);
byte $result = $in.read_octet ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return flags ( );
} finally {
_releaseReply ($in);
}
} // flags
public void flags (byte newFlags)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_flags", true);
$out.write_octet (newFlags);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
flags (newFlags );
} finally {
_releaseReply ($in);
}
} // flags
// always 0
public boolean has_safe_base ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_has_safe_base", true);
$in = _invoke ($out);
boolean $result = $in.read_boolean ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return has_safe_base ( );
} finally {
_releaseReply ($in);
}
} // has_safe_base
// always 0
public void has_safe_base (boolean newHas_safe_base)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_has_safe_base", true);
$out.write_boolean (newHas_safe_base);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
has_safe_base (newHas_safe_base );
} finally {
_releaseReply ($in);
}
} // has_safe_base
// read interface
public boolean is_a (String value_id)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("is_a", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, value_id);
$in = _invoke ($out);
boolean $result = $in.read_boolean ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return is_a (value_id );
} finally {
_releaseReply ($in);
}
} // is_a
public org.omg.CORBA.ValueDefPackage.FullValueDescription describe_value ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("describe_value", true);
$in = _invoke ($out);
org.omg.CORBA.ValueDefPackage.FullValueDescription $result = org.omg.CORBA.ValueDefPackage.FullValueDescriptionHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return describe_value ( );
} finally {
_releaseReply ($in);
}
} // describe_value
// write interface
public org.omg.CORBA.ValueMemberDef create_value_member (String id, String name, String version, org.omg.CORBA.IDLType type_def, short access)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_value_member", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
org.omg.CORBA.IDLTypeHelper.write ($out, type_def);
org.omg.CORBA.VisibilityHelper.write ($out, access);
$in = _invoke ($out);
org.omg.CORBA.ValueMemberDef $result = org.omg.CORBA.ValueMemberDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_value_member (id, name, version, type_def, access );
} finally {
_releaseReply ($in);
}
} // create_value_member
public org.omg.CORBA.AttributeDef create_attribute (String id, String name, String version, org.omg.CORBA.IDLType type, org.omg.CORBA.AttributeMode mode)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_attribute", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
org.omg.CORBA.IDLTypeHelper.write ($out, type);
org.omg.CORBA.AttributeModeHelper.write ($out, mode);
$in = _invoke ($out);
org.omg.CORBA.AttributeDef $result = org.omg.CORBA.AttributeDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_attribute (id, name, version, type, mode );
} finally {
_releaseReply ($in);
}
} // create_attribute
public org.omg.CORBA.OperationDef create_operation (String id, String name, String version, org.omg.CORBA.IDLType result, org.omg.CORBA.OperationMode mode, org.omg.CORBA.ParameterDescription[] params, org.omg.CORBA.ExceptionDef[] exceptions, String[] contexts)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_operation", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
org.omg.CORBA.IDLTypeHelper.write ($out, result);
org.omg.CORBA.OperationModeHelper.write ($out, mode);
org.omg.CORBA.ParDescriptionSeqHelper.write ($out, params);
org.omg.CORBA.ExceptionDefSeqHelper.write ($out, exceptions);
org.omg.CORBA.ContextIdSeqHelper.write ($out, contexts);
$in = _invoke ($out);
org.omg.CORBA.OperationDef $result = org.omg.CORBA.OperationDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_operation (id, name, version, result, mode, params, exceptions, contexts );
} finally {
_releaseReply ($in);
}
} // create_operation
// read interface
public org.omg.CORBA.Contained lookup (String search_name)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("lookup", true);
org.omg.CORBA.ScopedNameHelper.write ($out, search_name);
$in = _invoke ($out);
org.omg.CORBA.Contained $result = org.omg.CORBA.ContainedHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return lookup (search_name );
} finally {
_releaseReply ($in);
}
} // lookup
public org.omg.CORBA.Contained[] contents (org.omg.CORBA.DefinitionKind limit_type, boolean exclude_inherited)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("contents", true);
org.omg.CORBA.DefinitionKindHelper.write ($out, limit_type);
$out.write_boolean (exclude_inherited);
$in = _invoke ($out);
org.omg.CORBA.Contained $result[] = org.omg.CORBA.ContainedSeqHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return contents (limit_type, exclude_inherited );
} finally {
_releaseReply ($in);
}
} // contents
public org.omg.CORBA.Contained[] lookup_name (String search_name, int levels_to_search, org.omg.CORBA.DefinitionKind limit_type, boolean exclude_inherited)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("lookup_name", true);
org.omg.CORBA.IdentifierHelper.write ($out, search_name);
$out.write_long (levels_to_search);
org.omg.CORBA.DefinitionKindHelper.write ($out, limit_type);
$out.write_boolean (exclude_inherited);
$in = _invoke ($out);
org.omg.CORBA.Contained $result[] = org.omg.CORBA.ContainedSeqHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return lookup_name (search_name, levels_to_search, limit_type, exclude_inherited );
} finally {
_releaseReply ($in);
}
} // lookup_name
public org.omg.CORBA.ContainerPackage.Description[] describe_contents (org.omg.CORBA.DefinitionKind limit_type, boolean exclude_inherited, int max_returned_objs)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("describe_contents", true);
org.omg.CORBA.DefinitionKindHelper.write ($out, limit_type);
$out.write_boolean (exclude_inherited);
$out.write_long (max_returned_objs);
$in = _invoke ($out);
org.omg.CORBA.ContainerPackage.Description $result[] = org.omg.CORBA.ContainerPackage.DescriptionSeqHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return describe_contents (limit_type, exclude_inherited, max_returned_objs );
} finally {
_releaseReply ($in);
}
} // describe_contents
// write interface
public org.omg.CORBA.ModuleDef create_module (String id, String name, String version)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_module", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
$in = _invoke ($out);
org.omg.CORBA.ModuleDef $result = org.omg.CORBA.ModuleDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_module (id, name, version );
} finally {
_releaseReply ($in);
}
} // create_module
public org.omg.CORBA.ConstantDef create_constant (String id, String name, String version, org.omg.CORBA.IDLType type, org.omg.CORBA.Any value)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_constant", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
org.omg.CORBA.IDLTypeHelper.write ($out, type);
$out.write_any (value);
$in = _invoke ($out);
org.omg.CORBA.ConstantDef $result = org.omg.CORBA.ConstantDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_constant (id, name, version, type, value );
} finally {
_releaseReply ($in);
}
} // create_constant
public org.omg.CORBA.StructDef create_struct (String id, String name, String version, org.omg.CORBA.StructMember[] members)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_struct", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
org.omg.CORBA.StructMemberSeqHelper.write ($out, members);
$in = _invoke ($out);
org.omg.CORBA.StructDef $result = org.omg.CORBA.StructDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_struct (id, name, version, members );
} finally {
_releaseReply ($in);
}
} // create_struct
public org.omg.CORBA.UnionDef create_union (String id, String name, String version, org.omg.CORBA.IDLType discriminator_type, org.omg.CORBA.UnionMember[] members)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_union", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
org.omg.CORBA.IDLTypeHelper.write ($out, discriminator_type);
org.omg.CORBA.UnionMemberSeqHelper.write ($out, members);
$in = _invoke ($out);
org.omg.CORBA.UnionDef $result = org.omg.CORBA.UnionDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_union (id, name, version, discriminator_type, members );
} finally {
_releaseReply ($in);
}
} // create_union
public org.omg.CORBA.EnumDef create_enum (String id, String name, String version, String[] members)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_enum", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
org.omg.CORBA.EnumMemberSeqHelper.write ($out, members);
$in = _invoke ($out);
org.omg.CORBA.EnumDef $result = org.omg.CORBA.EnumDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_enum (id, name, version, members );
} finally {
_releaseReply ($in);
}
} // create_enum
public org.omg.CORBA.AliasDef create_alias (String id, String name, String version, org.omg.CORBA.IDLType original_type)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_alias", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
org.omg.CORBA.IDLTypeHelper.write ($out, original_type);
$in = _invoke ($out);
org.omg.CORBA.AliasDef $result = org.omg.CORBA.AliasDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_alias (id, name, version, original_type );
} finally {
_releaseReply ($in);
}
} // create_alias
public org.omg.CORBA.ExceptionDef create_exception (String id, String name, String version, org.omg.CORBA.StructMember[] members)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_exception", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
org.omg.CORBA.StructMemberSeqHelper.write ($out, members);
$in = _invoke ($out);
org.omg.CORBA.ExceptionDef $result = org.omg.CORBA.ExceptionDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_exception (id, name, version, members );
} finally {
_releaseReply ($in);
}
} // create_exception
public org.omg.CORBA.InterfaceDef create_interface (String id, String name, String version, boolean is_abstract, org.omg.CORBA.InterfaceDef[] base_interfaces)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_interface", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
$out.write_boolean (is_abstract);
org.omg.CORBA.InterfaceDefSeqHelper.write ($out, base_interfaces);
$in = _invoke ($out);
org.omg.CORBA.InterfaceDef $result = org.omg.CORBA.InterfaceDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_interface (id, name, version, is_abstract, base_interfaces );
} finally {
_releaseReply ($in);
}
} // create_interface
// orbos 98-01-18: Objects By Value
public org.omg.CORBA.ValueDef create_value (String id, String name, String version, boolean is_custom, boolean is_abstract, byte flags, org.omg.CORBA.ValueDef base_value, boolean has_safe_base, org.omg.CORBA.ValueDef[] abstract_base_values, org.omg.CORBA.InterfaceDef[] supported_interfaces, org.omg.CORBA.Initializer[] initializers)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_value", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
$out.write_boolean (is_custom);
$out.write_boolean (is_abstract);
$out.write_octet (flags);
org.omg.CORBA.ValueDefHelper.write ($out, base_value);
$out.write_boolean (has_safe_base);
org.omg.CORBA.ValueDefSeqHelper.write ($out, abstract_base_values);
org.omg.CORBA.InterfaceDefSeqHelper.write ($out, supported_interfaces);
org.omg.CORBA.InitializerSeqHelper.write ($out, initializers);
$in = _invoke ($out);
org.omg.CORBA.ValueDef $result = org.omg.CORBA.ValueDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_value (id, name, version, is_custom, is_abstract, flags, base_value, has_safe_base, abstract_base_values, supported_interfaces, initializers );
} finally {
_releaseReply ($in);
}
} // create_value
// orbos 98-01-18: Objects By Value
public org.omg.CORBA.ValueBoxDef create_value_box (String id, String name, String version, org.omg.CORBA.IDLType original_type_def)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_value_box", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
org.omg.CORBA.IDLTypeHelper.write ($out, original_type_def);
$in = _invoke ($out);
org.omg.CORBA.ValueBoxDef $result = org.omg.CORBA.ValueBoxDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_value_box (id, name, version, original_type_def );
} finally {
_releaseReply ($in);
}
} // create_value_box
public org.omg.CORBA.NativeDef create_native (String id, String name, String version)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_native", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
$in = _invoke ($out);
org.omg.CORBA.NativeDef $result = org.omg.CORBA.NativeDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_native (id, name, version );
} finally {
_releaseReply ($in);
}
} // create_native
// read interface
public org.omg.CORBA.DefinitionKind def_kind ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_def_kind", true);
$in = _invoke ($out);
org.omg.CORBA.DefinitionKind $result = org.omg.CORBA.DefinitionKindHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return def_kind ( );
} finally {
_releaseReply ($in);
}
} // def_kind
// write interface
public void destroy ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("destroy", true);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
destroy ( );
} finally {
_releaseReply ($in);
}
} // destroy
// read/write interface
public String id ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_id", true);
$in = _invoke ($out);
String $result = org.omg.CORBA.RepositoryIdHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return id ( );
} finally {
_releaseReply ($in);
}
} // id
// read/write interface
public void id (String newId)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_id", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, newId);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
id (newId );
} finally {
_releaseReply ($in);
}
} // id
public String name ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_name", true);
$in = _invoke ($out);
String $result = org.omg.CORBA.IdentifierHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return name ( );
} finally {
_releaseReply ($in);
}
} // name
public void name (String newName)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_name", true);
org.omg.CORBA.IdentifierHelper.write ($out, newName);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
name (newName );
} finally {
_releaseReply ($in);
}
} // name
public String version ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_version", true);
$in = _invoke ($out);
String $result = org.omg.CORBA.VersionSpecHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return version ( );
} finally {
_releaseReply ($in);
}
} // version
public void version (String newVersion)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_version", true);
org.omg.CORBA.VersionSpecHelper.write ($out, newVersion);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
version (newVersion );
} finally {
_releaseReply ($in);
}
} // version
// read interface
public org.omg.CORBA.Container defined_in ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_defined_in", true);
$in = _invoke ($out);
org.omg.CORBA.Container $result = org.omg.CORBA.ContainerHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return defined_in ( );
} finally {
_releaseReply ($in);
}
} // defined_in
public String absolute_name ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_absolute_name", true);
$in = _invoke ($out);
String $result = org.omg.CORBA.ScopedNameHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return absolute_name ( );
} finally {
_releaseReply ($in);
}
} // absolute_name
public org.omg.CORBA.Repository containing_repository ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_containing_repository", true);
$in = _invoke ($out);
org.omg.CORBA.Repository $result = org.omg.CORBA.RepositoryHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return containing_repository ( );
} finally {
_releaseReply ($in);
}
} // containing_repository
public org.omg.CORBA.ContainedPackage.Description describe ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("describe", true);
$in = _invoke ($out);
org.omg.CORBA.ContainedPackage.Description $result = org.omg.CORBA.ContainedPackage.DescriptionHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return describe ( );
} finally {
_releaseReply ($in);
}
} // describe
// write interface
public void move (org.omg.CORBA.Container new_container, String new_name, String new_version)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("move", true);
org.omg.CORBA.ContainerHelper.write ($out, new_container);
org.omg.CORBA.IdentifierHelper.write ($out, new_name);
org.omg.CORBA.VersionSpecHelper.write ($out, new_version);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
move (new_container, new_name, new_version );
} finally {
_releaseReply ($in);
}
} // move
public org.omg.CORBA.TypeCode type ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_type", true);
$in = _invoke ($out);
org.omg.CORBA.TypeCode $result = $in.read_TypeCode ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return type ( );
} finally {
_releaseReply ($in);
}
} // type
// Type-specific CORBA::Object operations
private static String[] __ids = {
"IDL:omg.org/CORBA/ValueDef:1.0",
"IDL:omg.org/CORBA/Container:1.0",
"IDL:CORBA/IRObject:1.0",
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:CORBA/IDLType:1.0"};
public String[] _ids ()
{
return (String[])__ids.clone ();
}
private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
String str = s.readUTF ();
String[] args = null;
java.util.Properties props = null;
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);
try {
org.omg.CORBA.Object obj = orb.string_to_object (str);
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
_set_delegate (delegate);
} finally {
orb.destroy() ;
}
}
private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
{
String[] args = null;
java.util.Properties props = null;
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);
try {
String str = orb.object_to_string (this);
s.writeUTF (str);
} finally {
orb.destroy() ;
}
}
} // class _ValueDefStub