<commit_before>/*
 *    Copyright 2016 West Coast Informatics, LLC
 */
package com.wci.tt.jpa.services.handlers;

import java.util.HashSet;
import java.util.Set;

import com.wci.tt.helpers.DataContextType;

/**
 * The Class AbstractProviderHandler.
 * 
 * To be extended by handlers that support specific contexts.
 */
public abstract class AbstractContextHandler {

  /** The provider type. */
  protected DataContextType providerType = DataContextType.UNKNOWN;

  /** The provider customers. */
  protected Set<String> providerCustomers = new HashSet<>();

  /** The provider semantic types. */
  protected Set<String> providerSemanticTypes = new HashSet<>();

  /** The provider specialties. */
  protected Set<String> providerSpecialties = new HashSet<>();

  /** The provider terminologies. */
  protected Set<String> providerTerminologies = new HashSet<>();

  /** The provider versions. */
  protected Set<String> providerVersions = new HashSet<>();

  /** The information model name. */
  protected String informationModelName = null;

  /**
   * Returns the provider type.
   *
   * @return the provider type
   */
  public final DataContextType getProviderType() {
    return providerType;
  }

  /**
   * Sets the provider type.
   *
   * @param providerType the provider type
   */
  public final void setProviderType(DataContextType providerType) {
    this.providerType = providerType;
  }

  /**
   * Returns the provider customers.
   *
   * @return the provider customers
   */
  public final Set<String> getProviderCustomers() {
    return providerCustomers;
  }

  /**
   * Sets the provider customers.
   *
   * @param providerCustomers the provider customers
   */
  public final void setProviderCustomers(Set<String> providerCustomers) {
    this.providerCustomers = providerCustomers;
  }

  /**
   * Returns the provider semantic types.
   *
   * @return the provider semantic types
   */
  public final Set<String> getProviderSemanticTypes() {
    return providerSemanticTypes;
  }

  /**
   * Sets the provider semantic types.
   *
   * @param providerSemanticTypes the provider semantic types
   */
  public final void setProviderSemanticTypes(Set<String> providerSemanticTypes) {
    this.providerSemanticTypes = providerSemanticTypes;
  }

  /**
   * Returns the provider specialties.
   *
   * @return the provider specialties
   */
  public final Set<String> getProviderSpecialties() {
    return providerSpecialties;
  }

  /**
   * Sets the provider specialties.
   *
   * @param providerSpecialties the provider specialties
   */
  public final void setProviderSpecialties(Set<String> providerSpecialties) {
    this.providerSpecialties = providerSpecialties;
  }

  /**
   * Returns the provider terminologies.
   *
   * @return the provider terminologies
   */
  public final Set<String> getProviderTerminologies() {
    return providerTerminologies;
  }

  /**
   * Sets the provider terminologies.
   *
   * @param providerTerminologies the provider terminologies
   */
  public final void setProviderTerminologies(Set<String> providerTerminologies) {
    this.providerTerminologies = providerTerminologies;
  }

  /**
   * Returns the provider versions.
   *
   * @return the provider versions
   */
  public final Set<String> getProviderVersions() {
    return providerVersions;
  }

  /**
   * Sets the provider versions.
   *
   * @param providerVersions the provider versions
   */
  public final void setProviderVersions(Set<String> providerVersions) {
    this.providerVersions = providerVersions;
  }

  /**
   * Returns the information model name.
   *
   * @return the information model name
   */
  public final String getInformationModelName() {
    return informationModelName;
  }

  /**
   * Sets the information model name.
   *
   * @param informationModelName the information model name
   */
  public final void setInformationModelName(String informationModelName) {
    this.informationModelName = informationModelName;
  }
}
<commit_msg>Clearer naming of abstract classes fields based on its purpose<commit_after>/*
 *    Copyright 2016 West Coast Informatics, LLC
 */
package com.wci.tt.jpa.services.handlers;

import java.util.HashSet;
import java.util.Set;

import com.wci.tt.helpers.DataContextType;

/**
 * The Class AbstractContextHandler.
 * 
 * To be extended by handlers that support specific contexts.
 */
public abstract class AbstractContextHandler {

  /** The supported type. */
  protected DataContextType supportedType = DataContextType.UNKNOWN;

  /** The supported customers. */
  protected Set<String> supportedCustomers = new HashSet<>();

  /** The supported semantic types. */
  protected Set<String> supportedSemanticTypes = new HashSet<>();

  /** The supported specialties. */
  protected Set<String> supportedSpecialties = new HashSet<>();

  /** The supported terminologies. */
  protected Set<String> supportedTerminologies = new HashSet<>();

  /** The supported versions. */
  protected Set<String> supportedVersions = new HashSet<>();

  /** The supported info model name. */
  protected String supportedInfoModelName = null;

  /**
   * Returns the supported type.
   *
   * @return the supported type
   */
  public final DataContextType getSupportedType() {
    return supportedType;
  }

  /**
   * Sets the supported type.
   *
   * @param supportedType the supported type
   */
  public final void setSupportedType(DataContextType supportedType) {
    this.supportedType = supportedType;
  }

  /**
   * Returns the supported customers.
   *
   * @return the supported customers
   */
  public final Set<String> getSupportedCustomers() {
    return supportedCustomers;
  }

  /**
   * Sets the supported customers.
   *
   * @param supportedCustomers the supported customers
   */
  public final void setSupportedCustomers(Set<String> supportedCustomers) {
    this.supportedCustomers = supportedCustomers;
  }

  /**
   * Returns the supported semantic types.
   *
   * @return the supported semantic types
   */
  public final Set<String> getSupportedSemanticTypes() {
    return supportedSemanticTypes;
  }

  /**
   * Sets the supported semantic types.
   *
   * @param supportedSemanticTypes the supported semantic types
   */
  public final void setSupportedSemanticTypes(Set<String> supportedSemanticTypes) {
    this.supportedSemanticTypes = supportedSemanticTypes;
  }

  /**
   * Returns the supported specialties.
   *
   * @return the supported specialties
   */
  public final Set<String> getSupportedSpecialties() {
    return supportedSpecialties;
  }

  /**
   * Sets the supported specialties.
   *
   * @param supportedSpecialties the supported specialties
   */
  public final void setSupportedSpecialties(Set<String> supportedSpecialties) {
    this.supportedSpecialties = supportedSpecialties;
  }

  /**
   * Returns the supported terminologies.
   *
   * @return the supported terminologies
   */
  public final Set<String> getSupportedTerminologies() {
    return supportedTerminologies;
  }

  /**
   * Sets the supported terminologies.
   *
   * @param supportedTerminologies the supported terminologies
   */
  public final void setSupportedTerminologies(Set<String> supportedTerminologies) {
    this.supportedTerminologies = supportedTerminologies;
  }

  /**
   * Returns the supported versions.
   *
   * @return the supported versions
   */
  public final Set<String> getSupportedVersions() {
    return supportedVersions;
  }

  /**
   * Sets the supported versions.
   *
   * @param supportedVersions the supported versions
   */
  public final void setSupportedVersions(Set<String> supportedVersions) {
    this.supportedVersions = supportedVersions;
  }

  /**
   * Returns the supported info model name.
   *
   * @return the supported info model name
   */
  public final String getSupportedInfoModelName() {
    return supportedInfoModelName;
  }

  /**
   * Sets the supported info model name.
   *
   * @param supportedInfoModelName the supported info model name
   */
  public final void setSupportedInfoModelName(String supportedInfoModelName) {
    this.supportedInfoModelName = supportedInfoModelName;
  }
}
{'fraction_non_alphanumeric': 0.09057437407952872, 'fraction_numerical': 0.0009818360333824251, 'mean_word_length': 3.492282249173098, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '2020115', 'n_tokens_mistral': 2222, 'n_tokens_neox': 2156, 'n_words': 624}