/*
 * Created on Aug 2, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package jreport.uds.javabean;

import java.io.Serializable;

/**
 * @author jennyw
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class SubCollectionPropInfo implements Serializable {
	private int maxShareTimes = 1;
	private int timeout = -1;
	
	
	/**
	 * @param maxShareTimes
	 * @param timeout
	 */
	public SubCollectionPropInfo(int maxShareTimes, int timeout) {
		super();
		this.maxShareTimes = maxShareTimes;
		this.timeout = timeout;
	}
	/**
	 * @return Returns the maxShareTimes.
	 */
	public int getMaxShareTimes() {
		return maxShareTimes;
	}
	/**
	 * @param maxShareTimes The maxShareTimes to set.
	 */
	public void setMaxShareTimes(int maxShareTimes) {
		this.maxShareTimes = maxShareTimes;
	}
	/**
	 * @return Returns the timeout.
	 */
	public int getTimeout() {
		return timeout;
	}
	/**
	 * @param timeout The timeout to set.
	 */
	public void setTimeout(int timeout) {
		this.timeout = timeout;
	}
}
