// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   Style_L01_mtproxy.java

package com.ptc.prowt.proxy.nd.nd_style_l01;

import com.ptc.cipsoapxv.XVMultiType;
import com.ptc.cipsoapxv.XVMultiTypeProxy;
import com.ptc.prowt.impl.nd.nd_style_l01.StyleRuleArray_L01_i;
import com.ptc.prowt.nd.nd_style_l01.StyleRuleArray_L01;
import com.ptc.prowt.nd.nd_style_l01.Style_L01;

public class Style_L01_mtproxy
    implements Style_L01, XVMultiTypeProxy
{

    public StyleRuleArray_L01 getRules()
    {
        Object obj = mMTObject.getAttribute("Rules");
        if(obj != null && obj.getClass().isArray())
        {
            StyleRuleArray_L01_i stylerulearray_l01_i = new StyleRuleArray_L01_i((Object[])(Object[])obj);
            mMTObject.setAttribute("Rules", stylerulearray_l01_i);
            return stylerulearray_l01_i;
        } else
        {
            return (StyleRuleArray_L01)obj;
        }
    }

    public String getStyleName()
    {
        Object obj = mMTObject.getAttribute("StyleName");
        return (String)obj;
    }

    public int getStyleId()
    {
        Object obj = mMTObject.getAttribute("StyleId");
        return ((Integer)obj).intValue();
    }

    public int getGenAttrs()
    {
        Object obj = mMTObject.getAttribute("GenAttrs");
        return ((Integer)obj).intValue();
    }

    public int getAppAttrs()
    {
        Object obj = mMTObject.getAttribute("AppAttrs");
        return ((Integer)obj).intValue();
    }

    static Object create(XVMultiType xvmultitype)
    {
        return new Style_L01_mtproxy(xvmultitype);
    }

    protected Style_L01_mtproxy(XVMultiType xvmultitype)
    {
        mMTObject = null;
        mMTObject = xvmultitype;
    }

    public String getCipTypeName()
    {
        return "nd_style_l01::Style_L01";
    }

    public XVMultiType getMTObject()
    {
        return mMTObject;
    }

    protected XVMultiType mMTObject;
}
