net.anotheria.anosite.gen.assitedata.data.PageAliasBuilder Maven / Gradle / Ivy
/**
********************************************************************************
*** PageAliasBuilder.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 PageAliasBuilder implements Builder{
protected String name;
protected String parameters;
protected int type;
protected List pathes;
protected String targetPage;
/**
* Sets the value of the name attribute.
*/
public PageAliasBuilder name(String aValue){
name = aValue;
return this;
}
/**
* Sets the value of the parameters attribute.
*/
public PageAliasBuilder parameters(String aValue){
parameters = aValue;
return this;
}
/**
* Sets the value of the type attribute.
*/
public PageAliasBuilder type(int aValue){
type = aValue;
return this;
}
/**
* Sets the value of the pathes attribute.
*/
public PageAliasBuilder pathes(List aValue){
pathes = aValue;
return this;
}
/**
* Sets the value of the targetPage attribute.
*/
public PageAliasBuilder targetPage(String aValue){
targetPage = aValue;
return this;
}
public PageAlias build(){
return PageAliasFactory.createPageAlias(this);
}
}