/**
 * Copyright 2008-2009 DRIVER PROJECT (ICM UW)
 * Original author: Marek Horst
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package eu.dnetlib.common.ws.harv;

import java.io.InputStreamReader;

// TODO: Auto-generated Javadoc
/**
 * Single DMF field representation.
 * 
 * @author mhorst
 */
public class FieldData {

	/** The field name. */
	private String fieldName;
	
	/** The field content. */
	private String fieldContent;

	/** The full text content. */
	private InputStreamReader fullTextContent;

	/** The all fields full text content. */
	private InputStreamReader allFieldsfullTextContent;

	/**
	 * Default constructor.
	 * 
	 * @param fieldName the field name
	 * @param fieldContent the field content
	 */
	public FieldData(String fieldName, String fieldContent) {
		this.fieldName = fieldName;
		this.fieldContent = fieldContent;
	}
	
	/**
	 * Gets the field content.
	 * 
	 * @return the field content
	 */
	public String getFieldContent() {
		return fieldContent;
	}

	/**
	 * Sets the field content.
	 * 
	 * @param fieldContent the new field content
	 */
	public void setFieldContent(String fieldContent) {
		this.fieldContent = fieldContent;
	}

	/**
	 * Gets the field name.
	 * 
	 * @return the field name
	 */
	public String getFieldName() {
		return fieldName;
	}

	/**
	 * Sets the field name.
	 * 
	 * @param fieldName the new field name
	 */
	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	/**
	 * Sets the full text content.
	 * 
	 * @param fulltextContent the new full text content
	 */
	public void setFieldFullTextContent(InputStreamReader fulltextContent) {
		this.fullTextContent = fulltextContent;
	}
	
	/**
	 * Gets the full text content.
	 * 
	 * @return the full text content
	 */
	public InputStreamReader getFieldFullTextContent() {
		return this.fullTextContent;
	}
	

	/**
	 * Sets the all fields full text content.
	 * 
	 * @param allFieldsfullTextContent the new all fields full text content
	 */
	public void setAllFieldsFullTextContent(InputStreamReader allFieldsfullTextContent) {
		this.allFieldsfullTextContent = allFieldsfullTextContent;
	}
	

	/**
	 * Gets the all fields full text content.
	 * 
	 * @return the all fields full text content
	 */
	public InputStreamReader getAllFieldsFullTextContent() {
		return this.allFieldsfullTextContent;
	}
	
}
