/*******************************************************************************
 *  Copyright 2017-2018 Centre for Development of Advanced Computing(C-DAC), Pune
 *  
 * 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 cdac.medinfo.sdk.dcm30_04.services.rtmachineverificationservice.dbhelper;

/**
 * This class defines all the rows in a single row of data base.
 */
class RTMachineVerification_RowDescriptor 
{
	private String strDERowID;
	private String SOPInstanceUID;
	private int iGroupNumber;
	private int iElementNumber;
	private boolean isSQ;
	private String strParentSQUID;
	private String strValue;
	private String strSQUID;
	private String strItemUID;
	private int iVRType;

	/**
	 * Retrieves the DataElement Row ID
	 * @return String - value of DataElement Row ID
	 */
	String getDERowID()
	{
		return strDERowID;
	}
	/**
	 * Sets the DataElement Row ID
	 * @param strDERowID value of DataElement Row ID
	 */
	void setDERowID(String strDERowID) 
	{
		this.strDERowID = strDERowID;
	}
	/**
	 * Retrieves the DataElement SOPInstanceUID
	 * @return String - value of DataElement SOPInstanceUID
	 */
	public String getSOPInstanceUID() 
	{
		return SOPInstanceUID;
	}
	/**
	 * Sets the DataElement SOPInstanceUID
	 * @param strDERowID value of DataElement SOPInstanceUID
	 */
	public void setSOPInstanceUID(String sOPInstanceUID) 
	{
		SOPInstanceUID = sOPInstanceUID;
	}

	/**
	 * Retrieves the ElementNumber
	 * @return int - value of ElementNumber
	 */
	int getElementNumber() 
	{
		return iElementNumber;
	}

	/**
	 * Sets the ElementNumber
	 * @param elementNumber value of ElementNumber
	 */
	void setElementNumber(int elementNumber) 
	{
		iElementNumber = elementNumber;
	}

	/**
	 * Retrieves the VR Type
	 * @return int - value of VR Type
	 */
	int getVRType() 
	{
		return iVRType;
	}

	/**
	 * Sets the VR Type
	 * @param iVR value of VR Type
	 */
	void setVRType(int iVR) 
	{
		iVRType = iVR;
	}

	/**
	 * Retrieves the GroupNumber
	 * @return int - value of GroupNumber
	 */
	int getGroupNumber() 
	{
		return iGroupNumber;
	}

	/**
	 * Sets the GroupNumber
	 * @param groupNumber value of GroupNumber
	 */
	void setGroupNumber(int groupNumber) 
	{
		iGroupNumber = groupNumber;
	}

	/**
	 * Retrieve the DataElement type 
	 * @return boolean - true if DE is a SQ else false
	 */
	boolean isSQ() 
	{
		return isSQ;
	}

	/**
	 * Sets the DataElement type as SQ 
	 * @param isSQ true if DE is a SQ else false
	 */
	void setSQ(boolean isSQ) 
	{
		this.isSQ = isSQ;
	}

	/**
	 * Retrieves the Item UID
	 * @return String - value of Item UID
	 */
	String getItemUID() 
	{
		return strItemUID;
	}

	/**
	 * Sets the ItemUID
	 * @param strItemUID value of ItemUID
	 */
	void setItemUID(String strItemUID) 
	{
		this.strItemUID = strItemUID;
	}

	/**
	 * Retrieves the ParentSQUID
	 * @return String - value of ParentSQUID
	 */
	String getParentSQUID() 
	{
		return strParentSQUID;
	}

	/**
	 * Sets the ParentSQUID
	 * @param strParentSQUID value of ParentSQUID
	 */
	void setParentSQUID(String strParentSQUID) 
	{
		this.strParentSQUID = strParentSQUID;
	}

	/**
	 * Retrieves the SQ UID
	 * @return String - value of SQ UID
	 */
	String getSQUID() 
	{
		return strSQUID;
	}

	/**
	 * Sets the SQ UID
	 * @param strSQUID value of SQ UID
	 */
	void setSQUID(String strSQUID) 
	{
		this.strSQUID = strSQUID;
	}

	/**
	 * Retrieves the value of DataElement
	 * @return String - value of DataElement
	 */
	String getValue()
	{
		return strValue;
	}

	/**
	 * Sets the DataElement value
	 * @param strValue value of DataElement
	 */
	void setValue(String strValue) 
	{
		this.strValue = strValue;
	}
}
