net.anotheria.anosite.gen.asgenericaction.data.GenericActionDefBuilder Maven / Gradle / Ivy
/**
********************************************************************************
*** GenericActionDefBuilder.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.asgenericaction.data;
import net.anotheria.asg.data.Builder;
public class GenericActionDefBuilder implements Builder{
protected String name;
protected String clazz;
/**
* Sets the value of the name attribute.
*/
public GenericActionDefBuilder name(String aValue){
name = aValue;
return this;
}
/**
* Sets the value of the clazz attribute.
*/
public GenericActionDefBuilder clazz(String aValue){
clazz = aValue;
return this;
}
public GenericActionDef build(){
return GenericActionDefFactory.createGenericActionDef(this);
}
}