package ol.source;

import jsinterop.annotations.JsProperty;

import jsinterop.annotations.JsType;
import ol.Options;

/**
 * 
 * @author Tino Desjardins
 *
 */
@JsType(isNative = true)
public interface StamenOptions extends Options {

    /**
     * 
     * @param layerName
     *            watercolor, toner
     */
    @JsProperty
    void setLayer(String layerName);

}

@@ -13,16 +13,56 @@
 ource;%0A%0A
+import jsinterop.annotations.JsPackage;%0A
 import j
@@ -94,16 +94,16 @@
 operty;%0A
-
 %0Aimport 
@@ -221,26 +221,69 @@
 true
-)%0Apublic interface
+, namespace = JsPackage.GLOBAL, name = %22Object%22)%0Apublic class
  Sta
@@ -297,14 +297,17 @@
 ons 
-extend
+implement
 s Op
@@ -415,20 +415,34 @@
 roperty%0A
-
     
+public native 
 void set

Convert StamenOptions interface to class