All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anotheria.anosite.gen.ascustomaction.data.ActionMappingDefBuilder Maven / Gradle / Ivy

/**
 ********************************************************************************
 *** ActionMappingDefBuilder.java                                             ***
 *** generated by AnoSiteGenerator (ASG), Version: 4.2.2                      ***
 *** Copyright (C) 2005 - 2025 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.ascustomaction.data;

import net.anotheria.asg.data.Builder;
import java.util.List;

public class ActionMappingDefBuilder implements Builder{

	protected String name;
	protected String url;
	protected String parameters;
	protected int command;
	protected List localizationBundles;
	protected String action;
	protected String page;

	/**
	 * Sets the value of the name attribute.
	 */
	public ActionMappingDefBuilder name(String aValue){
		name = aValue;
		return this;
	}

	/**
	 * Sets the value of the url attribute.
	 */
	public ActionMappingDefBuilder url(String aValue){
		url = aValue;
		return this;
	}

	/**
	 * Sets the value of the parameters attribute.
	 */
	public ActionMappingDefBuilder parameters(String aValue){
		parameters = aValue;
		return this;
	}

	/**
	 * Sets the value of the command attribute.
	 */
	public ActionMappingDefBuilder command(int aValue){
		command = aValue;
		return this;
	}

	/**
	 * Sets the value of the localizationBundles attribute.
	 */
	public ActionMappingDefBuilder localizationBundles(List aValue){
		localizationBundles = aValue;
		return this;
	}

	/**
	 * Sets the value of the action attribute.
	 */
	public ActionMappingDefBuilder action(String aValue){
		action = aValue;
		return this;
	}

	/**
	 * Sets the value of the page attribute.
	 */
	public ActionMappingDefBuilder page(String aValue){
		page = aValue;
		return this;
	}


	public ActionMappingDef build(){
		return ActionMappingDefFactory.createActionMappingDef(this);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy