net.anotheria.anosite.gen.aswebdata.data.BoxBuilder Maven / Gradle / Ivy
/**
********************************************************************************
*** BoxBuilder.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.aswebdata.data;
import net.anotheria.asg.data.Builder;
import java.util.List;
public class BoxBuilder implements Builder{
protected String name;
protected String content;
protected List mediaLinks;
protected List scripts;
protected List localizations;
protected List subboxes;
protected String cssClass;
protected String parameter1;
protected String parameter2;
protected String parameter3;
protected String parameter4;
protected String parameter5;
protected String parameter6;
protected String parameter7;
protected String parameter8;
protected String parameter9;
protected String parameter10;
protected List guards;
protected List attributes;
protected String type;
protected String handler;
protected String accessOperation;
protected String feature;
/**
* Sets the value of the name attribute.
*/
public BoxBuilder name(String aValue){
name = aValue;
return this;
}
/**
* Sets the value of the content attribute.
*/
public BoxBuilder content(String aValue){
content = aValue;
return this;
}
/**
* Sets the value of the mediaLinks attribute.
*/
public BoxBuilder mediaLinks(List aValue){
mediaLinks = aValue;
return this;
}
/**
* Sets the value of the scripts attribute.
*/
public BoxBuilder scripts(List aValue){
scripts = aValue;
return this;
}
/**
* Sets the value of the localizations attribute.
*/
public BoxBuilder localizations(List aValue){
localizations = aValue;
return this;
}
/**
* Sets the value of the subboxes attribute.
*/
public BoxBuilder subboxes(List aValue){
subboxes = aValue;
return this;
}
/**
* Sets the value of the cssClass attribute.
*/
public BoxBuilder cssClass(String aValue){
cssClass = aValue;
return this;
}
/**
* Sets the value of the parameter1 attribute.
*/
public BoxBuilder parameter1(String aValue){
parameter1 = aValue;
return this;
}
/**
* Sets the value of the parameter2 attribute.
*/
public BoxBuilder parameter2(String aValue){
parameter2 = aValue;
return this;
}
/**
* Sets the value of the parameter3 attribute.
*/
public BoxBuilder parameter3(String aValue){
parameter3 = aValue;
return this;
}
/**
* Sets the value of the parameter4 attribute.
*/
public BoxBuilder parameter4(String aValue){
parameter4 = aValue;
return this;
}
/**
* Sets the value of the parameter5 attribute.
*/
public BoxBuilder parameter5(String aValue){
parameter5 = aValue;
return this;
}
/**
* Sets the value of the parameter6 attribute.
*/
public BoxBuilder parameter6(String aValue){
parameter6 = aValue;
return this;
}
/**
* Sets the value of the parameter7 attribute.
*/
public BoxBuilder parameter7(String aValue){
parameter7 = aValue;
return this;
}
/**
* Sets the value of the parameter8 attribute.
*/
public BoxBuilder parameter8(String aValue){
parameter8 = aValue;
return this;
}
/**
* Sets the value of the parameter9 attribute.
*/
public BoxBuilder parameter9(String aValue){
parameter9 = aValue;
return this;
}
/**
* Sets the value of the parameter10 attribute.
*/
public BoxBuilder parameter10(String aValue){
parameter10 = aValue;
return this;
}
/**
* Sets the value of the guards attribute.
*/
public BoxBuilder guards(List aValue){
guards = aValue;
return this;
}
/**
* Sets the value of the attributes attribute.
*/
public BoxBuilder attributes(List aValue){
attributes = aValue;
return this;
}
/**
* Sets the value of the type attribute.
*/
public BoxBuilder type(String aValue){
type = aValue;
return this;
}
/**
* Sets the value of the handler attribute.
*/
public BoxBuilder handler(String aValue){
handler = aValue;
return this;
}
/**
* Sets the value of the accessOperation attribute.
*/
public BoxBuilder accessOperation(String aValue){
accessOperation = aValue;
return this;
}
/**
* Sets the value of the feature attribute.
*/
public BoxBuilder feature(String aValue){
feature = aValue;
return this;
}
public Box build(){
return BoxFactory.createBox(this);
}
}