net.anotheria.anosite.gen.assitedata.data.PageTemplateBuilder Maven / Gradle / Ivy
/**
********************************************************************************
*** PageTemplateBuilder.java ***
*** generated by AnoSiteGenerator (ASG), Version: 3.2.2 ***
*** Copyright (C) 2005 - 2023 Anotheria.net, www.anotheria.net ***
*** All Rights Reserved. ***
********************************************************************************
*** Don't edit this code, if you aren't sure ***
*** that you do exactly know what you are doing! ***
*** It's better to invest time in the generator, as into the generated code. ***
********************************************************************************
*/
package net.anotheria.anosite.gen.assitedata.data;
import net.anotheria.asg.data.Builder;
import java.util.List;
public class PageTemplateBuilder implements Builder{
protected String name;
protected List mediaLinks;
protected List scripts;
protected List c1first;
protected List c2first;
protected List c3first;
protected List c1last;
protected List c2last;
protected List c3last;
protected List meta;
protected List header;
protected List footer;
protected List localizations;
protected String description;
protected String layout;
protected String site;
/**
* Sets the value of the name attribute.
*/
public PageTemplateBuilder name(String aValue){
name = aValue;
return this;
}
/**
* Sets the value of the mediaLinks attribute.
*/
public PageTemplateBuilder mediaLinks(List aValue){
mediaLinks = aValue;
return this;
}
/**
* Sets the value of the scripts attribute.
*/
public PageTemplateBuilder scripts(List aValue){
scripts = aValue;
return this;
}
/**
* Sets the value of the c1first attribute.
*/
public PageTemplateBuilder c1first(List aValue){
c1first = aValue;
return this;
}
/**
* Sets the value of the c2first attribute.
*/
public PageTemplateBuilder c2first(List aValue){
c2first = aValue;
return this;
}
/**
* Sets the value of the c3first attribute.
*/
public PageTemplateBuilder c3first(List aValue){
c3first = aValue;
return this;
}
/**
* Sets the value of the c1last attribute.
*/
public PageTemplateBuilder c1last(List aValue){
c1last = aValue;
return this;
}
/**
* Sets the value of the c2last attribute.
*/
public PageTemplateBuilder c2last(List aValue){
c2last = aValue;
return this;
}
/**
* Sets the value of the c3last attribute.
*/
public PageTemplateBuilder c3last(List aValue){
c3last = aValue;
return this;
}
/**
* Sets the value of the meta attribute.
*/
public PageTemplateBuilder meta(List aValue){
meta = aValue;
return this;
}
/**
* Sets the value of the header attribute.
*/
public PageTemplateBuilder header(List aValue){
header = aValue;
return this;
}
/**
* Sets the value of the footer attribute.
*/
public PageTemplateBuilder footer(List aValue){
footer = aValue;
return this;
}
/**
* Sets the value of the localizations attribute.
*/
public PageTemplateBuilder localizations(List aValue){
localizations = aValue;
return this;
}
/**
* Sets the value of the description attribute.
*/
public PageTemplateBuilder description(String aValue){
description = aValue;
return this;
}
/**
* Sets the value of the layout attribute.
*/
public PageTemplateBuilder layout(String aValue){
layout = aValue;
return this;
}
/**
* Sets the value of the site attribute.
*/
public PageTemplateBuilder site(String aValue){
site = aValue;
return this;
}
public PageTemplate build(){
return PageTemplateFactory.createPageTemplate(this);
}
}