net.anotheria.anosite.gen.asgenericdata.data.GenericGuardDefBuilder Maven / Gradle / Ivy
/**
********************************************************************************
*** GenericGuardDefBuilder.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.asgenericdata.data;
import net.anotheria.asg.data.Builder;
public class GenericGuardDefBuilder implements Builder{
protected String name;
protected String clazz;
protected String parameter1;
protected String parameter2;
protected String parameter3;
protected String parameter4;
protected String parameter5;
protected String description;
/**
* Sets the value of the name attribute.
*/
public GenericGuardDefBuilder name(String aValue){
name = aValue;
return this;
}
/**
* Sets the value of the clazz attribute.
*/
public GenericGuardDefBuilder clazz(String aValue){
clazz = aValue;
return this;
}
/**
* Sets the value of the parameter1 attribute.
*/
public GenericGuardDefBuilder parameter1(String aValue){
parameter1 = aValue;
return this;
}
/**
* Sets the value of the parameter2 attribute.
*/
public GenericGuardDefBuilder parameter2(String aValue){
parameter2 = aValue;
return this;
}
/**
* Sets the value of the parameter3 attribute.
*/
public GenericGuardDefBuilder parameter3(String aValue){
parameter3 = aValue;
return this;
}
/**
* Sets the value of the parameter4 attribute.
*/
public GenericGuardDefBuilder parameter4(String aValue){
parameter4 = aValue;
return this;
}
/**
* Sets the value of the parameter5 attribute.
*/
public GenericGuardDefBuilder parameter5(String aValue){
parameter5 = aValue;
return this;
}
/**
* Sets the value of the description attribute.
*/
public GenericGuardDefBuilder description(String aValue){
description = aValue;
return this;
}
public GenericGuardDef build(){
return GenericGuardDefFactory.createGenericGuardDef(this);
}
}