/*
 * Created on Jul 28, 2008 (C) Copyright TANDBERG Television Ltd.
 */

package com.tandbergtv.watchpoint.pmm.title.provider.internal;

import java.util.Collection;

import com.tandbergtv.watchpoint.pmm.title.provider.ITitleProviderProperties;
import com.tandbergtv.watchpoint.pmm.title.provider.ITitleSearchStrategy;

/**
 * Default implementation of the ITitleProviderProperties class that maintains the state required
 * when initializing a Title Provider
 * 
 * @author Vijay Silva
 */
public class TitleProviderProperties implements ITitleProviderProperties {

	private String systemId;

	private String name;

	private Collection<String> specifications;

	private ITitleSearchStrategy searchStrategy;

	/**
	 * {@inheritDoc}
	 */
	public String getSystemID() {
		return this.systemId;
	}

	/**
	 * {@inheritDoc}
	 */
	public void setSystemID(String systemId) {
		this.systemId = systemId;
	}

	/**
	 * {@inheritDoc}
	 */
	public String getName() {
		return this.name;
	}

	/**
	 * {@inheritDoc}
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * {@inheritDoc}
	 */
	public ITitleSearchStrategy getSearchStrategy() {
		return this.searchStrategy;
	}

	/**
	 * {@inheritDoc}
	 */
	public void setSearchStrategy(ITitleSearchStrategy strategy) {
		this.searchStrategy = strategy;
	}

	/**
	 * {@inheritDoc}
	 */
	public Collection<String> getSupportedSpecifications() {
		return this.specifications;
	}

	/**
	 * {@inheritDoc}
	 */
	public void setSupportedSpecifications(Collection<String> specifications) {
		this.specifications = specifications;
	}
}
