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

/**
 * Represent C-Store Response status.
 */
public enum EnumCStoreStatus implements IStatus
{
	/** short value representing warning status*/
	WARNING_COERCION_OF_DATA_ELEMENTS((short)0xB000),

	/** short value representing warning status*/
	WARNING_DATASET_NOT_MATCH_SOP_CLASS((short)0xB007),

	/** short value representing warning status*/
	WARNING_ELEMENTS_DISCARDED((short)0xB006),

	/** short value representing failure status*/
	FAILURE_SOP_CLASS_NOT_SUPPORTED((short)0x0122),
	
	/** short value representing processing failure status*/
	PROCESSING_FAILURE((short)0x0110),

	/** short value representing success status*/
	SUCCESS((short)0x0000),
	
	/** short value representing processing failure due to Parsing failed*/
	UNABLE_TO_PROCESS_PARSING_FAILED((short)0xC000);

	private short value;

	EnumCStoreStatus(short shValue)
	{
		value = shValue;
	}

	/**
	 * Returns the short value of this enum.
	 * @return - returns short value of C-Store Response Status.
	 */
	public short getValue()
	{
		return value;
	}
}
