<commit_before>package be.peopleware.facebookdemo.semantics;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

import org.ppwcode.vernacular.persistence_III.jpa.AbstractIntegerIdIntegerVersionedPersistentBean;

@NamedQueries({
  @NamedQuery(name  = "findMoviesByFacebookUser",
              query = "SELECT m FROM Movie AS m WHERE m.$facebookUserId LIKE :fbuid ")
})
@Entity
@Table(name="movie")
public class Movie extends AbstractIntegerIdIntegerVersionedPersistentBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4545746267436384281L;

	
  /*<property name="facebook user">
  -------------------------------------------------------------------------*/
	public void setFacebookUserId(long id) {
		$facebookUserId = id;
	}
	
	public long getFacebookUserId() {
		return $facebookUserId;
	}
	
	@Column(name="fbuid")
	private long $facebookUserId = 0;
	/*</property*/
	
  /*<property name="name">
  -------------------------------------------------------------------------*/
  public String getTitle() {
    return $title;
  }

  public void setTitle(String title) {
    $title = title;
  }

  @Column(name="title",nullable=false)
  private String $title = null;

  /*</property>*/

  /*<property name="media type">
  -------------------------------------------------------------------------*/
  public MediaType getMediaType() {
  	return $mediaType;
  }
  
  public void setMediaType(MediaType newType) {
  	$mediaType = newType;
  }
  
  @Column(name="mediatype", nullable=false)
  private MediaType $mediaType = MediaType.OTHER;

  /*</property>*/

  /*<property name="rating">
  -------------------------------------------------------------------------*/
  public int getRating() {
  	return $rating;
  }
  
  public void setRating(int rating) {
  	if (rating < 0) {
  		$rating = 0;
  	} else if (rating > 5) {
  		$rating = 5;
  	} else {
  		$rating = rating;
  	}
  }
  
  private int $rating = 0;
  /*</property>*/
  
}<commit_msg>Formatted code<commit_after>package be.peopleware.facebookdemo.semantics;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

import org.ppwcode.vernacular.persistence_III.jpa.AbstractIntegerIdIntegerVersionedPersistentBean;

@NamedQueries({
  @NamedQuery(name  = "findMoviesByFacebookUser",
              query = "SELECT m FROM Movie AS m WHERE m.$facebookUserId LIKE :fbuid ")
})
@Entity
@Table(name="movie")
public class Movie extends AbstractIntegerIdIntegerVersionedPersistentBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4545746267436384281L;

	/*
	 * <property name="facebook user">
	 * -------------------------------------------------------------------------
	 */
	public void setFacebookUserId(long id) {
		$facebookUserId = id;
	}

	public long getFacebookUserId() {
		return $facebookUserId;
	}

	@Column(name = "fbuid")
	private long $facebookUserId = 0;

	/* </property */

	/*
	 * <property name="name">
	 * -------------------------------------------------------------------------
	 */
	public String getTitle() {
		return $title;
	}

	public void setTitle(String title) {
		$title = title;
	}

	@Column(name = "title", nullable = false)
	private String $title = null;

	/* </property> */

	/*
	 * <property name="media type">
	 * -------------------------------------------------------------------------
	 */
	public MediaType getMediaType() {
		return $mediaType;
	}

	public void setMediaType(MediaType newType) {
		$mediaType = newType;
	}

	@Column(name = "mediatype", nullable = false)
	private MediaType $mediaType = MediaType.OTHER;

	/* </property> */

	/*
	 * <property name="rating">
	 * -------------------------------------------------------------------------
	 */
	public int getRating() {
		return $rating;
	}

	public void setRating(int rating) {
		if (rating < 0) {
			$rating = 0;
		} else if (rating > 5) {
			$rating = 5;
		} else {
			$rating = rating;
		}
	}

	private int $rating = 0;
	/* </property> */

}
{'fraction_non_alphanumeric': 0.2523946360153257, 'fraction_numerical': 0.011973180076628353, 'mean_word_length': 2.0781134856300665, 'pattern_counts': {'":': 0, '<': 21, '<?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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4631283', 'n_tokens_mistral': 1292, 'n_tokens_neox': 1195, 'n_words': 269}