net.anotheria.anosite.gen.asresourcedata.data.TextResourceBuilder Maven / Gradle / Ivy
/**
********************************************************************************
*** TextResourceBuilder.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.asresourcedata.data;
import net.anotheria.asg.data.Builder;
public class TextResourceBuilder implements Builder{
protected String name;
protected String value;
/**
* Sets the value of the name attribute.
*/
public TextResourceBuilder name(String aValue){
name = aValue;
return this;
}
/**
* Sets the value of the value attribute.
*/
public TextResourceBuilder value(String aValue){
value = aValue;
return this;
}
public TextResource build(){
return TextResourceFactory.createTextResource(this);
}
}