// Path: src/org/forecat/client/selection/SelectionInputJso.java
// public class SelectionInputJso extends JavaScriptObject {
// 
// 	protected SelectionInputJso() {
// 	}
// 
// 	public final native String getSelectionText() /*-{
// 		return this.selectionText;
// 	}-*/;
// 
// 	public final native int getPosition() /*-{
// 		return this.position;
// 	}-*/;
// 
// 	public final native String getId() /*-{
// 		return this.id;
// 	}-*/;
// 
// }


import java.io.Serializable;
import org.forecat.client.selection.SelectionInputJso;
import com.google.gwt.user.client.rpc.IsSerializable;
package org.forecat.shared.selection;




@SuppressWarnings("serial")
public class SelectionInput implements Serializable, IsSerializable {

	private String selectionText;
	private int position;
	private String id;

	/**
	 * From Serializable documentation
	 * (http://docs.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html): "To allow subtypes
	 * of non-serializable classes to be serialized, the subtype may assume responsibility for
	 * saving and restoring the state of the supertype's public, protected, and (if accessible)
	 * package fields. The subtype may assume this responsibility only if the class it extends has
	 * an accessible no-arg constructor to initialize the class's state. It is an error to declare a
	 * class Serializable if this is not the case. The error will be detected at runtime."
	 */
	protected SelectionInput() {
	}

	public SelectionInput(String selectionText, int position) {
		this.selectionText = selectionText;
		this.position = position;
	}

// Path: src/org/forecat/client/selection/SelectionInputJso.java
// public class SelectionInputJso extends JavaScriptObject {
// 
// 	protected SelectionInputJso() {
// 	}
// 
// 	public final native String getSelectionText() /*-{
// 		return this.selectionText;
// 	}-*/;
// 
// 	public final native int getPosition() /*-{
// 		return this.position;
// 	}-*/;
// 
// 	public final native String getId() /*-{
// 		return this.id;
// 	}-*/;
// 
// }


// Path: src/org/forecat/shared/selection/SelectionInput.java
import java.io.Serializable;
import org.forecat.client.selection.SelectionInputJso;
import com.google.gwt.user.client.rpc.IsSerializable;

package org.forecat.shared.selection;




@SuppressWarnings("serial")
public class SelectionInput implements Serializable, IsSerializable {

	private String selectionText;
	private int position;
	private String id;

	/**
	 * From Serializable documentation
	 * (http://docs.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html): "To allow subtypes
	 * of non-serializable classes to be serialized, the subtype may assume responsibility for
	 * saving and restoring the state of the supertype's public, protected, and (if accessible)
	 * package fields. The subtype may assume this responsibility only if the class it extends has
	 * an accessible no-arg constructor to initialize the class's state. It is an error to declare a
	 * class Serializable if this is not the case. The error will be detected at runtime."
	 */
	protected SelectionInput() {
	}

	public SelectionInput(String selectionText, int position) {
		this.selectionText = selectionText;
		this.position = position;
	}

	public SelectionInput(SelectionInputJso jso) {