Package org.omg.CORBA.TypeCodePackage

Examples of org.omg.CORBA.TypeCodePackage.BadKind


    public org.omg.CORBA.TypeCode concrete_base_type()
            throws BadKind
    {
        if (kind != TCKind.tk_value)
            throw new BadKind();

        return concreteBaseType;
    }
View Full Code Here


    public short type_modifier()
            throws BadKind
    {
        if (kind != TCKind.tk_value)
            throw new BadKind();

        return typeModifier;
    }
View Full Code Here

    public short member_visibility(int index)
            throws BadKind, Bounds
    {
        if (kind != TCKind.tk_value)
            throw new BadKind();

        if (index < 0 || index > memberVisibility.length)
            throw new Bounds();

        return memberVisibility[index];
View Full Code Here

    public int default_index()
            throws BadKind
    {
        if (kind != TCKind.tk_union)
            throw new BadKind();

        for (int i = 0; i < labels.length; i++) {
            TypeCode tc = labels[i].type();
            if (tc.kind() == TCKind.tk_octet)
                return i;
View Full Code Here

    public TypeCode discriminator_type()
            throws BadKind
    {
        if (kind != TCKind.tk_union)
            throw new BadKind();

        return discriminatorType;
    }
View Full Code Here

    public short fixed_digits()
            throws BadKind
    {
        if (kind.value() != TCKind._tk_fixed) {
            throw new BadKind();
        }

        return fixedDigits;
    }
View Full Code Here

    public short fixed_scale()
            throws BadKind
    {
        if (kind.value() != TCKind._tk_fixed) {
            throw new BadKind();
        }

        return fixedScale;
    }
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.