package org.omg.CORBA;
/**
* org/omg/CORBA/ParameterMode.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /var/lib/jenkins/jobs/openjdk/jobs/openjdk10/workspace/jdk-updates_jdk10u/src/java.corba/share/classes/org/omg/PortableInterceptor/CORBAX.idl
* Sunday, February 14, 2021 at 5:20:31 PM Coordinated Universal Time
*/
Enumeration of parameter modes for Parameter. Possible vaues:
- PARAM_IN - Represents an "in" parameter.
- PARAM_OUT - Represents an "out" parameter.
- PARAM_INOUT - Represents an "inout" parameter.
/**
* 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