summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog21
-rw-r--r--org/omg/CORBA/BAD_POLICY.java55
-rw-r--r--org/omg/CORBA/BAD_POLICY_TYPE.java55
-rw-r--r--org/omg/CORBA/BAD_POLICY_VALUE.java55
-rw-r--r--org/omg/CORBA/Environment.java70
-rw-r--r--org/omg/CORBA/IDLType.java54
-rw-r--r--org/omg/CORBA/OMGVMCID.java54
-rw-r--r--org/omg/CORBA/PRIVATE_MEMBER.java55
-rw-r--r--org/omg/CORBA/PUBLIC_MEMBER.java55
-rw-r--r--org/omg/CORBA/Request.java242
-rw-r--r--org/omg/CORBA/StructMember.java94
-rw-r--r--org/omg/CORBA/UNSUPPORTED_POLICY.java56
-rw-r--r--org/omg/CORBA/UNSUPPORTED_POLICY_VALUE.java56
-rw-r--r--org/omg/CORBA/UnionMember.java102
-rw-r--r--org/omg/CORBA/VM_ABSTRACT.java52
-rw-r--r--org/omg/CORBA/VM_CUSTOM.java53
-rw-r--r--org/omg/CORBA/VM_NONE.java54
-rw-r--r--org/omg/CORBA/VM_TRUNCATABLE.java53
-rw-r--r--org/omg/CORBA/ValueMember.java114
-rw-r--r--org/omg/CORBA/WrongTransaction.java70
20 files changed, 1420 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cd128982e..b5b8592b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,24 @@
+2005-04-10 Audrius Meskauskas <audriusa@bluewin.ch>
+ * org/omg/CORBA/PRIVATE_MEMBER.java,
+ org/omg/CORBA/PUBLIC_MEMBER.java,
+ org/omg/CORBA/Request.java,
+ org/omg/CORBA/StructMember.java,
+ org/omg/CORBA/UnionMember.java,
+ org/omg/CORBA/UNSUPPORTED_POLICY.java,
+ org/omg/CORBA/UNSUPPORTED_POLICY_VALUE.java,
+ org/omg/CORBA/ValueMember.java,
+ org/omg/CORBA/VM_ABSTRACT.java,
+ org/omg/CORBA/VM_CUSTOM.java,
+ org/omg/CORBA/VM_NONE.java,
+ org/omg/CORBA/VM_TRUNCATABLE.java,
+ org/omg/CORBA/WrongTransaction.java,
+ org/omg/CORBA/BAD_POLICY.java,
+ org/omg/CORBA/BAD_POLICY_TYPE.java,
+ org/omg/CORBA/BAD_POLICY_VALUE.java,
+ org/omg/CORBA/Environment.java,
+ org/omg/CORBA/IDLType.java,
+ org/omg/CORBA/OMGVMCID.java: new files.
+
2005-04-09 Mark Wielaard <mark@klomp.org>
* native/jni/java-lang/java_lang_Double.c: Reindent.
diff --git a/org/omg/CORBA/BAD_POLICY.java b/org/omg/CORBA/BAD_POLICY.java
new file mode 100644
index 000000000..b808eb1a5
--- /dev/null
+++ b/org/omg/CORBA/BAD_POLICY.java
@@ -0,0 +1,55 @@
+/* BAD_POLICY.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package org.omg.CORBA;
+
+/**
+ * Holds a single constant, specifying, that
+ * the requested {@link Policy} is not valid. One of the PolicyErrorCodes,
+ * others being {@link UNSUPPORTED_POLICY},
+ * {@link UNSUPPORTED_POLICY_VALUE},
+ * {@link BAD_POLICY_TYPE}, {@link BAD_POLICY_VALUE}.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public interface BAD_POLICY
+{
+ /**
+ * States that the requested {@link Policy} is not valid.
+ */
+ short value = 0;
+}
diff --git a/org/omg/CORBA/BAD_POLICY_TYPE.java b/org/omg/CORBA/BAD_POLICY_TYPE.java
new file mode 100644
index 000000000..75ac3dd4a
--- /dev/null
+++ b/org/omg/CORBA/BAD_POLICY_TYPE.java
@@ -0,0 +1,55 @@
+/* BAD_POLICY_TYPE.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package org.omg.CORBA;
+
+/**
+ * Holds a single constant, specifying, that
+ * the requested {@link Policy} type is not valid. One of the
+ * PolicyErrorCodes, others being {@link UNSUPPORTED_POLICY},
+ * {@link UNSUPPORTED_POLICY_VALUE}, {@link BAD_POLICY},
+ * {@link BAD_POLICY_VALUE}.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public interface BAD_POLICY_TYPE
+{
+ /**
+ * States that the requested {@link Policy} type is not valid.
+ */
+ short value = 2;
+}
diff --git a/org/omg/CORBA/BAD_POLICY_VALUE.java b/org/omg/CORBA/BAD_POLICY_VALUE.java
new file mode 100644
index 000000000..04fb08285
--- /dev/null
+++ b/org/omg/CORBA/BAD_POLICY_VALUE.java
@@ -0,0 +1,55 @@
+/* BAD_POLICY_VALUE.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package org.omg.CORBA;
+
+/**
+ * Holds a single constant, specifying, that
+ * the requested {@link Policy} value is not valid. One of the
+ * PolicyErrorCodes, others being {@link UNSUPPORTED_POLICY},
+ * {@link BAD_POLICY}, {@link BAD_POLICY_TYPE},
+ * {@link BAD_POLICY_VALUE}.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public interface BAD_POLICY_VALUE
+{
+ /**
+ * States that the requested {@link Policy} value is not valid.
+ */
+ short value = 3;
+}
diff --git a/org/omg/CORBA/Environment.java b/org/omg/CORBA/Environment.java
new file mode 100644
index 000000000..e2cfd651b
--- /dev/null
+++ b/org/omg/CORBA/Environment.java
@@ -0,0 +1,70 @@
+/* Environment.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+
+package org.omg.CORBA;
+
+
+/**
+ * A container for an exception, that has been thrown by the method
+ * of the CORBA object.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public abstract class Environment
+{
+ /**
+ * Removes the exception object from this container.
+ */
+ public abstract void clear();
+
+ /**
+ * Returns an exception, enclosed in this container.
+ *
+ * @return the enclosed exception or null if no any
+ * exception has been thrown or {@link #clear()}
+ * has been previously called.
+ */
+ public abstract Exception exception();
+
+ /**
+ * Inserts the given exception into this container.
+ *
+ * @param except the exception to insert.
+ */
+ public abstract void exception(Exception except);
+}
diff --git a/org/omg/CORBA/IDLType.java b/org/omg/CORBA/IDLType.java
new file mode 100644
index 000000000..348872b56
--- /dev/null
+++ b/org/omg/CORBA/IDLType.java
@@ -0,0 +1,54 @@
+/* IDLType.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+
+package org.omg.CORBA;
+
+import java.io.Serializable;
+
+import org.omg.CORBA.portable.IDLEntity;
+
+/**
+ * An abstract interface
+ * that represent OMG IDL types.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public interface IDLType
+ extends Serializable, IDLEntity
+{
+}
diff --git a/org/omg/CORBA/OMGVMCID.java b/org/omg/CORBA/OMGVMCID.java
new file mode 100644
index 000000000..a4b801b44
--- /dev/null
+++ b/org/omg/CORBA/OMGVMCID.java
@@ -0,0 +1,54 @@
+/* OMGVMCID.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package org.omg.CORBA;
+
+/**
+ * Holds a single constant, specifying, that
+ * The vendor minor code ID reserved for the Object Management Group
+ * (http://www.omg.org).
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public interface OMGVMCID
+{
+ /**
+ * The vendor minor code ID (1330446336) reserved for the Object
+ * Management Group (http://www.omg.org).
+ */
+ int value = 1330446336;
+}
diff --git a/org/omg/CORBA/PRIVATE_MEMBER.java b/org/omg/CORBA/PRIVATE_MEMBER.java
new file mode 100644
index 000000000..97ebc11ca
--- /dev/null
+++ b/org/omg/CORBA/PRIVATE_MEMBER.java
@@ -0,0 +1,55 @@
+/* PRIVATE_MEMBER.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package org.omg.CORBA;
+
+/**
+ * One of the two constants, defining the visibility scope of
+ * the {@link ValueMember}. The other constant is
+ * {@link PUBLIC_MEMBER}.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ *
+ * @see ValueMember#access
+ */
+public interface PRIVATE_MEMBER
+{
+ /**
+ * The flag, specifying that the value member is private.
+ */
+ int value = 0;
+}
diff --git a/org/omg/CORBA/PUBLIC_MEMBER.java b/org/omg/CORBA/PUBLIC_MEMBER.java
new file mode 100644
index 000000000..62a36c07a
--- /dev/null
+++ b/org/omg/CORBA/PUBLIC_MEMBER.java
@@ -0,0 +1,55 @@
+/* PUBLIC_MEMBER.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package org.omg.CORBA;
+
+/**
+ * One of the two constants, defining the visibility scope of
+ * the {@link ValueMember}. The other constant is
+ * {@link PRIVATE_MEMBER}.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ *
+ * @see ValueMember#access
+ */
+public interface PUBLIC_MEMBER
+{
+ /**
+ * The flag, specifying that the value member is public.
+ */
+ int value = 1;
+}
diff --git a/org/omg/CORBA/Request.java b/org/omg/CORBA/Request.java
new file mode 100644
index 000000000..b70a3c0f6
--- /dev/null
+++ b/org/omg/CORBA/Request.java
@@ -0,0 +1,242 @@
+/* Request.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+
+package org.omg.CORBA;
+
+
+/**
+ * An object, containing the information, needed to invoke the method of
+ * the local or remote CORBA object. The Request is used in
+ * Dynamic Invocation Interface (DII) which allows dynamic creation of
+ * requests.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public abstract class Request
+{
+ /**
+ * Add the named input parameter that passes value to
+ * the method being invoked. This is similar to the "passing by value"
+ * conception.
+ *
+ * The created parameter is returned allowing to set the value.
+ *
+ * @return the created parameter.
+ */
+ public abstract Any add_in_arg();
+
+ /**
+ * Add the input/output parameter that passes value both to and from
+ * the method being invoked. This is similar to the "passing by reference"
+ * conception.
+ *
+ * The created parameter is returned allowing to set the value.
+ *
+ * @return the created parameter.
+ */
+ public abstract Any add_inout_arg();
+
+ /**
+ * Add the named input parameter that passes value to
+ * the method being invoked. This is similar to the "passing by value"
+ * conception.
+ *
+ * The created parameter is returned allowing to set the value.
+ *
+ * @param name the parameter name.
+ *
+ * @return the created parameter.
+ */
+ public abstract Any add_named_in_arg(String name);
+
+ /**
+ * Add the named input/output parameter that passes value both to and from
+ * the method being invoked. This is similar to the "passing by reference"
+ * conception.
+ *
+ * The created parameter is returned allowing to set the value.
+ *
+ * @param name the parameter name.
+ *
+ * @return the created parameter.
+ */
+ public abstract Any add_named_inout_arg(String name);
+
+ /**
+ * Add the named output parameter that passes value from
+ * the method being invoked. Differently from the java
+ * language, the CORBA IDL method can return multiple values.
+ *
+ * The created parameter is returned allowing to set the value.
+ *
+ * @param name the parameter name.
+ *
+ * @return the created parameter.
+ */
+ public abstract Any add_named_out_arg(String name);
+
+ /**
+ * Add the output parameter that passes value from
+ * the method being invoked. Differently from the java
+ * language, the CORBA IDL method can return multiple values.
+ *
+ * The created parameter is returned allowing to set the value.
+ *
+ * @return the created parameter.
+ */
+ public abstract Any add_out_arg();
+
+ /**
+ * Return the list of all previously added parameters.
+ *
+ * @return the list of parameters.
+ */
+ public abstract NVList arguments();
+
+ /**
+ * Get the context list object for this request.
+ *
+ * @return a list of strings that must be resolved and sent with the
+ * invocation.
+ */
+ public abstract ContextList contexts();
+
+ /**
+ * Get the context, previously set using {@link #cts(Context)}.
+ * The context contains the details about this request.
+ */
+ public abstract Context ctx();
+
+ /**
+ * Set the context that shuld be later returned by {@link #ctx()}.
+ * This context contains the details about this request.
+ *
+ * @param a_context a context to set.
+ */
+ public abstract void ctx(Context a_context);
+
+ /**
+ * Returns the container, eclosing an exception that the invoked method
+ * has thrown.
+ *
+ * @return the Environment object, containng the exception.
+ */
+ public abstract Environment env();
+
+ /**
+ * List the exceptions that may be thrown by the CORBA object method being
+ * invoked.
+ *
+ * @return the list of exceptions.
+ */
+ public abstract ExceptionList exceptions();
+
+ /**
+ * Allow to access the response that has been previously sent using
+ * {@link send_deferred()}.
+ *
+ * @throws WrongTransaction if the transaction scope mismatches.
+ */
+ public abstract void get_response()
+ throws WrongTransaction;
+
+ /**
+ * Submit the request, suspending the current thread until the
+ * answer is received.
+ */
+ public abstract void invoke();
+
+ /**
+ * Get the name of the method being invoked.
+ *
+ * @return the name of the method being invoked.
+ */
+ public abstract String operation();
+
+ /**
+ * Check if the response is received to the request that was
+ * previously send using {@link send_deferred()}.
+ *
+ * @return true if the response has been already received, false otherwise.
+ */
+ public abstract boolean poll_response();
+
+ /**
+ * Get the value, returned by the method, together with its name.
+ *
+ * @return the value, returned by the method.
+ */
+ public abstract NamedValue result();
+
+ /**
+ * Get the value, returned by the method.
+ *
+ * @return the value, returned by the method.
+ */
+ public abstract Any return_value();
+
+ /**
+ * Send a request without suspending the current thread.
+ *
+ * Allow later check of the request status by {@link #poll_response()} and
+ * retrieving the results by {@link #get_response()}.
+ */
+ public void send_deferred();
+
+ /**
+ * Send a request and forget about it, not waiting for a response.
+ * This can be done also for methods that normally are expected
+ * to return some values.
+ */
+ public abstract void send_oneway();
+
+ /**
+ * Set the return type.
+ *
+ * @param returns the type of the value, returned in response to this
+ * request.
+ */
+ public abstract void set_return_type(TypeCode returns);
+
+ /**
+ * Return the CORBA object on that the method would be invoked.
+ *
+ * @return the invocation target.
+ */
+ public abstract org.omg.CORBA.Object target();
+}
diff --git a/org/omg/CORBA/StructMember.java b/org/omg/CORBA/StructMember.java
new file mode 100644
index 000000000..79421b964
--- /dev/null
+++ b/org/omg/CORBA/StructMember.java
@@ -0,0 +1,94 @@
+/* StructMember.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+
+package org.omg.CORBA;
+
+import java.io.Serializable;
+
+import org.omg.CORBA.portable.IDLEntity;
+
+/**
+ * The component, describing the member of CORBA IDL <code>struct</code>.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public final class StructMember
+ implements IDLEntity, Serializable
+{
+ /**
+ * Use 1.4 version serialVersionUID for interoperability.
+ */
+ private static final long serialVersionUID = 2762280796480753206L;
+
+ /**
+ * The IDL type of the structure member.
+ */
+ public IDLType type_def;
+
+ /**
+ * The name of the structure member.
+ */
+ public String name;
+
+ /**
+ * The typecode of the structure member.
+ */
+ public TypeCode type;
+
+ /**
+ * Creates a structure member with all fields
+ * left with the default value <code>null</code>.
+ */
+ public StructMember()
+ {
+ }
+
+ /**
+ * Creates a structure member.
+ *
+ * @param a_name member name.
+ * @param a_type member type code.
+ * @param a_type_def member IDL type definition.
+ */
+ public StructMember(String a_name, TypeCode a_type, IDLType a_type_def)
+ {
+ name = a_name;
+ type = a_type;
+ type_def = a_type_def;
+ }
+}
diff --git a/org/omg/CORBA/UNSUPPORTED_POLICY.java b/org/omg/CORBA/UNSUPPORTED_POLICY.java
new file mode 100644
index 000000000..d3b96d593
--- /dev/null
+++ b/org/omg/CORBA/UNSUPPORTED_POLICY.java
@@ -0,0 +1,56 @@
+/* UNSUPPORTED_POLICY.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package org.omg.CORBA;
+
+/**
+ * Holds a single constant, specifying, that
+ * while the requested {@link Policy} is valid, it is not supported by
+ * this ORB. One of the PolicyErrorCodes, others being
+ * {@link UNSUPPORTED_POLICY_VALUE}, {@link BAD_POLICY},
+ * {@link BAD_POLICY_TYPE}, {@link BAD_POLICY_VALUE}.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public interface UNSUPPORTED_POLICY
+{
+ /**
+ * States that while the requested {@link Policy} is valid,
+ * it is not supported by this ORB.
+ */
+ short value = 1;
+}
diff --git a/org/omg/CORBA/UNSUPPORTED_POLICY_VALUE.java b/org/omg/CORBA/UNSUPPORTED_POLICY_VALUE.java
new file mode 100644
index 000000000..02f672176
--- /dev/null
+++ b/org/omg/CORBA/UNSUPPORTED_POLICY_VALUE.java
@@ -0,0 +1,56 @@
+/* UNSUPPORTED_POLICY_VALUE.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package org.omg.CORBA;
+
+/**
+ * Holds a single constant, specifying, that
+ * while the requested {@link Policy} value is valid, it is not
+ * supported by this ORB. One of the PolicyErrorCodes, others being
+ * {@link UNSUPPORTED_POLICY}, {@link BAD_POLICY}, {@link BAD_POLICY_TYPE} ,
+ * {@link BAD_POLICY_VALUE}.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public interface UNSUPPORTED_POLICY_VALUE
+{
+ /**
+ * States that while the requested {@link Policy} value is valid,
+ * it is not supported by this ORB.
+ */
+ short value = 4;
+}
diff --git a/org/omg/CORBA/UnionMember.java b/org/omg/CORBA/UnionMember.java
new file mode 100644
index 000000000..db8af7c26
--- /dev/null
+++ b/org/omg/CORBA/UnionMember.java
@@ -0,0 +1,102 @@
+/* UnionMember.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+
+package org.omg.CORBA;
+
+import java.io.Serializable;
+
+import org.omg.CORBA.portable.IDLEntity;
+
+/**
+ * The component, describing the member of CORBA IDL <code>union</code>.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public class UnionMember
+ implements IDLEntity, Serializable
+{
+ /**
+ * Use 1.4 version serialVersionUID for interoperability.
+ */
+ private static final long serialVersionUID = 5506049694216071974L;
+
+ /**
+ * The label of the union member.
+ */
+ public Any label;
+
+ /**
+ * The IDL type of the union member.
+ */
+ public IDLType type_def;
+
+ /**
+ * The name of the union member.
+ */
+ public String name;
+
+ /**
+ * The typecode of the union member.
+ */
+ public TypeCode type;
+
+ /**
+ * Creates a union member with all fields
+ * left with the default value <code>null</code>.
+ */
+ public UnionMember()
+ {
+ }
+
+ /**
+ * Creates a union member.
+ *
+ * @param a_name member name.
+ * @param a_type member type code.
+ * @param a_type_def member IDL type definition.
+ */
+ public UnionMember(String a_name, Any a_label, TypeCode a_type,
+ IDLType a_type_def
+ )
+ {
+ name = a_name;
+ label = a_label;
+ type = a_type;
+ type_def = a_type_def;
+ }
+}
diff --git a/org/omg/CORBA/VM_ABSTRACT.java b/org/omg/CORBA/VM_ABSTRACT.java
new file mode 100644
index 000000000..3750404d7
--- /dev/null
+++ b/org/omg/CORBA/VM_ABSTRACT.java
@@ -0,0 +1,52 @@
+/* VM_ABSTRACT.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package org.omg.CORBA;
+
+/**
+ * Holds a single constant, specifying, the
+ * abstract interface in a typecode.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public interface VM_ABSTRACT
+{
+ /**
+ * States the abstract interface in a typecode.
+ */
+ short value = 2;
+}
diff --git a/org/omg/CORBA/VM_CUSTOM.java b/org/omg/CORBA/VM_CUSTOM.java
new file mode 100644
index 000000000..950225582
--- /dev/null
+++ b/org/omg/CORBA/VM_CUSTOM.java
@@ -0,0 +1,53 @@
+/* VM_CUSTOM.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package org.omg.CORBA;
+
+/**
+ * Holds a single constant, specifying, that
+ * the code used to represent a custom marshalled value type in a typecode.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public interface VM_CUSTOM
+{
+ /**
+ * States that the code used to represent a custom
+ * marshalled value type in a typecode.
+ */
+ short value = 1;
+}
diff --git a/org/omg/CORBA/VM_NONE.java b/org/omg/CORBA/VM_NONE.java
new file mode 100644
index 000000000..4790cac69
--- /dev/null
+++ b/org/omg/CORBA/VM_NONE.java
@@ -0,0 +1,54 @@
+/* VM_NONE.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package org.omg.CORBA;
+
+/**
+ * Holds a single constant, specifying, that
+ * the code used to represent the one of the values
+ * of a value type in a typecode.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public interface VM_NONE
+{
+ /**
+ * States that the code used to represent the one of
+ * the values of a value type in a typecode.
+ */
+ short value = 0;
+}
diff --git a/org/omg/CORBA/VM_TRUNCATABLE.java b/org/omg/CORBA/VM_TRUNCATABLE.java
new file mode 100644
index 000000000..8bb7d56ba
--- /dev/null
+++ b/org/omg/CORBA/VM_TRUNCATABLE.java
@@ -0,0 +1,53 @@
+/* VM_TRUNCATABLE.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package org.omg.CORBA;
+
+/**
+ * Holds a single constant, specifying, that
+ * the code used to represent a truncatable value type in a typecode.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public interface VM_TRUNCATABLE
+{
+ /**
+ * States that the code used to represent a truncatable
+ * value type in a typecode.
+ */
+ short value = 3;
+}
diff --git a/org/omg/CORBA/ValueMember.java b/org/omg/CORBA/ValueMember.java
new file mode 100644
index 000000000..6fbd7aadf
--- /dev/null
+++ b/org/omg/CORBA/ValueMember.java
@@ -0,0 +1,114 @@
+/* ValueMember.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+
+package org.omg.CORBA;
+
+/**
+ * The class, defining properties of the value member.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public class ValueMember
+{
+ /**
+ * The typedef that represents the IDL type of the value member.
+ */
+ public IDLType type_def;
+
+ /**
+ * The repository ID of the value for that this member is defined
+ */
+ public String defined_in;
+
+ /**
+ * The repository ID of this value member itself.
+ */
+ public String id;
+
+ /** The name of the value member. */
+ public String name;
+
+ /**
+ * The version of the value in which this member is defined.
+ */
+ public String version;
+
+ /** The type of of this value member. */
+ public TypeCode type;
+
+ /**
+ * The type of access (public, private) of this value member.
+ * This field can be equal to either {@link PUBLIC_MEMBER#value} or
+ * {@link PRIVATE_MEMBER#value}.
+ */
+ public short access;
+
+ /**
+ * Create the value member with all fields initialised to default values
+ * (0 and <code>null</code>).
+ */
+ public ValueMember()
+ {
+ }
+
+ /**
+ * Create the value member, specifying the field values.
+ *
+ * @param a_name name.
+ * @param an_id id .
+ * @param is_defined_in id of the value where the member is defined.
+ * @param a_version version.
+ * @param a_type tye.
+ * @param a_type_def {@link IDLType} (typeded).
+ * @param an_access accessibility scope. Can be equal to either
+ * {@link PUBLIC_MEMBER#value} or {@link PRIVATE_MEMBER#value}.
+ */
+ public ValueMember(String a_name, String an_id, String is_defined_in,
+ String a_version, TypeCode a_type, IDLType a_type_def,
+ short an_access
+ )
+ {
+ name = a_name;
+ id = an_id;
+ defined_in = is_defined_in;
+ version = a_version;
+ type = a_type;
+ type_def = a_type_def;
+ access = an_access;
+ }
+}
diff --git a/org/omg/CORBA/WrongTransaction.java b/org/omg/CORBA/WrongTransaction.java
new file mode 100644
index 000000000..45ab719e5
--- /dev/null
+++ b/org/omg/CORBA/WrongTransaction.java
@@ -0,0 +1,70 @@
+/* WrongTransaction.java -- Exception thrown due to out-of-bounds parameter
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+
+package org.omg.CORBA;
+
+/**
+ * Thrown when the transaction scope mismatches.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public final class WrongTransaction
+ extends UserException
+{
+
+ /**
+ * Constructs a default <code>WrongTransaction</code> exception, with
+ * no detail message.
+ */
+ public WrongTransaction()
+ {
+ super();
+ }
+
+ /**
+ * Constructs a <code>WrongTransaction</code> exception using the specified
+ * message as the reason for throwing it.
+ *
+ * @param reason the reason, why the exception has been thrown.
+ */
+ public WrongTransaction(String reason)
+ {
+ super(reason);
+ }
+
+}