net.anotheria.anosite.gen.aswizarddata.data.WizardDefBuilder Maven / Gradle / Ivy
/**
********************************************************************************
*** WizardDefBuilder.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.aswizarddata.data;
import net.anotheria.asg.data.Builder;
import java.util.List;
public class WizardDefBuilder implements Builder{
protected String name;
protected List wizardSteps;
protected String wizardCancelRedirectUrl;
protected String wizardFinishRedirectUrl;
protected String handler;
protected String accessOperation;
/**
* Sets the value of the name attribute.
*/
public WizardDefBuilder name(String aValue){
name = aValue;
return this;
}
/**
* Sets the value of the wizardSteps attribute.
*/
public WizardDefBuilder wizardSteps(List aValue){
wizardSteps = aValue;
return this;
}
/**
* Sets the value of the wizardCancelRedirectUrl attribute.
*/
public WizardDefBuilder wizardCancelRedirectUrl(String aValue){
wizardCancelRedirectUrl = aValue;
return this;
}
/**
* Sets the value of the wizardFinishRedirectUrl attribute.
*/
public WizardDefBuilder wizardFinishRedirectUrl(String aValue){
wizardFinishRedirectUrl = aValue;
return this;
}
/**
* Sets the value of the handler attribute.
*/
public WizardDefBuilder handler(String aValue){
handler = aValue;
return this;
}
/**
* Sets the value of the accessOperation attribute.
*/
public WizardDefBuilder accessOperation(String aValue){
accessOperation = aValue;
return this;
}
public WizardDef build(){
return WizardDefFactory.createWizardDef(this);
}
}