<commit_before>/**
 * The contents of this file are subject to the OpenMRS Public License
 * Version 1.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://license.openmrs.org
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific language governing rights and limitations
 * under the License.
 *
 * Copyright (C) OpenMRS, LLC.  All Rights Reserved.
 */
package org.openmrs;

import java.util.Date;
import java.util.Locale;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

/**
 * ConceptNameTag is a textual tag which can be applied to a ConceptName.
 */
@Root
public class ConceptNameTag extends BaseOpenmrsObject implements Auditable, Voidable, java.io.Serializable {
	
	public static final long serialVersionUID = 33226787L;
	
	// well-known tags
	
	/**
	 * Name to use when nothing else is available.
	 */
	public static final String DEFAULT = "default";
	
	/**
	 * Short name for a concept. Does not indicate any preference for the name.
	 */
	public static final String SHORT = "short";
	
	/**
	 * A different word with similar meaning.
	 */
	public static final String SYNONYM = "synonym";
	
	/**
	 * Preferred name for a language. Can be applied to only one name within the set of names within
	 * a language.
	 */
	public static final String PREFERRED = "preferred";
	
	// Fields
	private Integer conceptNameTagId;
	
	private String tag;
	
	private String description;
	
	private User creator;
	
	private Date dateCreated;
	
	private Boolean voided = false;
	
	private User voidedBy;
	
	private Date dateVoided;
	
	private String voidReason;
	
	// Constructors
	
	/**
	 * Default constructor.
	 */
	public ConceptNameTag() {
	}
	
	/**
	 * Public constructor. Use factory methods to obtain copies of the desired tags.<commit_msg>Deprecate constants in ConceptNameTag - TRUNK-3493 Author: ulakkaraju<commit_after>/**
 * The contents of this file are subject to the OpenMRS Public License
 * Version 1.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://license.openmrs.org
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific language governing rights and limitations
 * under the License.
 *
 * Copyright (C) OpenMRS, LLC.  All Rights Reserved.
 */
package org.openmrs;

import java.util.Date;
import java.util.Locale;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

/**
 * ConceptNameTag is a textual tag which can be applied to a ConceptName.
 */
@Root
public class ConceptNameTag extends BaseOpenmrsObject implements Auditable, Voidable, java.io.Serializable {
	
	public static final long serialVersionUID = 33226787L;
	
	// well-known tags
	
	/**
	 * Name to use when nothing else is available.
	 * @deprecated since OpenMRS 1.7 we use ConceptNameType to mark these types of concept names.
	 */
	@Deprecated
	public static final String DEFAULT = "default";
	
	/**
	 * Short name for a concept. Does not indicate any preference for the name.
	 * @deprecated since OpenMRS 1.7 we use ConceptNameType to mark these types of concept names.
	 */
	@Deprecated
	public static final String SHORT = "short";
	
	/**
	 * A different word with similar meaning.
	 * @deprecated since OpenMRS 1.7 we use ConceptNameType to mark these types of concept names.
	 */
	@Deprecated
	public static final String SYNONYM = "synonym";
	
	/**
	 * Preferred name for a language. Can be applied to only one name within the set of names within
	 * a language.
	 * @deprecated since OpenMRS 1.7 we use ConceptNameType to mark these types of concept names.
	 */
	@Deprecated
	public static final String PREFERRED = "preferred";
	
	// Fields
	private Integer conceptNameTagId;
	
	private String tag;
	
	private String description;
	
	private User creator;
	
	private Date dateCreated;
	
	private Boolean voided = false;
	
	private User voidedBy;
	
	private Date dateVoided;
	
	private String voidReason;
	
	// Constructors
	
	/**
	 * Default constructor.
	 */
	public ConceptNameTag() {
	}
	
	/**
	 * Public constructor. Use factory methods to obtain copies of the desired tags.
{'fraction_non_alphanumeric': 0.075, 'fraction_numerical': 0.007079646017699115, 'mean_word_length': 3.5945121951219514, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7052453', 'n_tokens_mistral': 1330, 'n_tokens_neox': 1191, 'n_words': 545}