// Path: src/main/java/se/omegapoint/facepalm/domain/Title.java
// public class Title {
//     private static final int MAN_LENGTH = 100;
// 
//     public final String value;
// 
//     public Title(final String value) {
//         this.value = notBlank(value);
//         isTrue(this.value.length() < MAN_LENGTH, "Title can be maximum 100 characters");
//     }
// }


import se.omegapoint.facepalm.domain.Title;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;
    public Long getNumComments() {
        return numComments;
    }

    public void setNumComments(Long numComments) {
        this.numComments = numComments;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getPoints() {
        return points;
    }

    public void setPoints(Long points) {
        this.points = points;
    }

    public static class Builder {
        private String title;
        private StoredImage storedImage;
        private Long numComments;
        private Long points;

// Path: src/main/java/se/omegapoint/facepalm/domain/Title.java
// public class Title {
//     private static final int MAN_LENGTH = 100;
// 
//     public final String value;
// 
//     public Title(final String value) {
//         this.value = notBlank(value);
//         isTrue(this.value.length() < MAN_LENGTH, "Title can be maximum 100 characters");
//     }
// }


// Path: src/main/java/se/omegapoint/facepalm/infrastructure/db/ImagePost.java
import se.omegapoint.facepalm.domain.Title;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

    public Long getNumComments() {
        return numComments;
    }

    public void setNumComments(Long numComments) {
        this.numComments = numComments;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getPoints() {
        return points;
    }

    public void setPoints(Long points) {
        this.points = points;
    }

    public static class Builder {
        private String title;
        private StoredImage storedImage;
        private Long numComments;
        private Long points;

        public Builder withTitle(final Title title) {