<commit_before>package de.terrestris.shogun2.model.layer.source;

import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.persistence.Entity;

import de.terrestris.shogun2.model.PersistentObject;

/**
 * 
 * Base class for all layer datasources
 * 
 * @author <NAME>
 * @author terrestris GmbH & Co. KG
 *
 */
@Entity
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public abstract class LayerDataSource extends PersistentObject {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String name;
	private String type;
	private String url;
	
	/**
	 * default constructor
	 */
	public LayerDataSource(){
		super();
	}
	
	/**
	 * @param name
	 * @param type
	 * @param url
	 */<commit_msg>use JOINED as inheritance type since there is no deep hierarchy<commit_after>package de.terrestris.shogun2.model.layer.source;

import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.persistence.Entity;

import de.terrestris.shogun2.model.PersistentObject;

/**
 * 
 * Base class for all layer datasources
 * 
 * @author <NAME>
 * @author terrestris GmbH & Co. KG
 *
 */
@Entity
@Inheritance(strategy = InheritanceType.JOINED)
public abstract class LayerDataSource extends PersistentObject {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String name;
	private String type;
	private String url;
	
	/**
	 * default constructor
	 */
	public LayerDataSource(){
		super();
	}
	
	/**
	 * @param name
	 * @param type
	 * @param url
	 */
{'fraction_non_alphanumeric': 0.1055251368840219, 'fraction_numerical': 0.006968641114982578, 'mean_word_length': 4.303430079155673, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7065279', 'n_tokens_mistral': 672, 'n_tokens_neox': 609, 'n_words': 142}