Lines Matching defs:discriminator

49     DynAny discriminator = null;
50 // index either points to the discriminator or the named member is it exists.
51 // The currently active member, which is of the same type as the discriminator.
77 discriminator = DynAnyUtil.createMostDerivedDynAny(discriminatorAny, orb, false);
81 components = new DynAny[] {discriminator, currentMember};
88 // The discriminator value is set to a value consistent with the first named member
94 discriminator = DynAnyUtil.createMostDerivedDynAny(memberLabel(0), orb, false);
98 components = new DynAny[] {discriminator, currentMember};
182 discriminator = null;
200 * Returns the current discriminator value.
206 return (checkInitComponents() ? discriminator : null);
209 // Sets the discriminator of the DynUnion to the specified value.
211 // to the TypeCode of the unions discriminator, the operation raises TypeMismatch.
213 // Setting the discriminator to a value that is consistent with the currently
215 // Setting the discriminator to a value that is inconsistent with the currently
217 // with the new discriminator value (if there is a member for that value)
220 // If the discriminator value indicates a non-existent union member
250 discriminator = newDiscriminator;
251 components = new DynAny[] { discriminator, currentMember };
257 // Sets the discriminator to a value that is consistent with the value
277 components = new DynAny[] {discriminator, currentMember};
280 discriminator = DynAnyUtil.createMostDerivedDynAny(discriminatorAny, orb, false);
285 // Sets the discriminator to a value that does not correspond
289 // or on a union that uses the entire range of discriminator values
297 // _REVISIT_ How does one check for "entire range of discriminator values"?
302 Any discriminatorAny = getAny(discriminator);
311 components[0] = discriminator;
316 // (that is, the unions value consists solely of its discriminator because the
317 // discriminator has a value that is not listed as an explicit case label).
319 // Calling this operation on a union that uses the entire range of discriminator
325 // _REVISIT_ How does one check for "entire range of discriminator values"?