<commit_before>package io.spotnext.core.management.support.data;

import java.io.Serializable;
import java.lang.annotation.Annotation;
import java.util.ArrayList;
import java.util.List;

import javax.persistence.MappedSuperclass;

//import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import io.spotnext.infrastructure.type.ItemTypePropertyDefinition;

/**
 * This is a generic item type DTO implementation.
 *
 * @author mojo2012
 * @version 1.0
 * @since 1.0
 */
//@SuppressFBWarnings("URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
public class GenericItemDefinitionData implements Serializable {

	private static final long serialVersionUID = 1L;

	protected String typeCode;
	protected String typeName;
	protected String typeClass;
	protected String packageName;
	protected boolean isAbstract;
	protected boolean isPersistable;

	protected List<Annotation> typeAnnotations = new ArrayList<>();

	protected final List<ItemTypePropertyDefinition> properties = new ArrayList<>();
	protected final List<Annotation> propertyAnnotations = new ArrayList<>();

	/**
	 * <p>
	 * addProperty.
	 * </p><commit_msg>fixed spotbugs<commit_after>package io.spotnext.core.management.support.data;

import java.lang.annotation.Annotation;
import java.util.ArrayList;
import java.util.List;

import javax.persistence.MappedSuperclass;

//import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import io.spotnext.infrastructure.type.ItemTypePropertyDefinition;

/**
 * This is a generic item type DTO implementation.
 *
 * @author mojo2012
 * @version 1.0
 * @since 1.0
 */
public class GenericItemDefinitionData {

	protected String typeCode;
	protected String typeName;
	protected String typeClass;
	protected String packageName;
	protected boolean isAbstract;
	protected boolean isPersistable;

	protected List<Annotation> typeAnnotations = new ArrayList<>();

	protected final List<ItemTypePropertyDefinition> properties = new ArrayList<>();
	protected final List<Annotation> propertyAnnotations = new ArrayList<>();

	/**
	 * <p>
	 * addProperty.
	 * </p>
{'fraction_non_alphanumeric': 0.09760858955588092, 'fraction_numerical': 0.008296730112249878, 'mean_word_length': 5.57051282051282, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '988210', 'n_tokens_mistral': 590, 'n_tokens_neox': 566, 'n_words': 149}