/*******************************************************************************
 *  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.association;

/**
 * The Class implements setters and getters for all required attributes of Agreed Presentation Context.
 */
public class AgreedPresContext  
{

	/** byte value of presentation context id. */
	byte bPresContextId;

	/** String value of abstract syntax name. */
	String strAbstractSyntaxName;

	/** String value of Transfer syntax */
	String strTS;

	/** byte value of reason. */
	byte byteReason;

	/**
	 * Retrieves the PresentationContextID
	 * @return byte - value of PresentationContextID
	 */
	public byte getPresContextId() 
	{
		return bPresContextId;
	}

	/**
	 * Sets the PresentationContextID
	 * @param presContextId byte value of PresentationContextID
	 */
	public void setPresContextId(byte presContextId) 
	{
		bPresContextId = presContextId;
	}

	/**
	 * Retrieves the AbstractSyntaxName which shows SOPClassUID
	 * @return String - value of  AbstractSyntaxName
	 */
	public String getAbstractSyntaxName() 
	{
		return strAbstractSyntaxName;
	}

	/**
	 * Sets the AbstractSyntaxName which shows SOPClassUID
	 * @param strAbstractSyntaxName String value of AbstractSyntaxName
	 */
	public void setAbstractSyntaxName(String strAbstractSyntaxName) 
	{
		this.strAbstractSyntaxName = strAbstractSyntaxName;
	}

	/**
	 * Retrieves the TransferSyntax Name
	 * @return String - value of TransferSyntax Name
	 */
	public String getTS() 
	{
		return strTS;
	}

	/**
	 * Sets the TransferSyntax Name
	 * @param strTS String value of TransferSyntax Name
	 */
	public void setTS(String strTS) 
	{
		this.strTS = strTS;
	}

	/**
	 * Retrieves the Reason according to the status of this PresContext.
	 * @return byte - value of Reason
	 */
	public byte getReason()
	{
		return byteReason;
	}

	/**
	 * Sets the Reason according to the status of this PresContext.
	 * @param bReason byte value of Reason
	 */
	public void setReason(byte bReason) 
	{
		this.byteReason = bReason;
	}
}