/**
 *
 * @author mribeiro
 * @date 07/06/16 18:04
 *
 */
package ol.source;

import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
import ol.Options;
import ol.proj.Projection;

/**
 *
 */
@JsType(isNative = true)
public interface TileWMSOptions extends Options{

    /**
     *
     * @param url
     */
    @JsProperty
    void setUrl(String url);

    /**
     *
     * @param serverType
     */
    @JsProperty
    void setServerType(String serverType);

    /**
     *
     * @param crossOrigin
     */
    @JsProperty
    void setCrossOrigin(String crossOrigin);

    /**
     *
     * @param tileWMSParams
     *            params for WMS-requests
     */
    @JsProperty
    void setParams(TileWMSParams tileWMSParams);

    /**
     *
     * @param projection
     */
    @JsProperty
    void setProjection(Projection projection);

}
@@ -71,16 +71,56 @@
 ource;%0A%0A
+import jsinterop.annotations.JsPackage;%0A
 import j
@@ -152,16 +152,16 @@
 operty;%0A
-
 import j
@@ -274,26 +274,69 @@
 true
-)%0Apublic interface
+, namespace = JsPackage.GLOBAL, name = %22Object%22)%0Apublic class
  Til
@@ -351,14 +351,17 @@
 ons 
-extend
+implement
 s Op
@@ -421,32 +421,46 @@
 @JsProperty%0A    
+public native 
 void setUrl(Stri
@@ -529,32 +529,46 @@
 @JsProperty%0A    
+public native 
 void setServerTy
@@ -652,32 +652,46 @@
 @JsProperty%0A    
+public native 
 void setCrossOri
@@ -821,32 +821,46 @@
 @JsProperty%0A    
+public native 
 void setParams(T
@@ -953,20 +953,34 @@
 roperty%0A
-
     
+public native 
 void set

Convert TileWMSOptions interface to class