net.anotheria.anosite.gen.aswebdata.data.PagexBuilder Maven / Gradle / Ivy
/**
********************************************************************************
*** PagexBuilder.java ***
*** generated by AnoSiteGenerator (ASG), Version: 2.6.3 ***
*** Copyright (C) 2005 - 2010 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.aswebdata.data;
import net.anotheria.asg.data.Builder;
import java.util.List;
public class PagexBuilder implements Builder{
protected String name;
protected String localizedName;
protected String title;
protected String keywords;
protected String description;
protected List mediaLinks;
protected List scripts;
protected List attributes;
protected List c1;
protected List c2;
protected List c3;
protected List header;
protected List footer;
protected List localizations;
protected boolean httpsonly;
protected String template;
protected String accessOperation;
protected String feature;
/**
* Sets the value of the name attribute.
*/
public PagexBuilder name(String aValue){
name = aValue;
return this;
}
/**
* Sets the value of the localizedName attribute.
*/
public PagexBuilder localizedName(String aValue){
localizedName = aValue;
return this;
}
/**
* Sets the value of the title attribute.
*/
public PagexBuilder title(String aValue){
title = aValue;
return this;
}
/**
* Sets the value of the keywords attribute.
*/
public PagexBuilder keywords(String aValue){
keywords = aValue;
return this;
}
/**
* Sets the value of the description attribute.
*/
public PagexBuilder description(String aValue){
description = aValue;
return this;
}
/**
* Sets the value of the mediaLinks attribute.
*/
public PagexBuilder mediaLinks(List aValue){
mediaLinks = aValue;
return this;
}
/**
* Sets the value of the scripts attribute.
*/
public PagexBuilder scripts(List aValue){
scripts = aValue;
return this;
}
/**
* Sets the value of the attributes attribute.
*/
public PagexBuilder attributes(List aValue){
attributes = aValue;
return this;
}
/**
* Sets the value of the c1 attribute.
*/
public PagexBuilder c1(List aValue){
c1 = aValue;
return this;
}
/**
* Sets the value of the c2 attribute.
*/
public PagexBuilder c2(List aValue){
c2 = aValue;
return this;
}
/**
* Sets the value of the c3 attribute.
*/
public PagexBuilder c3(List aValue){
c3 = aValue;
return this;
}
/**
* Sets the value of the header attribute.
*/
public PagexBuilder header(List aValue){
header = aValue;
return this;
}
/**
* Sets the value of the footer attribute.
*/
public PagexBuilder footer(List aValue){
footer = aValue;
return this;
}
/**
* Sets the value of the localizations attribute.
*/
public PagexBuilder localizations(List aValue){
localizations = aValue;
return this;
}
/**
* Sets the value of the httpsonly attribute.
*/
public PagexBuilder httpsonly(boolean aValue){
httpsonly = aValue;
return this;
}
/**
* Sets the value of the template attribute.
*/
public PagexBuilder template(String aValue){
template = aValue;
return this;
}
/**
* Sets the value of the accessOperation attribute.
*/
public PagexBuilder accessOperation(String aValue){
accessOperation = aValue;
return this;
}
/**
* Sets the value of the feature attribute.
*/
public PagexBuilder feature(String aValue){
feature = aValue;
return this;
}
public Pagex build(){
return PagexFactory.createPagex(this);
}
}