<commit_before>/**
 * 
 */
package eu.indenica.events;

/**
 * This class represents monitoring events emitted by integrated platforms
 * through their {@link PlatformAdapter}s and/or {@link MonitoringQuery}s.
 * 
 * <p>
 * An event is a considered a POJO, so developers can easily define custom
 * events that suite their specific needs.
 * 
 * <p>
 * The repository will hold a collection of all known event types and can be
 * queried for them.
 * 
 * @author <NAME>
 */
// @XmlSeeAlso()
public class Event {

	protected String eventType;
	
	public Event() { }
	
	public Event(String eventType) {
		this.eventType = eventType;
	}
	
	public String getEventType() {
		return eventType;
	}
	
	/**
	 * @param eventType the eventType to set
	 */
	public void setEventType(String eventType) {
		this.eventType = eventType;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {<commit_msg>Event must be `Serializable` to work w/ `ObjectMessage`<commit_after>/**
 * 
 */
package eu.indenica.events;

import java.io.Serializable;

/**
 * This class represents monitoring events emitted by integrated platforms
 * through their {@link PlatformAdapter}s and/or {@link MonitoringQuery}s.
 * 
 * <p>
 * An event is considered a POJO, so developers can easily define custom
 * events that suite their specific needs.
 * 
 * <p>
 * The repository will hold a collection of all known event types and can be
 * queried for them.
 * 
 * @author <NAME>
 */
// @XmlSeeAlso()
public class Event implements Serializable {
	private static final long serialVersionUID = -4694958384338278522L;
	protected String eventType;
	
	public Event() { }
	
	public Event(String eventType) {
		this.eventType = eventType;
	}
	
	public String getEventType() {
		return eventType;
	}
	
	/**
	 * @param eventType the eventType to set
	 */
	public void setEventType(String eventType) {
		this.eventType = eventType;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
{'fraction_non_alphanumeric': 0.10622529644268774, 'fraction_numerical': 0.009387351778656126, 'mean_word_length': 3.612756264236902, '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': '4928991', 'n_tokens_mistral': 660, 'n_tokens_neox': 601, 'n_words': 210}