<commit_before>package models;

import com.github.jmkgreen.morphia.annotations.Embedded;
import com.github.jmkgreen.morphia.annotations.Entity;
import com.github.jmkgreen.morphia.annotations.Id;
import org.bson.types.ObjectId;
import play.data.validation.Constraints;

import java.util.List;

/**
 * @author jonathan
 */
@Entity("threads")
public class Thread extends Post {
	@Id
	public ObjectId id;

	@Constraints.Required
	public String title;
	public String slug;

	@Embedded
	public List<Post> posts;
}<commit_msg>Adds get/setId methods, stubs getUrl method<commit_after>package models;

import com.github.jmkgreen.morphia.annotations.Embedded;
import com.github.jmkgreen.morphia.annotations.Entity;
import com.github.jmkgreen.morphia.annotations.Id;
import org.bson.types.ObjectId;
import play.data.validation.Constraints;

import java.util.List;

/**
 * @author jonathan
 */
@Entity("threads")
public class Thread extends Post {
	@Id
	private ObjectId id;

	@Constraints.Required
	public String title;
	public String slug;

	@Embedded
	public List<Post> posts;

	public void setId(String id) {
		this.id = new ObjectId(id);
	}

	public String getId() {
		if( null != id ) {
			return id.toString();
		}
		return null;
	}

	public String getUrl() {
		return "";
	}

}
{'fraction_non_alphanumeric': 0.11547525530243519, 'fraction_numerical': 0.0, 'mean_word_length': 4.612334801762114, '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': '622419', 'n_tokens_mistral': 452, 'n_tokens_neox': 424, 'n_words': 100}