package CosTrading;
abstract public class _SupportAttributesImplBase extends org.omg.CORBA.portable.Skeleton implements CosTrading.SupportAttributes {
  protected _SupportAttributesImplBase(java.lang.String name) {
    super(name);
  }
  protected _SupportAttributesImplBase() {
  }
  public java.lang.String[] _ids() {
    return __ids;
  }
  private static java.lang.String[] __ids = {
    "IDL:omg.org/CosTrading/SupportAttributes:1.0"
  };
  public org.omg.CORBA.portable.MethodPointer[] _methods() {
    org.omg.CORBA.portable.MethodPointer[] methods = {
      new org.omg.CORBA.portable.MethodPointer("_get_supports_modifiable_properties", 0, 0),
      new org.omg.CORBA.portable.MethodPointer("_get_supports_dynamic_properties", 0, 1),
      new org.omg.CORBA.portable.MethodPointer("_get_supports_proxy_offers", 0, 2),
      new org.omg.CORBA.portable.MethodPointer("_get_type_repos", 0, 3),
    };
    return methods;
  }
  public boolean _execute(org.omg.CORBA.portable.MethodPointer method, org.omg.CORBA.portable.InputStream input, org.omg.CORBA.portable.OutputStream output) {
    switch(method.interface_id) {
    case 0: {
      return CosTrading._SupportAttributesImplBase._execute(this, method.method_id, input, output); 
    }
    }
    throw new org.omg.CORBA.MARSHAL();
  }
  public static boolean _execute(CosTrading.SupportAttributes _self, int _method_id, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.OutputStream _output) {
    switch(_method_id) {
    case 0: {
      boolean _result = _self.supports_modifiable_properties();
      _output.write_boolean(_result);
      return false;
    }
    case 1: {
      boolean _result = _self.supports_dynamic_properties();
      _output.write_boolean(_result);
      return false;
    }
    case 2: {
      boolean _result = _self.supports_proxy_offers();
      _output.write_boolean(_result);
      return false;
    }
    case 3: {
      org.omg.CORBA.Object _result = _self.type_repos();
      _output.write_Object(_result);
      return false;
    }
    }
    throw new org.omg.CORBA.MARSHAL();
  }
}
