Context
and Request
take a CORBA specified parameter of type Flags
.
// Java package IE.Iona.Orbix2.CORBA; public class Flags { // Constructors public Flags(); public Flags(int i); public Flags(Flags f); // Methods public final void copy(Flags f); public boolean equals(java.lang.Object _obj); public final void setf(int i); public final void clrf(int i); public final void reset(); public final void setArgDef(int i); public final boolean isNil(); public final boolean isSet(int i); public final boolean isSetAny(int i); public final boolean isSetAll(int i); }
public Flags();
Flags
constructors.
public Flags(int i);
Flags
object with flags set as indicated by l
.
Flags
constructors.
public Flags(Flags f);
Flags
constructors.
public final void clrf(int i);
i
.
public final void copy(Flags f);
f
to the current object.
public boolean equals(java.lang.Object _obj);
Flags
object to those of the Flags
object specified by parameter _obj
. If _obj
is not a Flags
object, or the Flags
settings differ, equals()
returns false
; otherwise returns true
.
public final boolean isNil();
true
if all flags clear; returns false
otherwise.
public final boolean isSet(int i);
i
is set in this object.
true
if i
is set; returns false
otherwise.
CORBA.Flags.isSetAny()
public final boolean isSetAll(int i);
i
are set in this object.
true
if all flags in i
are set; returns false
otherwise.
public final boolean isSetAny(int i);
i
is set in this object. (This is the same as isSet(int
i)
.)
true
if any flag in i
is set; returns false
otherwise.
CORBA.Flags.isSet()
public final void reset();
public final void setArgDef(int i);
i
, and clears any other flag. This is usually used to set ARG
flags (_CORBA.ARG_IN
, _CORBA.ARG_OUT
, _CORBA.ARG_INOUT
) since they are mutually exclusive.
CORBA.Flags.setf()
public final void setf(int i);
i
.
CORBA.Flags.setArgDef()