001    package com.google.gwt.maps.client.placeslib;
002    
003    import com.google.gwt.core.client.JavaScriptObject;
004    
005    /**
006     * A Place details query to be sent to the {@link PlacesService}. 
007     */
008    public class PlaceDetailsRequest extends JavaScriptObject  {
009    
010      /**
011       * use newInstance();
012       */
013      protected PlaceDetailsRequest() {}
014      
015      /**
016       * A Place details query to be sent to the PlacesService.
017       */
018      public static final PlaceDetailsRequest newInstance() {
019        return JavaScriptObject.createObject().cast();
020      } 
021      
022      /**
023       * The reference of the Place for which details are being requested.
024       * @param reference
025       */
026      public final native void setReference(String reference) /*-{
027        this.reference = reference;
028      }-*/;
029      
030      /**
031       * The reference of the Place for which details are being requested.
032       */
033      public final native String getReference() /*-{
034        return this.reference;
035      }-*/;
036      
037    }