/*******************************************************************************
 * Copyright 2014 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 in.cdac.medinfo.csnotk.csnolib.model;

/**
 * Abstract class RefSetMember derived from {@link Derivative}
 * Each Refset shall be added as a separate class that shall inherit this class 
 *
 */
public class RefSetMember extends Derivative
{
	/**
	 * Unique identifier for a Refset
	 */
	protected String refSetId;
	/**
	 * Refers to id of a component. It is mostly a SNOMED CT Concept Id
	 */
	protected String referencedComponentId;
	
	protected String acceptabilityId;
	
	
	public String getAcceptabilityId() {
		return acceptabilityId;
	}
	public void setAcceptabilityId(String acceptabilityId) {
		this.acceptabilityId = acceptabilityId;
	}
	/**
	 * Returns id of the Refset
	 * @return id of a Refset 
	 */
	public String getRefSetId() {
		return refSetId;
	}
	/**
	 * Sets the Refset Id
	 * @param refSetId
	 * 				 Id of a Refset 
	 */
	public void setRefSetId(String refSetId) {
		this.refSetId = refSetId;
	}
	/**
	 * Returns the Id of the SNOMED CT Component related to the Refset member
	 * @return referenced Component Id
	 */
	public String getReferencedComponentId() {
		return referencedComponentId;
	}
	/**
	 * Sets the referencedComponentId
	 * @param referencedComponentId
	 * 								 id of the SNOMED CT Component 
	 * 	that is related to the Refset member
	 */
	public void setReferencedComponentId(String referencedComponentId) {
		this.referencedComponentId = referencedComponentId;
	}
}
