package cdac.medinfo.sdk.hl7282.commoninterface;


/**
 * Contains methods used in UnknownResource class
 * for unknown data that will be encountered during Parsing of HL7 file.
 */
public interface IUnrecognizedDataSet {

	/**
	 * Retrieves Segment Name.
	 * @return String- Specifies Unknown Segment along with the data(read and return String upto '\r')
	 */
	String getSegmentName();
	
	/**
	 * Sets Segment Name.
	 * @param strSegment - Specifies unknown segment along with the data(read and set String upto '\r')
	 */
	void setSegmentName(String strSegment);
	
	/**
	 * Retrieves Field Name.
	 * @return String - Specifies Unknown field along with the data(read and return String upto next field separator(|))
	 */
	String getFieldName();
	
	/**
	 * Sets Fiekd name.
	 * @param strField - Specifies unknown field along with the data(read and return String upto next field separator(|))
	 */
	void setrFieldName (String strField);
	
	/**
	 * Retrieves Value of Unknown data.
	 * @return string - Specifies string of unknown data.
	 */
	String getValue();
	
	/**
	 * Setes Value to unknown data.
	 * @param strValue - Specifies string of unknown data.
	 */
	void setValue(String strValue);
	
	/**
	 * Gets error Message related to the unknown data.
	 * @return String -Specifies error Message related to the unknown data.
	 */
	String getMessage();
	
	/**
	 * Set error Message for unknown data.
	 * @param String - Specifies error Message for unknown data
	 */
	void setMessage(String strMessage);	
}
