Package it.eng.spagobi.tools.dataset.common.dataproxy

Examples of it.eng.spagobi.tools.dataset.common.dataproxy.IDataProxy


      throw new  IllegalArgumentException("[" + fileExtension+ "] is not a supported file extension");
    }
  }
 
  public FileDataProxy getDataProxy() {
    IDataProxy dataProxy;
   
    dataProxy = super.getDataProxy();
   
    if(dataProxy == null) {
      setDataProxy( new FileDataProxy() );
      dataProxy = getDataProxy();
    }
   
    if(!(dataProxy instanceof  FileDataProxy)) throw new RuntimeException("DataProxy cannot be of type [" +
        dataProxy.getClass().getName() + "] in FileDataSet");
   
    return (FileDataProxy)dataProxy;
  }
View Full Code Here


    return sbd;
  }

 
  public JDBCDataProxy getDataProxy() {
    IDataProxy dataProxy;
   
    dataProxy = super.getDataProxy();
   
    if(dataProxy == null) {
      setDataProxy( new JDBCDataProxy() );
      dataProxy = getDataProxy();
    }
   
    if(!(dataProxy instanceof  JDBCDataProxy)) throw new RuntimeException("DataProxy cannot be of type [" +
        dataProxy.getClass().getName() + "] in JDBCDataSet");
   
    return (JDBCDataProxy)dataProxy;
  }
View Full Code Here

   
    return sbd;
  }
 
  public JavaClassDataProxy getDataProxy() {
    IDataProxy dataProxy;
   
    dataProxy = super.getDataProxy();
   
    if(dataProxy == null) {
      setDataProxy( new JavaClassDataProxy() );
      dataProxy = getDataProxy();
    }
   
    if(!(dataProxy instanceof  JavaClassDataProxy)) throw new RuntimeException("DataProxy cannot be of type [" +
        dataProxy.getClass().getName() + "] in FileDataSet");
   
    return (JavaClassDataProxy)dataProxy;
  }
View Full Code Here

   
    return sbd;
  }

  public ScriptDataProxy getDataProxy() {
    IDataProxy dataProxy;
   
    dataProxy = super.getDataProxy();
   
    if(dataProxy == null) {
      setDataProxy( new ScriptDataProxy() );
      dataProxy = getDataProxy();
    }
   
    if(!(dataProxy instanceof  ScriptDataProxy)) throw new RuntimeException("DataProxy cannot be of type [" +
        dataProxy.getClass().getName() + "] in FileDataSet");
   
    return (ScriptDataProxy)dataProxy;
  }
View Full Code Here

    return sbd;
  }
 
  public WebServiceDataProxy getDataProxy() {
    IDataProxy dataProxy;
   
    dataProxy = super.getDataProxy();
   
    if(dataProxy == null) {
      setDataProxy( new WebServiceDataProxy() );
      dataProxy = getDataProxy();
    }
   
    if(!(dataProxy instanceof  WebServiceDataProxy)) throw new RuntimeException("DataProxy cannot be of type [" +
        dataProxy.getClass().getName() + "] in WebServiceDataProxy");
   
    return (WebServiceDataProxy)dataProxy;
  }
View Full Code Here

TOP

Related Classes of it.eng.spagobi.tools.dataset.common.dataproxy.IDataProxy

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.