You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.6 KiB
52 lines
1.6 KiB
package org.omg.CORBA;
|
|
|
|
|
|
/**
|
|
* org/omg/CORBA/ParameterMode.java .
|
|
* Generated by the IDL-to-Java compiler (portable), version "3.2"
|
|
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/org/omg/PortableInterceptor/CORBAX.idl
|
|
* Saturday, December 15, 2018 6:38:37 PM PST
|
|
*/
|
|
|
|
|
|
/**
|
|
* Enumeration of parameter modes for Parameter. Possible vaues:
|
|
* <ul>
|
|
* <li>PARAM_IN - Represents an "in" parameter.</li>
|
|
* <li>PARAM_OUT - Represents an "out" parameter.</li>
|
|
* <li>PARAM_INOUT - Represents an "inout" parameter.</li>
|
|
* </ul>
|
|
*/
|
|
public class ParameterMode implements org.omg.CORBA.portable.IDLEntity
|
|
{
|
|
private int __value;
|
|
private static int __size = 3;
|
|
private static org.omg.CORBA.ParameterMode[] __array = new org.omg.CORBA.ParameterMode [__size];
|
|
|
|
public static final int _PARAM_IN = 0;
|
|
public static final org.omg.CORBA.ParameterMode PARAM_IN = new org.omg.CORBA.ParameterMode(_PARAM_IN);
|
|
public static final int _PARAM_OUT = 1;
|
|
public static final org.omg.CORBA.ParameterMode PARAM_OUT = new org.omg.CORBA.ParameterMode(_PARAM_OUT);
|
|
public static final int _PARAM_INOUT = 2;
|
|
public static final org.omg.CORBA.ParameterMode PARAM_INOUT = new org.omg.CORBA.ParameterMode(_PARAM_INOUT);
|
|
|
|
public int value ()
|
|
{
|
|
return __value;
|
|
}
|
|
|
|
public static org.omg.CORBA.ParameterMode from_int (int value)
|
|
{
|
|
if (value >= 0 && value < __size)
|
|
return __array[value];
|
|
else
|
|
throw new org.omg.CORBA.BAD_PARAM ();
|
|
}
|
|
|
|
protected ParameterMode (int value)
|
|
{
|
|
__value = value;
|
|
__array[__value] = this;
|
|
}
|
|
} // class ParameterMode
|