Package org.omg.CORBA.TypeCodePackage

Examples of org.omg.CORBA.TypeCodePackage.BadKind


        {
            return _ref.default_index();
        }
        if (_kind.value() != TCKind._tk_union)
        {
            throw new BadKind();
        }
        return _default;
    }
View Full Code Here


        int tk = _kind.value();
        if (tk != TCKind._tk_string &&
            tk != TCKind._tk_wstring
            && tk != TCKind._tk_sequence && tk != TCKind._tk_array)
        {
            throw new BadKind();
        }
        return _length;
    }
View Full Code Here

            tk != TCKind._tk_array
            &&
            tk != TCKind._tk_sequence
            && tk != TCKind._tk_value_box))
        {
            throw new BadKind();
        }
        return _ref;
    }
View Full Code Here

            return _ref.fixed_digits();
        }
        int tk = _kind.value();
        if (tk != TCKind._tk_fixed)
        {
            throw new BadKind();
        }
        return _digits;
    }
View Full Code Here

            return _ref.fixed_scale();
        }
        int tk = _kind.value();
        if (tk != TCKind._tk_fixed)
        {
            throw new BadKind();
        }
        return _scale;
    }
View Full Code Here

        {
            return _ref.member_visibility(index);
        }
        if (_member_type == null)
        {
            throw new BadKind();
        }
        if (index < 0 || index >= _member_visibility.length)
        {
            throw new Bounds();
        }
View Full Code Here

            return _ref.type_modifier();
        }
        int tk = _kind.value();
        if (tk != TCKind._tk_value)
        {
            throw new BadKind();
        }
        return _type_modifier;
    }
View Full Code Here

            return _ref.concrete_base_type();
        }
        int tk = _kind.value();
        if (tk != TCKind._tk_value)
        {
            throw new BadKind();
        }
        return _ref;
    }
View Full Code Here

    {
        if (!(kind == org.omg.CORBA.TCKind.tk_sequence ||
              kind == org.omg.CORBA.TCKind.tk_array ||
              kind == org.omg.CORBA.TCKind.tk_value_box ||
              kind == org.omg.CORBA.TCKind.tk_alias))
            throw new BadKind();

        return contentType;
    }
View Full Code Here

    public org.omg.CORBA.Any member_label(int idx)
            throws BadKind, Bounds
    {
        if (kind != TCKind.tk_union)
            throw new BadKind();

        try {
            return labels[idx];
        }
        catch (ArrayIndexOutOfBoundsException ex) {
View Full Code Here

TOP

Related Classes of org.omg.CORBA.TypeCodePackage.BadKind

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.