19 package org.turro.publication.stub;
21 import java.util.Date;
23 import org.turro.newsletter.SendingChoice;
24 import org.turro.publication.entity.Newsletter;
25 import org.turro.reflection.stub.DefaultStub;
26 import org.turro.reflection.stub.StubSet;
35 private Date creation;
36 private boolean accepted, staticContent;
37 private String idCategory;
39 private String title, lang,
template;
41 private Set<NewsSectionStub> newsSections =
new StubSet<>(
NewsSectionStub.class);
44 silentlyInitializeValues(newsletter);
60 this.creation = creation;
68 this.accepted = accepted;
76 this.staticContent = staticContent;
84 this.idCategory = idCategory;
116 this.
template =
template;
120 return sendingChoice;
124 this.sendingChoice = sendingChoice;
132 this.newsSections = newsSections;
void setCreation(Date creation)
void setAccepted(boolean accepted)
Set< NewsSectionStub > getNewsSections()
SendingChoice getSendingChoice()
void setStaticContent(boolean staticContent)
void setSendingChoice(SendingChoice sendingChoice)
void setNewsSections(Set< NewsSectionStub > newsSections)
NewsletterStub(Newsletter newsletter)
void setLang(String lang)
void setIdCategory(String idCategory)
void setTemplate(String template)
boolean isStaticContent()
void setTitle(String title)