com.github.gentity.demogallery.UserIcon Maven / Gradle / Ivy
package com.github.gentity.demogallery;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
@Entity
@DiscriminatorValue("UICN")
public class UserIcon
extends Picture
implements Serializable
{
@Column(name = "ICON_PUBLIC")
protected Boolean iconPublic;
public static UserIcon.Builder builder() {
return new UserIcon.Builder();
}
public Boolean getIconPublic() {
return iconPublic;
}
public void setIconPublic(Boolean iconPublic) {
this.iconPublic = iconPublic;
}
public static class Builder
extends Picture.Builder
{
private final UserIcon instance = new UserIcon();
public UserIcon build() {
return instance;
}
public UserIcon.Builder iconPublic(Boolean iconPublic) {
instance.iconPublic = iconPublic;
return this;
}
public UserIcon.Builder data(List data) {
instance.data = data;
return this;
}
public UserIcon.Builder keyword(List keyword) {
instance.keyword = keyword;
return this;
}
public UserIcon.Builder title(String title) {
instance.title = title;
return this;
}
public UserIcon.Builder gallery(Gallery gallery) {
instance.gallery = gallery;
return this;
}
public UserIcon.Builder iconUser(User iconUser) {
instance.iconUser = iconUser;
return this;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy