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

/**
 * The Class contains all the association constants.
 */
public class AssociationConstants  
{

	/*
	 * Constants used for reason field in AssociationACK PresentationContext.
	 */
	/** The Constant ASSOCIATION_REASON_ACCEPTANCE. */
	public static final byte ASSOCIATION_REASON_ACCEPTANCE = 0;
	
	/** The Constant ASSOCIATION_REASON_USER_REJECTION. */
	public static final byte ASSOCIATION_REASON_USER_REJECTION = 1;
	
	/** The Constant ASSOCIATION_REASON_NO_REASON. */
	public static final byte ASSOCIATION_REASON_NO_REASON = 2;
	
	/** The Constant ASSOCIATION_REASON_ABSTRACT_SYNTAX_NOT_SUPPORTED. */
	public static final byte ASSOCIATION_REASON_ABSTRACT_SYNTAX_NOT_SUPPORTED = 3;
	
	/** The Constant ASSOCIATION_REASON_TRANSFER_SYNTAX_NOT_SUPPORTED. */
	public static final byte ASSOCIATION_REASON_TRANSFER_SYNTAX_NOT_SUPPORTED = 4;
	
	/*
	 * Constants used for populating DefaultAssociation instance members using external file. 
	 */
	/** The Constant DEF_ASSOCIATION_PROTOCOL_VERSION. */
	public static final String DEF_ASSOCIATION_PROTOCOL_VERSION = "PROTOCOLVERSION";
	
	/** The Constant DEF_ASSOCIATION_CALLED_AE_TITLE. */
	public static final String DEF_ASSOCIATION_CALLED_AE_TITLE = "CALLEDAETITLE";
	
	/** The Constant DEF_ASSOCIATION_CALLING_AE_TITLE. */
	public static final String DEF_ASSOCIATION_CALLING_AE_TITLE = "CALLINGAETITLE";
	
	/** The Constant DEF_ASSOCIATION_APPLICATION_CONTEXT_NAME. */
	public static final String DEF_ASSOCIATION_APPLICATION_CONTEXT_NAME = "APPLICATIONCONTEXTNAME";
	
	/** The Constant DEF_ASSOCIATION_PRESENTATION_CONTEXT. */
	public static final String DEF_ASSOCIATION_PRESENTATION_CONTEXT = "PRESENTATIONCONTEXT";
	
	/** The Constant DEF_ASSOCIATION_PRESENTATION_CONTEXT_ID. */
	public static final String DEF_ASSOCIATION_PRESENTATION_CONTEXT_ID = "PRESENTATIONCONTEXTID";
	
	/** The Constant DEF_ASSOCIATION_ABSTRACT_SYNTAX. */
	public static final String DEF_ASSOCIATION_ABSTRACT_SYNTAX = "ABSTRACTSYNTAX";
	
	/** The Constant DEF_ASSOCIATION_TRANSFER_SYNTAX. */
	public static final String DEF_ASSOCIATION_TRANSFER_SYNTAX = "TRANSFERSYNTAX";
	
	/** The Constant DEF_ASSOCIATION_USER_INFO. */
	public static final String DEF_ASSOCIATION_USER_INFO = "USERINFO";
	
	/** The Constant DEF_ASSOCIATION_MAX_LENGTH. */
	public static final String DEF_ASSOCIATION_MAX_LENGTH = "MAXLENGTH";
	
	/** The Constant DEF_ASSOCIATION_IMPL_CLASS_UID. */
	public static final String DEF_ASSOCIATION_IMPL_CLASS_UID = "IMPLCLASSUID";
	
	/** The Constant DEF_ASSOCIATION_IMPL_VERSION_NAME. */
	public static final String DEF_ASSOCIATION_IMPL_VERSION_NAME = "IMPLVERSIONNAME";
	
	/** The Constant DEF_ASSOCIATION_ASYNC_OPS_WINDOW. */
	public static final String DEF_ASSOCIATION_ASYNC_OPS_WINDOW = "ASYNCOPSWINDOW";
	
	/** The Constant DEF_ASSOCIATION_MAX_NUM_OPS_INVOKED. */
	public static final String DEF_ASSOCIATION_MAX_NUM_OPS_INVOKED = "MAXNUMOPSINVOKED";
	
	/** The Constant DEF_ASSOCIATION_MAX_NUM_OPS_PERFORMED. */
	public static final String DEF_ASSOCIATION_MAX_NUM_OPS_PERFORMED = "MAXNUMOPSPERFORMED";
	
	/** The Constant DEF_ASSOCIATION_SCUSCP_ROLE_SELECTION. */
	public static final String DEF_ASSOCIATION_SCUSCP_ROLE_SELECTION = "SCUSCPROLESELECTION";
	
	/** The Constant DEF_ASSOCIATION_UID_LENGTH. */
	public static final String DEF_ASSOCIATION_UID_LENGTH = "UIDLENGTH";
	
	/** The Constant DEF_ASSOCIATION_SCUSCP_ROLE. */
	public static final String DEF_ASSOCIATION_SCUSCP_ROLE = "ROLE";
	
	/** The Constant DEF_ASSOCIATION_SOP_CLASS_UID. */
	public static final String DEF_ASSOCIATION_SOP_CLASS_UID = "SOPCLASSUID";
}
