<commit_before>/*
 * oxCore is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
 *
 * Copyright (c) 2014, Gluu
 */

package org.xdi.ldap.model;

import java.util.HashMap;
import java.util.Map;

import org.gluu.site.ldap.persistence.annotation.LdapEnum;

/**
 * Boolean value
 * 
 * @author <NAME> Date: 11.20.2010
 */
public enum GluuBoolean implements LdapEnum {

	DISABLED(false, "disabled", "Disabled"), ENABLED(true, "enabled", "Enabled"), FALSE(false, "false", "False"), TRUE(true, "true", "True"),
	ACTIVE(true, "active", "Active");

	private boolean booleanValue;
	private String value;
	private String displayName;

	private static Map<String, GluuBoolean> mapByValues = new HashMap<String, GluuBoolean>();

	static {
		for (GluuBoolean enumType : values()) {
			mapByValues.put(enumType.getValue(), enumType);
		}
	}<commit_msg>- Added "INACTIVE" also<commit_after>/*
 * oxCore is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
 *
 * Copyright (c) 2014, Gluu
 */

package org.xdi.ldap.model;

import java.util.HashMap;
import java.util.Map;

import org.gluu.site.ldap.persistence.annotation.LdapEnum;

/**
 * Boolean value
 * 
 * @author <NAME> Date: 11.20.2010
 */
public enum GluuBoolean implements LdapEnum {

	DISABLED(false, "disabled", "Disabled"), ENABLED(true, "enabled", "Enabled"), FALSE(false, "false", "False"), TRUE(true, "true", "True"),
	INACTIVE(false, "inactive", "Inactive"), ACTIVE(true, "active", "Active");

	private boolean booleanValue;
	private String value;
	private String displayName;

	private static Map<String, GluuBoolean> mapByValues = new HashMap<String, GluuBoolean>();

	static {
		for (GluuBoolean enumType : values()) {
			mapByValues.put(enumType.getValue(), enumType);
		}
	}
{'fraction_non_alphanumeric': 0.14986225895316804, 'fraction_numerical': 0.017630853994490357, 'mean_word_length': 4.858064516129033, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '7056149', 'n_tokens_mistral': 624, 'n_tokens_neox': 591, 'n_words': 158}