<commit_before>package org.openur.module.persistence.rdbms.entity.userstructure;

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

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

@Entity(name="ORGANIZATIONAL_UNIT")
public class POrganizationalUnit
	extends PUserStructureBase
{
	
	// properties:
	@ManyToOne(fetch=FetchType.EAGER, optional=true)
	@JoinColumn(name="SUPER_OU_ID", referencedColumnName="ID")
	private POrganizationalUnit superOu;
	
	@ManyToOne(fetch=FetchType.EAGER, optional=true)
	@JoinColumn(name="ROOT_OU_ID", referencedColumnName="ID")
	private POrganizationalUnit rootOu;
	
	@OneToMany(fetch=FetchType.LAZY, cascade=CascadeType.ALL)
	@JoinColumn(name="ORG_UNIT_MEMBER_ID", referencedColumnName="ID")
	private Set<POrgUnitMember> members = new HashSet<>();
		
	// accessors
	public POrganizationalUnit getSuperOu()
	{
		return superOu;
	}

	void setSuperOu(POrganizationalUnit superOu)
	{
		this.superOu = superOu;
	}

	public POrganizationalUnit getRootOu()
	{
		return rootOu;
	}

	void setRootOu(POrganizationalUnit rootOu)
	{
		this.rootOu = rootOu;
	}

	public Set<POrgUnitMember> getMembers()
	{
		return members;
	}

	void setMembers(Set<POrgUnitMember> members)
	{
		this.members = members;
	}

	// constructor:
	POrganizationalUnit()
	{
		super();
	}
}<commit_msg>new entity organizationalUnit<commit_after>package org.openur.module.persistence.rdbms.entity.userstructure;

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

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

@Entity(name="ORGANIZATIONAL_UNIT")
public class POrganizationalUnit
	extends PUserStructureBase
{
	private static final long serialVersionUID = -8093388723274386419L;

	// properties:
	@ManyToOne(fetch=FetchType.EAGER, optional=true)
	@JoinColumn(name="SUPER_OU_ID", referencedColumnName="ID")
	private POrganizationalUnit superOu;
	
	@ManyToOne(fetch=FetchType.EAGER, optional=true)
	@JoinColumn(name="ROOT_OU_ID", referencedColumnName="ID")
	private POrganizationalUnit rootOu;
	
	@OneToMany(fetch=FetchType.LAZY, cascade=CascadeType.ALL)
	@JoinColumn(name="ORG_UNIT_MEMBER_ID", referencedColumnName="ID")
	private Set<POrgUnitMember> members = new HashSet<>();
	
	@Column(name="NAME", length=50, nullable=false)
  private String name;
	
	@Column(name="SHORT_NAME", length=20)
  private String shortName;
	
	@Column(name="DESCRIPTION")
	private String description;

	@ManyToOne(fetch=FetchType.EAGER)
	@JoinColumn(name="ADDRESS_ID", referencedColumnName="ID")
  private PAddress address;
  
	@Column(name="EMAIL")
  private String emailAddress;
		
	// accessors
	public POrganizationalUnit getSuperOu()
	{
		return superOu;
	}

	void setSuperOu(POrganizationalUnit superOu)
	{
		this.superOu = superOu;
	}

	public POrganizationalUnit getRootOu()
	{
		return rootOu;
	}

	void setRootOu(POrganizationalUnit rootOu)
	{
		this.rootOu = rootOu;
	}

	public Set<POrgUnitMember> getMembers()
	{
		return members;
	}

	void setMembers(Set<POrgUnitMember> members)
	{
		this.members = members;
	}

	public String getName()
	{
		return name;
	}

	void setName(String name)
	{
		this.name = name;
	}

	public String getShortName()
	{
		return shortName;
	}

	void setShortName(String shortName)
	{
		this.shortName = shortName;
	}

	public String getDescription()
	{
		return description;
	}

	void setDescription(String description)
	{
		this.description = description;
	}

	public PAddress getAddress()
	{
		return address;
	}

	void setAddress(PAddress address)
	{
		this.address = address;
	}

	public String getEmailAddress()
	{
		return emailAddress;
	}

	void setEmailAddress(String emailAddress)
	{
		this.emailAddress = emailAddress;
	}

	// constructor:
	POrganizationalUnit()
	{
		super();
	}
}
{'fraction_non_alphanumeric': 0.10666011304988941, 'fraction_numerical': 0.005652494470385844, 'mean_word_length': 5.607142857142857, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '5534121', 'n_tokens_mistral': 1510, 'n_tokens_neox': 1416, 'n_words': 249}