net.anotheria.anosite.gen.assitedata.data.EntryPointBuilder Maven / Gradle / Ivy
/**
********************************************************************************
*** EntryPointBuilder.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 EntryPointBuilder implements Builder{
protected String name;
protected int type;
protected boolean defaultEntry;
protected List domains;
protected String startPage;
protected String startSite;
/**
* Sets the value of the name attribute.
*/
public EntryPointBuilder name(String aValue){
name = aValue;
return this;
}
/**
* Sets the value of the type attribute.
*/
public EntryPointBuilder type(int aValue){
type = aValue;
return this;
}
/**
* Sets the value of the defaultEntry attribute.
*/
public EntryPointBuilder defaultEntry(boolean aValue){
defaultEntry = aValue;
return this;
}
/**
* Sets the value of the domains attribute.
*/
public EntryPointBuilder domains(List aValue){
domains = aValue;
return this;
}
/**
* Sets the value of the startPage attribute.
*/
public EntryPointBuilder startPage(String aValue){
startPage = aValue;
return this;
}
/**
* Sets the value of the startSite attribute.
*/
public EntryPointBuilder startSite(String aValue){
startSite = aValue;
return this;
}
public EntryPoint build(){
return EntryPointFactory.createEntryPoint(this);
}
}