package com.ejie.y42b.model;

/**
 * * T17Municipio  
 * 
 *  
 */

public class T17Municipio implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	// Clave compuesta
	private String id;
	private String provinciaId;
	private String dsO;
	private String comarcaId;

	/**
	 * Method 'T17Municipio'.
	 * 
	 */
	public T17Municipio() {
	}

	/**
	 * Method 'T17Municipio'.
	 * 
	 * @param id
	 *            String
	 * @param provinciaId
	 *            String
	 * @param dsO
	 *            String
	 * @param comarcaId
	 *            String
	 */
	public T17Municipio(String id, String provinciaId, String dsO,
			String comarcaId) {

		this.id = id;
		this.provinciaId = provinciaId;
		this.dsO = dsO;
		this.comarcaId = comarcaId;
	}

	/**
	 * Method 'getId'.
	 * 
	 * @return String
	 */

	public String getId() {
		return this.id;
	}

	/**
	 * Method 'setId'.
	 * 
	 * @param id
	 *            String
	 * 
	 */

	public void setId(String id) {
		this.id = id;
	}

	/**
	 * Method 'getProvinciaId'.
	 * 
	 * @return String
	 */

	public String getProvinciaId() {
		return this.provinciaId;
	}

	/**
	 * Method 'setProvinciaId'.
	 * 
	 * @param provinciaId
	 *            String
	 * 
	 */

	public void setProvinciaId(String provinciaId) {
		this.provinciaId = provinciaId;
	}

	/**
	 * Method 'getDsO'.
	 * 
	 * @return String
	 */

	public String getDsO() {
		return this.dsO;
	}

	/**
	 * Method 'setDsO'.
	 * 
	 * @param dsO
	 *            String
	 */

	public void setDsO(String dsO) {
		this.dsO = dsO;
	}

	/**
	 * Method 'getComarcaId'.
	 * 
	 * @return String
	 */

	public String getComarcaId() {
		return this.comarcaId;
	}

	/**
	 * Method 'setComarcaId'.
	 * 
	 * @param comarcaId
	 *            String
	 */

	public void setComarcaId(String comarcaId) {
		this.comarcaId = comarcaId;
	}

	/**
	 * Intended only for logging and debugging.
	 * 
	 * Here, the contents of every main field are placed into the result.
	 * 
	 * @return String
	 */
	@Override()
	public String toString() {
		StringBuilder result = new StringBuilder();
		result.append(this.getClass().getName()).append(" Object { ");
		// Clave compuesta

		result.append("[ id: ").append(this.id).append(" ]");

		result.append(", [ provinciaId: ").append(this.provinciaId)
				.append(" ]");
		result.append(", [ dsO: ").append(this.dsO).append(" ]");
		result.append(", [ comarcaId: ").append(this.comarcaId).append(" ]");
		result.append("}");
		return result.toString();
	}

}
