001    package com.google.gwt.maps.client.layers;
002    
003    import com.google.gwt.core.client.JavaScriptObject;
004    
005    /**
006     * Contains details of the author of a KML document or feature.
007     * <br><br>
008     * See <a href="https://developers.google.com/maps/documentation/javascript/reference#KmlAuthor">KmlAuthor API Doc</a>
009     */
010    public class KmlAuthor extends JavaScriptObject {
011      
012      protected KmlAuthor() {}
013      
014      /**
015       * Contains details of the author of a KML document or feature.
016       */
017      public static final KmlAuthor newInstance() {
018        return JavaScriptObject.createObject().cast();
019      }
020      
021      /**
022       * The author's e-mail address, or an empty string if not specified.
023       * @param email
024       */
025      public final native void setEmail(String email) /*-{
026        this.email = email;
027      }-*/;
028      
029      /**
030       * The author's e-mail address, or an empty string if not specified.
031       */
032      public final native String getEmail() /*-{
033        return this.email;
034      }-*/;
035      
036      /**
037       * The author's name, or an empty string if not specified.
038       * @param name
039       */
040      public final native void setName(String name) /*-{
041        this.name = name;
042      }-*/;
043      
044      /**
045       * The author's name, or an empty string if not specified.
046       */
047      public final native String getName() /*-{
048        return this.name;
049      }-*/;
050      
051      /**
052       * The author's home page, or an empty string if not specified.
053       * @param uri
054       */
055      public final native void setUri(String uri) /*-{
056        this.uri = uri;
057      }-*/;
058      
059      /**
060       * The author's home page, or an empty string if not specified.
061       */
062      public final native String getUri() /*-{
063        return this.uri;
064      }-*/;
065      
066    }