The mapping of a CORBA enum tagging
SET_OVERRIDE and ADD_OVERRIDE , which
indicate whether policies should replace the
existing policies of an Object or be added to them.
The method {@link omg.org.CORBA.Object._set_policy_override} takes
either SetOverrideType.SET_OVERRIDE or
SetOverrideType.ADD_OVERRIDE as its second argument.
The method _set_policy_override
creates a new Object initialized with the
Policy objects supplied as the first argument. If the
second argument is ADD_OVERRIDE , the new policies
are added to those of the Object instance that is
calling the _set_policy_override method. If
SET_OVERRIDE is given instead, the existing policies
are replaced with the given ones. |